From 8caba3bfa7f5e626e72d7702300cf782f6406b87 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 25 Nov 2016 18:42:09 +0100 Subject: [PATCH] - drop .la file (.pc exists) --- lxc.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lxc.spec b/lxc.spec index 5413bab..8d839de 100644 --- a/lxc.spec +++ b/lxc.spec @@ -204,6 +204,8 @@ install -d $RPM_BUILD_ROOT{%{configpath},%{configpath}snap,/var/{cache,log}/lxc} %{__make} -C doc install \ DESTDIR=$RPM_BUILD_ROOT +%{__rm} $RPM_BUILD_ROOT%{_libdir}/liblxc.la + %{__rm} -r $RPM_BUILD_ROOT%{_docdir} # apparmor profiles are not packaged, remove to avoid packagers confusion @@ -393,7 +395,6 @@ fi %attr(755,root,root) %{_libdir}/liblxc.so %{_includedir}/lxc %{_pkgconfigdir}/lxc.pc -%{_libdir}/liblxc.la %if %{with lua} %files -n lua-lxc -- 2.43.0