From e27ddb31170c0c96c2c5c689669e68e753b3e4b5 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Wed, 23 Nov 2016 18:03:38 -0600 Subject: [PATCH] Remove .la files; package pkgconfig files in -devel. --- cyrus-imapd.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec index cdb62f3..fc45c5b 100644 --- a/cyrus-imapd.spec +++ b/cyrus-imapd.spec @@ -257,6 +257,9 @@ do find $ddir -type f -exec chmod -x {} \; done +# Remove pointless libtool archives +rm %buildroot/%_libdir/*.la + # Remove installed but not packaged files rm %buildroot/%cyrexecdir/pop3proxyd find %buildroot -name "perllocal.pod" -exec rm {} \; @@ -426,8 +429,9 @@ fi %attr(0640,root,%{cyrusgroup}) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssl_pem_file} %files devel -%{_includedir}/cyrus -%{_mandir}/man3/imclient.3* +%_includedir/cyrus +%_libdir/pkgconfig/*.pc +%_mandir/man3/imclient.3* %files utils %license COPYING