From 6e34e8b382418f75bded0b476997be3cf27f7be8ccd7a3bda7b2dc0091e6f89f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20=C4=8C=C3=AD=C5=BEek?= Date: Mon, 19 Mar 2012 10:34:25 +0000 Subject: [PATCH] Accepting request 109823 from home:jengelh:branches:devel:libraries:c_c++ - Make sure to follow shlib policy; put tools in a separate package like done in libxml2 OBS-URL: https://build.opensuse.org/request/show/109823 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxslt?expand=0&rev=37 --- libxslt-python.spec | 1 - libxslt.changes | 6 ++++++ libxslt.spec | 30 +++++++++++++++++++----------- 3 files changed, 25 insertions(+), 12 deletions(-) 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