[pycolumnize] * Sun Aug 03 2014 Fabian Affolter <mail at fabian-affolter.ch> - 0.3.5-1 - Update spec file - Update to

Fabian Affolter fab at fedoraproject.org
Sun Aug 3 14:37:02 UTC 2014


commit 3345199a9efaff8973950f16bfca2cf320e3fc29
Author: Fabian Affolter <fabian at affolter-engineering.ch>
Date:   Sun Aug 3 16:36:47 2014 +0200

    * Sun Aug 03 2014 Fabian Affolter <mail at fabian-affolter.ch> - 0.3.5-1
    - Update spec file
    - Update to lastest upsteam release 0.3.5

 .gitignore       |    1 +
 pycolumnize.spec |   35 +++++++++++++++++------------------
 sources          |    2 +-
 3 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 193a281..da93dfe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 columnize-0.3.2.tar.gz
 /columnize-0.3.3.tar.gz
+/columnize-0.3.5.tar.gz
diff --git a/pycolumnize.spec b/pycolumnize.spec
index c077ace..e4b1ed2 100644
--- a/pycolumnize.spec
+++ b/pycolumnize.spec
@@ -1,43 +1,42 @@
+%global srcname columnize
 
 Name:           pycolumnize
-Version:        0.3.3
-Release:        7%{?dist}
+Version:        0.3.5
+Release:        1%{?dist}
 Summary:        Python module to align in columns a simple list
 
-Group:          Development/Languages
 License:        MIT
 URL:            http://code.google.com/p/pycolumnize/
-Source0:        http://pycolumnize.googlecode.com/files/columnize-%{version}.tar.gz
-
+Source0:        http://pycolumnize.googlecode.com/files/%{srcname}-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  python-devel, python-setuptools
+
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
 
 %description
 A Python module to format a simple (i.e. not nested) list into aligned columns.
 A string with embedded newline characters is returned.
 
 %prep
-%setup -q -n columnize-%{version}
-
+%setup -q -n %{srcname}-%{version}
+rm -rf %{srcname}.egg-info
 
 %build
-%{__python} setup.py build
-
+%{__python2} setup.py build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-
-
+%{__python2} setup.py install --skip-build --root %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc NEWS README.txt
-%{python_sitelib}/*egg-info
-%{python_sitelib}/columnize.*
-
+%{python2_sitelib}/*egg-info
+%{python2_sitelib}/%{srcname}.*
 
 %changelog
+* Sun Aug 03 2014 Fabian Affolter <mail at fabian-affolter.ch> - 0.3.5-1
+- Update spec file
+- Update to lastest upsteam release 0.3.5
+
 * Mon Jun 30 2014 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.3-7
 - Replace python-setuptools-devel BR with python-setuptools
 
diff --git a/sources b/sources
index 4211057..eb9a846 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c624f965cc2a2a1905e267120b5bd898  columnize-0.3.3.tar.gz
+a938139099cfacc03c7499301d849f55  columnize-0.3.5.tar.gz


More information about the scm-commits mailing list