- 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
This commit is contained in:
Tomáš Chvátal 2018-10-02 10:01:49 +00:00 committed by Git OBS Bridge
parent 62365853c1
commit 56697ba94b
2 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 2 10:01:02 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Fix the libname dependency in devel pkg, typo after libname
change
-------------------------------------------------------------------
Thu Sep 27 06:47:42 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -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