[python-application/el6] Update to 1.3.0
Michel Alexandre Salim
salimma at fedoraproject.org
Wed Feb 1 16:33:20 UTC 2012
commit 089a0ca3fd43ee3ab38607e42c159d81ca15ed20
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date: Wed Feb 1 17:00:58 2012 +0100
Update to 1.3.0
- Remove sections of spec unneeded on supported Fedora releases
.gitignore | 2 +-
python-application.spec | 43 ++++++++++++++++++++++---------------------
sources | 2 +-
3 files changed, 24 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c43f4cd..430d393 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-python-application-1.1.5.tar.gz
+/python-application-1.3.0.tar.gz
diff --git a/python-application.spec b/python-application.spec
index 693611e..947e7d2 100644
--- a/python-application.spec
+++ b/python-application.spec
@@ -1,17 +1,17 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-Name: python-application
-Version: 1.1.5
-Release: 1%{?dist}
-Summary: Basic building blocks for python applications
-Group: Development/Languages
-License: LGPLv2+
-URL: http://pypi.python.org/pypi/python-application
-Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-BuildRequires: python-devel
-BuildRequires: python-setuptools-devel
-BuildArch: noarch
+Name: python-application
+Version: 1.3.0
+Release: 1%{?dist}
+Summary: Basic building blocks for python applications
+
+Group: Development/Languages
+License: LGPLv2+
+URL: http://pypi.python.org/pypi/python-application
+Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
+
+BuildRequires: python-devel
+BuildArch: noarch
%description
@@ -20,32 +20,33 @@ applications. Their purpose is to eliminate the need to divert resources
into implementing the small tasks that every application needs to do in
order to run successfully and focus instead on the application logic itself.
+
%prep
%setup -q
chmod 0644 examples/*.py
-%build
-%{__python} -c 'import setuptools; execfile("setup.py")' build
+%build
+%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root $RPM_BUILD_ROOT
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc LICENSE NEWS PKG-INFO README examples
+%doc LICENSE ChangeLog NEWS PKG-INFO README examples
%{python_sitelib}/application/
-%{python_sitelib}/python_application-%{version}-*.egg-info/
+%{python_sitelib}/python_application-%{version}-*.egg-info
%changelog
+* Wed Feb 1 2012 Michel Salim <salimma at fedoraproject.org> - 1.3.0-1
+- Update to 1.3.0
+- Remove sections of spec unneeded on supported Fedora releases
+
* Wed Sep 9 2009 Peter Lemenkov <lemenkov at gmail.com> 1.1.5-1
- Ver. 1.1.5
diff --git a/sources b/sources
index 439a289..215e50a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d43399becc6b2850a2ea80a34375781b python-application-1.1.5.tar.gz
+cbfb43e410e1d07e4b85775cdc4b28b0 python-application-1.3.0.tar.gz
More information about the scm-commits
mailing list