diff --git a/libxslt-python.spec b/libxslt-python.spec index b57ada3..37f3869 100644 --- a/libxslt-python.spec +++ b/libxslt-python.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: libxslt-python BuildRequires: libgcrypt-devel BuildRequires: libgpg-error-devel diff --git a/libxslt.changes b/libxslt.changes index 7ef2970..7a538f8 100644 --- a/libxslt.changes +++ b/libxslt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Mar 17 17:38:20 UTC 2012 - jengelh@medozas.de + +- Make sure to follow shlib policy; put tools in a separate package + like done in libxml2 + ------------------------------------------------------------------- Wed Jan 4 18:44:16 UTC 2012 - jengelh@medozas.de diff --git a/libxslt.spec b/libxslt.spec index 6938cd9..0c61ede 100644 --- a/libxslt.spec +++ b/libxslt.spec @@ -14,8 +14,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: libxslt Version: 1.1.26 Release: 0 @@ -53,16 +51,10 @@ to be a relatively fast processor. It also includes full support for the EXSLT set of extension functions as well as some common extensions present in other XSLT engines. -The package comes with xsltproc, a command line interface to the XSLT -engine. - %package -n libxslt1 Summary: XSL Transformation Library License: LGPL-2.1+ Group: System/Libraries -Provides: libxslt = %{version}-%{release} -Obsoletes: libxslt <= %{version}-%{release} -Provides: xsltproc = %{version}-%{release} %description -n libxslt1 This C library allows you to transform XML files into other XML files @@ -92,12 +84,25 @@ Requires: %{name}1 = %{version} Requires: libgcrypt-devel Requires: libgpg-error-devel Requires: glibc-devel +Requires: %name-tools = %version #libxml is automatically required with pkgconfig %description devel This package contains all necessary include files and libraries needed to develop applications that require these. +%package tools +Summary: Extended Stylesheet Language (XSL) Transformation utilities +License: MIT and GPL-2.0+ +Group: Development/Tools +Provides: xsltproc = %version-%release +# O/P added during 12.2 dev: +Provides: libxslt = %version-%release +Obsoletes: libxslt <= %version-%release + +%description tools +This package contains xsltproc, a command line interface to the XSLT engine. + %prep %setup -q %patch0 @@ -131,10 +136,7 @@ find %{buildroot} -type f -name "*.la" -print -delete %files -n %{name}1 %defattr(-, root, root) -%doc AUTHORS NEWS README COPYING* Copyright TODO FEATURES %{_libdir}/lib*.so.* -%{_bindir}/xsltproc -%doc %{_mandir}/man1/xsltproc.* %files devel %defattr(-, root, root) @@ -149,4 +151,10 @@ find %{buildroot} -type f -name "*.la" -print -delete # not available doc/*.png %doc doc/*.html doc/html doc/tutorial doc/*.gif +%files tools +%defattr(-,root,root) +%doc AUTHORS NEWS README COPYING* Copyright TODO FEATURES +%{_bindir}/xsltproc +%doc %{_mandir}/man1/xsltproc.* + %changelog