SPECS: python-cssutils.spec - cssutils provides encutils - fix license (LGP...
wiget
wiget at pld-linux.org
Sun Mar 22 16:12:03 CET 2009
Author: wiget Date: Sun Mar 22 15:12:03 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cssutils provides encutils
- fix license (LGPL v3+)
- release 2
---- Files affected:
SPECS:
python-cssutils.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SPECS/python-cssutils.spec
diff -u SPECS/python-cssutils.spec:1.10 SPECS/python-cssutils.spec:1.11
--- SPECS/python-cssutils.spec:1.10 Sat Mar 14 23:01:18 2009
+++ SPECS/python-cssutils.spec Sun Mar 22 16:11:57 2009
@@ -1,11 +1,12 @@
# $Revision$, $Date$
%define module cssutils
+%define encutils_ver 0.8.3.1
Summary: A CSS Cascading Style Sheets library for Python
Summary(pl.UTF-8): Biblioteka CSS (Cascading Style Sheets) dla Pythona
Name: python-%{module}
Version: 0.9.6a2
-Release: 1
-License: LGPL v2.1
+Release: 2
+License: LGPL v3+
Group: Libraries/Python
Source0: http://cheeseshop.python.org/packages/source/c/cssutils/%{module}-%{version}.zip
# Source0-md5: dd824710a5915debf177afa1dc8767e3
@@ -16,6 +17,8 @@
BuildRequires: rpmbuild(macros) >= 1.174
BuildRequires: unzip
%pyrequires_eq python-modules
+Provides: python-encutils = %{encutils_ver}
+Obsoletes: python-encutils < %{encutils_ver}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -29,6 +32,11 @@
%prep
%setup -q -n %{module}-%{version}
+eval $(PYTHONPATH=src python -c "from encutils import VERSION;print 'VERSION=%%s' %% VERSION")
+if [ $VERSION != %{encutils_ver} ]; then
+ echo "Please set encutils_ver to $VERSION"
+ exit 1
+fi
%build
python setup.py build
@@ -74,6 +82,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2009/03/22 15:11:57 wiget
+- cssutils provides encutils
+- fix license (LGPL v3+)
+- release 2
+
Revision 1.10 2009/03/14 22:01:18 duddits
- up to 0.9.6a2
- more %files
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-cssutils.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list