Accepting request 148761 from devel:libraries:c_c++

The Requires: tag in file libxslt-python.spec has to be listed after the version definition. Otherwise the variable %{version} ist not read correctly. (forwarded request 148760 from dl8fcl)

OBS-URL: https://build.opensuse.org/request/show/148761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxslt?expand=0&rev=41
This commit is contained in:
Stephan Kulow 2013-01-17 08:46:54 +00:00 committed by Git OBS Bridge
commit 5bd7cad621
3 changed files with 22 additions and 16 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 16 08:57:51 UTC 2013 - dl8fcl@darc.de
- in spec file moved the "BuildRequires:" and "Requires:" tags
behind "Version:" tag to have them read the variable correctly.
-------------------------------------------------------------------
Thu Dec 6 08:17:12 UTC 2012 - pascal.bleser@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package libxslt-python
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,20 +17,6 @@
Name: libxslt-python
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: libxml2-python
BuildRequires: python-devel
BuildRequires: python-xml
%if 0%{?suse_version} >= 1220
BuildRequires: libxslt-tools
Requires: libxslt1 = %{version}
%else
BuildRequires: libxslt1
Requires: libxslt1 = %{version}
%endif
Summary: Python Bindings for libxslt
License: MIT
Group: Development/Libraries/Python
@ -47,6 +33,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
Url: http://xmlsoft.org/XSLT/
#BuildArch: noarch
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: libxml2-python
BuildRequires: python-devel
BuildRequires: python-xml
%if 0%{?suse_version} >= 1220
BuildRequires: libxslt-tools
Requires: libxslt1 = %{version}
%else
BuildRequires: libxslt1
Requires: libxslt1 = %{version}
%endif
%description
The libxslt-python package contains a module that permits applications

View File

@ -1,7 +1,7 @@
#
# spec file for package libxslt
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed