summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/boost.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec
index 545f0e379a..1d61290852 100644
--- a/packaging/boost.spec
+++ b/packaging/boost.spec
@@ -564,7 +564,8 @@ find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
chmod -x ../%{name}_%{short_version}_pdf/*.pdf
%endif
-rm -f %{buildroot}%{_libdir}/*.a
+#rm -f %{buildroot}%{_libdir}/*.a
+ls %{buildroot}%{_libdir}/*.a | grep -v libboost_unit_test_framework.a | xargs rm
#symlink dupes
%fdupes %buildroot
@@ -755,6 +756,8 @@ rm -f %{buildroot}%{_libdir}/*.a
%license LICENSE_1_0.txt
%{_libdir}/libboost_prg_exec_monitor*.so.*
%{_libdir}/libboost_unit_test_framework*.so.*
+%{_libdir}/libboost_unit_test_framework.a
+
%files -n boost-program-options
%manifest %{name}.manifest