From 56697ba94b2234da2be5ff5b90a61655e3105a908b24a8b271b30efb4ea5e98f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 2 Oct 2018 10:01:49 +0000 Subject: [PATCH] - Fix the libname dependency in devel pkg, typo after libname change OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/xerces-c?expand=0&rev=28 --- xerces-c.changes | 6 ++++++ xerces-c.spec | 15 ++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/xerces-c.changes b/xerces-c.changes index 6612510..b70634f 100644 --- a/xerces-c.changes +++ b/xerces-c.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 2 10:01:02 UTC 2018 - Tomáš Chvátal + +- Fix the libname dependency in devel pkg, typo after libname + change + ------------------------------------------------------------------- Thu Sep 27 06:47:42 UTC 2018 - Tomáš Chvátal diff --git a/xerces-c.spec b/xerces-c.spec index 17c07f7..ea11d49 100644 --- a/xerces-c.spec +++ b/xerces-c.spec @@ -16,6 +16,7 @@ # +%define libname libxerces-c-3_2 Name: xerces-c Version: 3.2.2 Release: 0 @@ -55,13 +56,13 @@ faithful to the XML 1.0 recommendation and associated standards ( DOM This package contains just documentation. -%package -n libxerces-c-3_2 +%package -n %{libname} Summary: Shared libraries for Xerces-c - a validating XML parser Group: Productivity/Publishing/XML Provides: Xerces-c = %{version} Obsoletes: Xerces-c < %{version} -%description -n libxerces-c-3_2 +%description -n %{libname} Xerces-C is a validating XML parser written in a portable subset of C++. Xerces-C makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, @@ -74,7 +75,7 @@ This package contains shared libraries. %package -n libxerces-c-devel Summary: A validating XML parser - Development Files Group: Development/Libraries/C and C++ -Requires: libxerces-c-3_1 = %{version} +Requires: %{libname} = %{version} Provides: Xerces-c-devel = %{version} Obsoletes: Xerces-c-devel < %{version} Provides: libXerces-c-devel = %{version} @@ -104,8 +105,8 @@ make %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print %fdupes -s doc -%post -n libxerces-c-3_2 -p /sbin/ldconfig -%postun -n libxerces-c-3_2 -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig %files %license LICENSE @@ -117,8 +118,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %doc CREDITS KEYS NOTICE README %doc doc/* -%files -n libxerces-c-3_2 -%{_libdir}/libxerces-c-3.2.so +%files -n %{libname} +%{_libdir}/libxerces-c-*.so %files -n libxerces-c-devel %{_includedir}/xercesc