[python-cssmin] Fix building on f20 and higher

Martin Krizek mkrizek at fedoraproject.org
Tue Oct 15 11:09:41 UTC 2013


commit 84b3547f81a32ad1417de55d50ff3f1ffe8ec1dc
Author: Martin Krizek <mkrizek at redhat.com>
Date:   Tue Oct 15 13:08:57 2013 +0200

    Fix building on f20 and higher

 python-cssmin.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/python-cssmin.spec b/python-cssmin.spec
index 2c42365..fe14991 100644
--- a/python-cssmin.spec
+++ b/python-cssmin.spec
@@ -6,7 +6,7 @@
 
 Name:       python-cssmin
 Version:    0.1.4
-Release:    5%{?dist}
+Release:    6%{?dist}
 Summary:    A Python port of the YUI CSS compression algorithm
 
 Group:      Development/Libraries
@@ -47,6 +47,7 @@ sed '1{\@^#!/usr/bin/env python at d}' src/cssmin.py > src/cssmin.py.new &&
 touch -r  src/cssmin.py src/cssmin.py.new &&
 mv src/cssmin.py.new src/cssmin.py
 
+sed -i 's/^from distribute_setup/#/' setup.py
 
 %build
 %{__python} setup.py build
@@ -91,6 +92,9 @@ cd src && \
 
 
 %changelog
+* Tue Oct 15 2013 Martin Krizek <mkrizek at redhat.com> - 0.1.4-6
+- Fix building on f20 and higher
+
 * Wed Oct 09 2013 Martin Krizek <mkrizek at redhat.com> - 0.1.4-5
 - Add python3-setuptools as BuildRequires
 


More information about the scm-commits mailing list