Build with $RPM_OPT_FLAGS
This commit is contained in:
parent
a8c11d3879
commit
ec965e3a55
@ -4,7 +4,7 @@
|
||||
Summary: NSS module to look up users in /usr/lib/passwd too
|
||||
Name: nss-altfiles
|
||||
Version: 2.18.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
#VCS: https://github.com/aperezdc/nss-altfiles
|
||||
Source0: https://github.com/aperezdc/nss-altfiles/archive/v%{version}.tar.gz
|
||||
# From pull request: https://github.com/marineam/nss-altfiles/commit/dda5073238b88b4537f2d2707b0ef67bdd11fe06
|
||||
@ -23,7 +23,7 @@ in %{prefix}/lib/passwd, similarly, groups in %{prefix}/lib/group.
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
env CFLAGS=%{_optflags} ./configure --prefix=%{_prefix} --libdir=%{_libdir}
|
||||
./configure --prefix=%{_prefix} --libdir=%{_libdir} CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -38,6 +38,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Wed May 28 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.18.1-3
|
||||
- Build with $RPM_OPT_FLAGS
|
||||
|
||||
* Tue Apr 08 2014 Colin Walters <walters@verbum.org>
|
||||
- Revert patch to link to libc, causes a dep on GLIBC_PRIVATE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user