[python-cssmin] Update to 0.2.0
Martin Krizek
mkrizek at fedoraproject.org
Mon Feb 10 12:11:52 UTC 2014
commit 734c819cd24df237c9b0e1742435ec1ab6665160
Author: Martin Krizek <mkrizek at redhat.com>
Date: Mon Feb 10 13:12:26 2014 +0100
Update to 0.2.0
- Add setuptools as requires
- Rename /usr/bin/cssmin (#1048622)
.gitignore | 1 +
python-cssmin-fixed-import-for-python3.patch | 29 --------------------------
python-cssmin-rename-bin.patch | 22 +++++++++++++++++++
python-cssmin.spec | 20 +++++++++++------
sources | 2 +-
5 files changed, 37 insertions(+), 37 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 50ff443..d3721e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/cssmin-0.1.4.tar.gz
+/cssmin-0.2.0.tar.gz
diff --git a/python-cssmin-rename-bin.patch b/python-cssmin-rename-bin.patch
new file mode 100644
index 0000000..2e5374f
--- /dev/null
+++ b/python-cssmin-rename-bin.patch
@@ -0,0 +1,22 @@
+diff --git a/setup.py b/setup.py
+--- a/setup.py
++++ b/setup.py
+@@ -13,5 +13,5 @@ setup(
+ description = "A Python port of the YUI CSS compression algorithm.",
+ py_modules = ['cssmin'],
+ package_dir = {'': 'src'},
+- entry_points = {'console_scripts': ['cssmin = cssmin:main']},
++ entry_points = {'console_scripts': ['python-cssmin = cssmin:main']},
+ )
+diff --git a/src/cssmin.py b/src/cssmin.py
+--- a/src/cssmin.py
++++ b/src/cssmin.py
+@@ -209,7 +209,7 @@ def main():
+ import sys
+
+ p = optparse.OptionParser(
+- prog="cssmin", version=__version__,
++ prog="python-cssmin", version=__version__,
+ usage="%prog [--wrap N]",
+ description="""Reads raw CSS from stdin, and writes compressed CSS to stdout.""")
+
diff --git a/python-cssmin.spec b/python-cssmin.spec
index fe14991..8e5b3b3 100644
--- a/python-cssmin.spec
+++ b/python-cssmin.spec
@@ -5,21 +5,22 @@
%endif
Name: python-cssmin
-Version: 0.1.4
-Release: 6%{?dist}
+Version: 0.2.0
+Release: 1%{?dist}
Summary: A Python port of the YUI CSS compression algorithm
Group: Development/Libraries
License: BSD
URL: http://github.com/zacharyvoase/cssmin
Source0: https://pypi.python.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
-# Upstream patch https://github.com/zacharyvoase/cssmin/commit/61d167466
-Patch0: python-cssmin-fixed-import-for-python3.patch
+Patch0: python-cssmin-rename-bin.patch
-BuildArch: noarch
-BuildRequires: python2-devel python-setuptools
+BuildArch: noarch
+Requires: python-setuptools
+BuildRequires: python2-devel python-setuptools
%if 0%{?with_python3}
-BuildRequires: python3-devel python3-setuptools
+Requires: python3-setuptools
+BuildRequires: python3-devel python3-setuptools
%endif
%description
@@ -92,6 +93,11 @@ cd src && \
%changelog
+* Mon Feb 10 2014 Martin Krizek <mkrizek at redhat.com> - 0.2.0-1
+- Update to 0.2.0
+- Add setuptools as requires
+- Rename /usr/bin/cssmin (#1048622)
+
* Tue Oct 15 2013 Martin Krizek <mkrizek at redhat.com> - 0.1.4-6
- Fix building on f20 and higher
diff --git a/sources b/sources
index 14eeeef..4ff96e3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b9149b8a58e70cac5f7972b0dcce776f cssmin-0.1.4.tar.gz
+c2798658a4f69663365a3e70c3b8250b cssmin-0.2.0.tar.gz
More information about the scm-commits
mailing list