From 652b7038c898c11f0e88a1d8622e3fd451cd2ea28a6f92391657a0302b87bb1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 16 Jan 2013 19:50:09 +0000 Subject: [PATCH] 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 --- libxslt-python.changes | 6 ++++++ libxslt-python.spec | 30 +++++++++++++++--------------- libxslt.spec | 2 +- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/libxslt-python.changes b/libxslt-python.changes index 8592aa6..aee84f6 100644 --- a/libxslt-python.changes +++ b/libxslt-python.changes @@ -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 diff --git a/libxslt-python.spec b/libxslt-python.spec index 8b1e362..d9c1509 100644 --- a/libxslt-python.spec +++ b/libxslt-python.spec @@ -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 diff --git a/libxslt.spec b/libxslt.spec index 0cb5ce8..e1b052c 100644 --- a/libxslt.spec +++ b/libxslt.spec @@ -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