From b02ef1ae79d46da07f2d6592daec16d1b56c1f8f Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 4 Jan 2021 15:49:06 +0100 Subject: [PATCH] - 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 \ -- 2.44.0