Accepting request 688387 from home:olh:branches:network:utilities

- Install pkgconfig into libdir instead of datadir

OBS-URL: https://build.opensuse.org/request/show/688387
OBS-URL: https://build.opensuse.org/package/show/network:utilities/netcontrol?expand=0&rev=28
This commit is contained in:
Olaf Hering 2019-04-11 07:55:30 +00:00 committed by Git OBS Bridge
parent ca7854e63f
commit 2d2b0314ab
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 25 16:58:41 UTC 2019 - olaf@aepfle.de
- Install pkgconfig into libdir instead of datadir
-------------------------------------------------------------------
Fri May 20 15:30:41 UTC 2016 - mt@suse.de

View File

@ -114,7 +114,7 @@ export CFLAGS="-W -Wall $RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -n libnetcontrol0
@ -132,6 +132,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%doc README COPYING.LGPL COPYING.GPL ChangeLog.git
%{_libdir}/*.so
%{_includedir}/*
%{_datadir}/pkgconfig/netcontrol.pc
%{_libdir}/pkgconfig/netcontrol.pc
%changelog