set pkg-config dir to proper value to get it built on AArch64

This commit is contained in:
Peter Robinson 2014-04-23 09:43:00 +01:00
parent 0a1c43c400
commit 21d9195d8a
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: libcap
Version: 2.24
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Library for getting and setting POSIX.1e capabilities
#Source: http://mirror.linux.org.au/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.bz2
Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.gz
@ -46,7 +46,8 @@ make install RAISE_SETFCAP=no \
LIBDIR=%{buildroot}/%{_libdir} \
SBINDIR=%{buildroot}/%{_sbindir} \
INCDIR=%{buildroot}/%{_includedir} \
MANDIR=%{buildroot}/%{_mandir}/
MANDIR=%{buildroot}/%{_mandir}/ \
PKGCONFIGDIR=%{buildroot}/%{_libdir}/pkgconfig/
mkdir -p %{buildroot}/%{_mandir}/man{2,3,8}
mv -f doc/*.3 %{buildroot}/%{_mandir}/man3/
cp -f %{SOURCE1} %{buildroot}/%{_mandir}/man8/
@ -79,6 +80,9 @@ chmod +x %{buildroot}/%{_libdir}/*.so.*
rm -rf %{buildroot}
%changelog
* Wed Apr 23 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.24-3
- set pkg-config dir to proper value to get it built on AArch64
* Wed Apr 16 2014 Karsten Hopp <karsten@redhat.com> 2.24-2
- fix URL and license