Fix installation with prefix != /usr

This commit is contained in:
Owen W. Taylor 2018-09-27 10:41:55 -04:00
parent 41ee88b15c
commit 98744d97b3

View File

@ -6,7 +6,7 @@
Summary: An authorization framework
Name: polkit
Version: 0.115
Release: 4%{?dist}
Release: 5%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/polkit
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
@ -115,7 +115,10 @@ export LDFLAGS='-pie -Wl,-z,now -Wl,-z,relro'
make V=1
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' \
typelibsdir=%{_libdir}/girepository-1.0 \
girdir=%{_datadir}/gir-1.0
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@ -182,6 +185,9 @@ exit 0
%{_libdir}/girepository-1.0/*.typelib
%changelog
* Thu Sep 27 2018 Owen Taylor <otaylor@redhat.com> - 0.115-5
- Fix installation with prefix != /usr
* Mon Aug 13 2018 Jan Rybar <jrybar@redhat.com> - 0.115-4
- Leaking zombie processess started by rules