[python-cssutils] Update to 0.9.9

Kevin Fenzi kevin at fedoraproject.org
Fri May 4 20:41:18 UTC 2012


commit 9d13686275d6e9f90f9ca5bc36bfdd8e6b2fca99
Author: Kevin Fenzi <kevin at scrye.com>
Date:   Fri May 4 14:41:15 2012 -0600

    Update to 0.9.9

 .gitignore           |    1 +
 python-cssutils.spec |   18 +++++++++++-------
 sources              |    2 +-
 3 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 41b7120..6d917b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 cssutils-0.9.6.zip
 /cssutils-0.9.7b3.zip
 /cssutils-0.9.7.zip
+/cssutils-0.9.9.zip
diff --git a/python-cssutils.spec b/python-cssutils.spec
index 0e82a4a..7b314c5 100644
--- a/python-cssutils.spec
+++ b/python-cssutils.spec
@@ -2,12 +2,12 @@
 
 Summary: CSS Cascading Style Sheets library for Python
 Name: python-cssutils
-Version: 0.9.7
-Release: 3%{?dist}
+Version: 0.9.9
+Release: 1%{?dist}
 License: LGPLv3+
 Group: Development/Libraries
 URL: http://cthedot.de/cssutils/
-Source: http://cssutils.googlecode.com/files/cssutils-0.9.7.zip
+Source0: https://bitbucket.org/cthedot/cssutils/downloads/cssutils-%{version}.zip
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 # Required at runtime for the css* executables
 Requires: python-setuptools
@@ -31,7 +31,7 @@ build CSS Cascading Style Sheets.
 
 
 %prep
-%setup -q -n cssutils-0.9.7
+%setup -q -n cssutils-%{version}
 # Convert all CRLF files, keeping original timestamps
 find . -type f -exec dos2unix -k {} \;
 
@@ -45,7 +45,8 @@ find . -type f -exec dos2unix -k {} \;
 %{__python} setup.py install \
     --single-version-externally-managed \
     -O1 --skip-build --root %{buildroot}
-
+# Don't ship tests. TODO: run tests in check section. 
+%{__rm} -rf %{buildroot}/%{python_sitelib}/tests
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -55,7 +56,7 @@ find . -type f -exec dos2unix -k {} \;
 # The sources have some 2755 mode directories (as of 0.9.5.1), fix here
 #defattr(-,root,root,0755)
 %defattr(-,root,root,-)
-%doc CHANGELOG.txt COPYING* README.txt
+%doc COPYING* README.txt
 %{_bindir}/csscapture
 %{_bindir}/csscombine
 %{_bindir}/cssparse
@@ -65,10 +66,13 @@ find . -type f -exec dos2unix -k {} \;
 
 %files doc
 %defattr(-,root,root,-)
-%doc docs/* examples/
+%doc examples/
 
 
 %changelog
+* Fri May 04 2012 Kevin Fenzi <kevin at scrye.com> - 0.9.9-1
+- Update to 0.9.9
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.7-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index e81de23..acc0d9b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-69e93d7edb30365dd6712d62df0850ed  cssutils-0.9.7.zip
+5f8ea824cc0e0518b574da20e895be08  cssutils-0.9.9.zip


More information about the scm-commits mailing list