Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0fe6eab9b8 |
1 changed files with 8 additions and 3 deletions
11
ustr.spec
11
ustr.spec
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
Name: ustr
|
||||
Version: 1.0.4
|
||||
Release: 25%{?dist}
|
||||
Release: 26%{?dist}
|
||||
Summary: String library, very low memory overhead, simple to import
|
||||
Group: System Environment/Libraries
|
||||
License: MIT or LGPLv2+ or BSD
|
||||
|
|
@ -88,11 +88,13 @@ Requires: %{name}-debug = %{version}-%{release}
|
|||
%patch0 -p1
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} all-shared CFLAGS="${CFLAGS:-%optflags} -fgnu89-inline" %{policy_cflags}
|
||||
make %{?_smp_mflags} all-shared CFLAGS="${CFLAGS:-%optflags} -fgnu89-inline" \
|
||||
LDFLAGS="$RPM_LD_FLAGS" %{policy_cflags}
|
||||
|
||||
%check
|
||||
%if %{?chk}%{!?chk:1}
|
||||
make %{?_smp_mflags} check CFLAGS="${CFLAGS:-%optflags} -fgnu89-inline" %{policy_cflags}
|
||||
make %{?_smp_mflags} check CFLAGS="${CFLAGS:-%optflags} -fgnu89-inline"
|
||||
LDFLAGS="$RPM_LD_FLAGS" %{policy_cflags}
|
||||
%endif
|
||||
|
||||
%install
|
||||
|
|
@ -150,6 +152,9 @@ make $@ %{ustr_make_install} prefix=%{_prefix} \
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 1.0.4-26
|
||||
- Use LDFLAGS from redhat-rpm-config
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue