Accepting request 148760 from home:dl8fcl

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

OBS-URL: https://build.opensuse.org/request/show/148760
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxslt?expand=0&rev=43
This commit is contained in:
Ismail Dönmez 2013-01-16 19:50:09 +00:00 committed by Git OBS Bridge
parent 7fe81b5bce
commit 652b7038c8
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