[packages/pugixml] - ensure cmake shared target files are packaged; release 2

qboosh qboosh at pld-linux.org
Mon Jan 4 15:49:08 CET 2021


commit b02ef1ae79d46da07f2d6592daec16d1b56c1f8f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jan 4 15:49:06 2021 +0100

    - ensure cmake shared target files are packaged; release 2

 pugixml.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/pugixml.spec b/pugixml.spec
index 4c0ec5f..85ec2ce 100644
--- a/pugixml.spec
+++ b/pugixml.spec
@@ -6,7 +6,7 @@ Summary:	C++ XML processing library
 Summary(pl.UTF-8):	Biblioteka C++ do przetwarzania XML-a
 Name:		pugixml
 Version:	1.11.4
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries
 #Source0Download: http://pugixml.org/
@@ -87,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with static_libs}
 %{__make} -C build-static install \
 	DESTDIR=$RPM_BUILD_ROOT
+
+# force packaging cmake configs for shared target
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/pugixml
 %endif
 
 %{__make} -C build install \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pugixml.git/commitdiff/b02ef1ae79d46da07f2d6592daec16d1b56c1f8f



More information about the pld-cvs-commit mailing list