[python-AppTools: 4/4] New upstream release
supercyper
supercyper at fedoraproject.org
Fri Aug 13 10:26:44 UTC 2010
commit b8c433847ee558906f5dcd821d6b567dd19452f9
Author: Chen Lei <supercyper at 163.com>
Date: Fri Aug 13 18:25:46 2010 +0800
New upstream release
.gitignore | 2 +-
python-AppTools.spec | 53 ++++++++++++++++++++++++-------------------------
sources | 2 +-
3 files changed, 28 insertions(+), 29 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d9adb58..95f1dbd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-AppTools-3.3.0.tar.gz
+AppTools-3.3.2.tar.gz
diff --git a/python-AppTools.spec b/python-AppTools.spec
index eb5264e..a77f730 100644
--- a/python-AppTools.spec
+++ b/python-AppTools.spec
@@ -1,21 +1,16 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
Name: python-AppTools
-Version: 3.3.0
-Release: 2%{?dist}
+Version: 3.3.2
+Release: 1%{?dist}
Summary: Enthough Tool Suite Application Tools
-
Group: Development/Libraries
License: BSD and LGPLv2+
-URL: http://pypi.python.org/pypi/AppTools/
-#md5=e67d9b40a9f88f62246a8248faede6c5
-Source0: http://pypi.python.org/packages/source/A/AppTools/AppTools-%{version}.tar.gz
+URL: http://code.enthought.com/projects/app_tools.php
+Source0: http://www.enthought.com/repo/ETS/AppTools-%{version}.tar.gz
Source1: README.fedora.%{name}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
-BuildRequires: python-setuptools, python-devel, python-setupdocs, python-sphinx, unzip
-Requires: python-TraitsGUI, python-EnthoughtBase
+BuildRequires: python-setuptools, python2-devel, python-setupdocs
+Requires: python-TraitsGUI, python-configobj
+# EnthoughtBase, Traits[ui] and numpy come with TraitsGUI
%description
The AppTools project includes a set of packages that Enthought has
@@ -39,33 +34,37 @@ functionality that is commonly needed by many applications
and many more.
-
%prep
%setup -q -n AppTools-%{version}
-rm -rf AppTools.egg-info
+cp -p %{SOURCE1} README.fedora
+
+rm -rf *.egg-info
+
+# remove exec permission
+find examples -type f -exec chmod 0644 {} ";"
%build
-%{__python} setup.py build
-unzip docs/html.zip
+python setup.py build
%install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-sed -i 's/\.dev$//g' $RPM_BUILD_ROOT/%{python_sitelib}/AppTools-%{version}-*.egg-info/requires.txt
-cp %{SOURCE1} README.fedora
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+python setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+# remove tests for now
+rm -rf $RPM_BUILD_ROOT%{python_sitelib}/integrationtests
%files
%defattr(-,root,root,-)
-%doc *.txt examples html README.fedora
-%{python_sitelib}/*
-
+%doc *.txt examples build/docs/html README.fedora
+%{_bindir}/rsted
+%{python_sitelib}/*.egg-info
+%{python_sitelib}/*.pth
+%{python_sitelib}/enthought/*
%changelog
+* Fri Aug 13 2010 Chen Lei <supercyper at 163.com> 3.3.2-1
+- Update spec to match latest guidelines w.r.t %%clean
+- Fix several rpmlint warnings
+
* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 3.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
diff --git a/sources b/sources
index c1800fd..88511ba 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9a7fa51fa19ccb01234222644547a68a AppTools-3.3.0.tar.gz
+a7990ecf3cfe7f9f20ebfae088343a1f AppTools-3.3.2.tar.gz
More information about the scm-commits
mailing list