rpms/python-TestGears/devel python-TestGears.spec,1.6,1.7

Toshio Ernie Kuratomi (toshio) fedora-extras-commits at redhat.com
Sun Sep 2 02:06:52 UTC 2007


Author: toshio

Update of /cvs/pkgs/rpms/python-TestGears/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv343

Modified Files:
	python-TestGears.spec 
Log Message:
- Remove the .pth file (setuptools will generate its own otherwise it's
  unneeded.)
- Fix directory ownership.



Index: python-TestGears.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-TestGears/devel/python-TestGears.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- python-TestGears.spec	10 Dec 2006 06:12:32 -0000	1.6
+++ python-TestGears.spec	2 Sep 2007 02:06:19 -0000	1.7
@@ -4,7 +4,7 @@
 
 Name:           python-TestGears
 Version:        0.2
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Unit testing for Python
 
 Group:          Development/Languages
@@ -30,25 +30,22 @@
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
-echo "TestGears-%{version}-py%{pyver}.egg-info" > %{buildroot}%{python_sitelib}/TestGears.pth
-
-echo '%defattr (0644,root,root,0755)' > pyfiles
-find %{buildroot}%{python_sitelib} -type d | \
-    sed 's:%{buildroot}\(.*\):%dir \1:' >> pyfiles
-find %{buildroot}%{python_sitelib} -not -type d -name '*.py*' | \
-    sed 's:%{buildroot}\(.*\):\1:' >> pyfiles
+%{__python} setup.py install --skip-build --root %{buildroot}
 
 %clean
 rm -rf %{buildroot}
 
-%files -f pyfiles
-%defattr(-,root,root,-)
+%files
+%defattr(0644,root,root,0755)
 %doc docs LICENSE.txt TODO.txt
-%{python_sitelib}/TestGears-%{version}-py%{pyver}.egg-info/*
-%{python_sitelib}/TestGears.pth
+%{python_sitelib}/*
 
 %changelog
+* Sat Sep 1 2007 Toshio Kuratomi <a.badger at gmail.com> 0.2-5
+- Remove the .pth file (setuptools will generate its own otherwise it's
+  unneeded.)
+- Fix directory ownership.
+
 * Sun Dec 10 2006 Luke Macken <lmacken at redhat.com> 0.2-4
 - Rebuld for python 2.5
 




More information about the fedora-extras-commits mailing list