[python-argparse/el5] New compatble upstream with some bugfixes and a GPL2 vompatible license Enable test suite
Toshio くらとみ
toshio at fedoraproject.org
Wed Jun 29 14:26:36 UTC 2011
commit 0e0eb5ad9e2d502eb3ab3b8c42d00a06aca30743
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Wed Jun 29 07:25:34 2011 -0700
New compatble upstream with some bugfixes and a GPL2 vompatible license
Enable test suite
.gitignore | 1 +
python-argparse.spec | 23 ++++++++++++++---------
sources | 2 +-
3 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a2c298f..ec80694 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
argparse-1.0.1.zip
+/argparse-1.2.1.tar.gz
diff --git a/python-argparse.spec b/python-argparse.spec
index d5066f5..7fb8099 100644
--- a/python-argparse.spec
+++ b/python-argparse.spec
@@ -4,13 +4,14 @@
Summary: Optparse inspired command line parser for Python
Name: python-argparse
-Version: 1.0.1
-Release: 1%{?dist}.1
-License: ASL 2.0
+Version: 1.2.1
+Release: 1%{?dist}
+License: Python
Group: Development/Languages
URL: http://code.google.com/p/argparse/
-Source0: http://argparse.googlecode.com/files/argparse-%{version}.zip
-BuildRequires: python-setuptools-devel dos2unix
+Source0: http://argparse.googlecode.com/files/argparse-%{version}.tar.gz
+BuildRequires: python-setuptools
+BuildRequires: dos2unix
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -38,11 +39,11 @@ dos2unix -k README.txt
%install
%{__rm} -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
-#check
-#pushd test
-#PYTHONPATH=../ %{__python} test_%{oname}.py
+%check
+pushd test
+PYTHONPATH=../ %{__python} test_%{oname}.py
%clean
%{__rm} -rf %{buildroot}
@@ -53,6 +54,10 @@ dos2unix -k README.txt
%{python_sitelib}/*
%changelog
+* Wed Jun 29 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 1.2.1-1
+- New compatble upstream with some bugfixes and a GPL2 vompatible license
+- Enable test suite
+
* Wed Feb 10 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 1.0.1-1.1
- First build for EL-5
- Small change to %%files section so lack of egg-info on EL-5 is okay.
diff --git a/sources b/sources
index c064a56..05334bf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2d04a5fa1504c93a3e7523cd97bfd8b2 argparse-1.0.1.zip
+2fbef8cb61e506c706957ab6e135840c argparse-1.2.1.tar.gz
More information about the scm-commits
mailing list