Accepting request 124719 from devel:libraries:c_c++
add macro soname, fix self obsoletion (forwarded request 124707 from computersalat) OBS-URL: https://build.opensuse.org/request/show/124719 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxslt?expand=0&rev=39
This commit is contained in:
commit
2678bbf9cc
@ -3,5 +3,5 @@ libxslt1
|
|||||||
libxslt-devel
|
libxslt-devel
|
||||||
requires -libxslt-<targettype>
|
requires -libxslt-<targettype>
|
||||||
requires "libxslt1-<targettype> = <version>"
|
requires "libxslt1-<targettype> = <version>"
|
||||||
obsoletes "libxslt-devel-<targettype> <= <version>"
|
obsoletes "libxslt-devel-<targettype> < <version>"
|
||||||
provides "libxslt-devel-<targettype> = <version>"
|
provides "libxslt-devel-<targettype> = <version>"
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libxslt-python
|
Name: libxslt-python
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
BuildRequires: libgpg-error-devel
|
BuildRequires: libgpg-error-devel
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 25 12:23:57 UTC 2012 - chris@computersalat.de
|
||||||
|
|
||||||
|
- add macro "soname" %{name}1
|
||||||
|
- fix "self obsoletion"
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 17 17:38:20 UTC 2012 - jengelh@medozas.de
|
Sat Mar 17 17:38:20 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
41
libxslt.spec
41
libxslt.spec
@ -14,12 +14,23 @@
|
|||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libxslt
|
Name: libxslt
|
||||||
|
%define soname %{name}1
|
||||||
Version: 1.1.26
|
Version: 1.1.26
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: XSL Transformation Library
|
Summary: XSL Transformation Library
|
||||||
License: MIT and GPL-2.0+
|
License: MIT and GPL-2.0+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
#
|
||||||
|
Url: http://xmlsoft.org/XSLT/
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Source2: baselibs.conf
|
||||||
|
Source3: xslt-config.1.gz
|
||||||
|
Patch0: %{name}-1.1.24-no-net-autobuild.patch
|
||||||
|
Patch1: libxslt-config-fixes.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
BuildRequires: libgpg-error-devel
|
BuildRequires: libgpg-error-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -29,14 +40,6 @@ BuildRequires: pkg-config
|
|||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libxslt-64bit
|
Obsoletes: libxslt-64bit
|
||||||
%endif
|
%endif
|
||||||
Url: http://xmlsoft.org/XSLT/
|
|
||||||
#
|
|
||||||
Source: %{name}-%{version}.tar.bz2
|
|
||||||
Source2: baselibs.conf
|
|
||||||
Source3: xslt-config.1.gz
|
|
||||||
Patch0: %{name}-1.1.24-no-net-autobuild.patch
|
|
||||||
Patch1: libxslt-config-fixes.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This C library allows you to transform XML files into other XML files
|
This C library allows you to transform XML files into other XML files
|
||||||
@ -51,12 +54,12 @@ to be a relatively fast processor. It also includes full support for
|
|||||||
the EXSLT set of extension functions as well as some common extensions
|
the EXSLT set of extension functions as well as some common extensions
|
||||||
present in other XSLT engines.
|
present in other XSLT engines.
|
||||||
|
|
||||||
%package -n libxslt1
|
%package -n %{soname}
|
||||||
Summary: XSL Transformation Library
|
Summary: XSL Transformation Library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libxslt1
|
%description -n %{soname}
|
||||||
This C library allows you to transform XML files into other XML files
|
This C library allows you to transform XML files into other XML files
|
||||||
(or HTML, text, and more) using the standard XSLT stylesheet
|
(or HTML, text, and more) using the standard XSLT stylesheet
|
||||||
transformation mechanism.
|
transformation mechanism.
|
||||||
@ -78,13 +81,13 @@ License: LGPL-2.1+
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libxslt-devel-64bit
|
Obsoletes: %{name}-devel-64bit
|
||||||
%endif
|
%endif
|
||||||
Requires: %{name}1 = %{version}
|
Requires: %{name}-tools = %version
|
||||||
|
Requires: %{soname} = %{version}
|
||||||
|
Requires: glibc-devel
|
||||||
Requires: libgcrypt-devel
|
Requires: libgcrypt-devel
|
||||||
Requires: libgpg-error-devel
|
Requires: libgpg-error-devel
|
||||||
Requires: glibc-devel
|
|
||||||
Requires: %name-tools = %version
|
|
||||||
#libxml is automatically required with pkgconfig
|
#libxml is automatically required with pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -97,8 +100,8 @@ License: MIT and GPL-2.0+
|
|||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Provides: xsltproc = %version-%release
|
Provides: xsltproc = %version-%release
|
||||||
# O/P added during 12.2 dev:
|
# O/P added during 12.2 dev:
|
||||||
Provides: libxslt = %version-%release
|
Obsoletes: %{name} < %version-%release
|
||||||
Obsoletes: libxslt <= %version-%release
|
Provides: %{name} = %version-%release
|
||||||
|
|
||||||
%description tools
|
%description tools
|
||||||
This package contains xsltproc, a command line interface to the XSLT engine.
|
This package contains xsltproc, a command line interface to the XSLT engine.
|
||||||
@ -130,11 +133,11 @@ install -ma=r '-t%{buildroot}%{_mandir}/man1' '%{SOURCE3}'
|
|||||||
#kill all "la" files
|
#kill all "la" files
|
||||||
find %{buildroot} -type f -name "*.la" -print -delete
|
find %{buildroot} -type f -name "*.la" -print -delete
|
||||||
|
|
||||||
%post -n %{name}1 -p /sbin/ldconfig
|
%post -n %{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{name}1 -p /sbin/ldconfig
|
%postun -n %{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{name}1
|
%files -n %{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user