Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Florian Weimer
0fe6eab9b8 Use LDFLAGS from redhat-rpm-config 2018-02-23 16:09:42 +01:00

View file

@ -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