[packages/ustr] - check-files cleanup (unwanted ustr-debug library)
qboosh
qboosh at pld-linux.org
Sun Oct 25 18:00:42 CET 2015
commit 712ace93575e611fa5bf0e0b70ae82e652e5c844
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Oct 25 18:00:36 2015 +0100
- check-files cleanup (unwanted ustr-debug library)
ustr.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/ustr.spec b/ustr.spec
index 5211959..7e7ad4f 100644
--- a/ustr.spec
+++ b/ustr.spec
@@ -72,6 +72,10 @@ libustr=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libustr-1.0.so.*.*.*)
mv $RPM_BUILD_ROOT%{_libdir}/libustr-1.0.so.* $RPM_BUILD_ROOT/%{_lib}
ln -sf /%{_lib}/$libustr $RPM_BUILD_ROOT%{_libdir}/libustr.so
+# debug library, we don't want it
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libustr-debug* \
+ $RPM_BUILD_ROOT%{_pkgconfigdir}/ustr-debug.pc
+
# clean -devel docdir
%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-devel-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ustr.git/commitdiff/712ace93575e611fa5bf0e0b70ae82e652e5c844
More information about the pld-cvs-commit
mailing list