rpms/python-paste/devel python-paste.spec,1.14,1.15
Kyle VanderBeek
kylev at fedoraproject.org
Tue Jun 23 02:35:53 UTC 2009
- Previous message (by thread): rpms/puzzles/F-11 .cvsignore, 1.2, 1.3 import.log, 1.1, 1.2 puzzles.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message (by thread): rpms/bouncycastle-tsp/F-10 bouncycastle-tsp.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kylev
Update of /cvs/pkgs/rpms/python-paste/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11442
Modified Files:
python-paste.spec
Log Message:
Tidy up, modernize .spec, and lose the %ghost'ing
Index: python-paste.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-paste/devel/python-paste.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- python-paste.spec 26 Feb 2009 22:44:27 -0000 1.14
+++ python-paste.spec 23 Jun 2009 02:35:22 -0000 1.15
@@ -1,9 +1,8 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
Name: python-paste
Version: 1.7.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Tools for using a Web Server Gateway Interface stack
Group: System Environment/Libraries
License: MIT
@@ -25,6 +24,7 @@ interfaces.
%prep
%setup -q -n Paste-%{version}
+# Strip #! lines that make these seeme like scripts
%{__sed} -i -e '/^#!.*/,1 d' paste/util/scgiserver.py paste/debug/doctest_webapp.py
# clean docs directory
@@ -32,36 +32,31 @@ pushd docs
rm StyleGuide.txt *.css */*.css */*.js
popd
+
%build
%{__python} setup.py build
%install
rm -rf %{buildroot}
-%{__python} setup.py install --single-version-externally-managed \
- --skip-build -O1 --root=%{buildroot}
-
-echo '%defattr (0644,root,root,0755)' > pyfiles
-find %{buildroot}%{python_sitelib}/paste -type d | \
- sed 's:%{buildroot}\(.*\):%dir \1:' >> pyfiles
-find %{buildroot}%{python_sitelib}/paste -not -type d -not -name '*.pyo' | \
- sed 's:%{buildroot}\(.*\):\1:' >> pyfiles
-find %{buildroot}%{python_sitelib}/paste -not -type d -name '*.pyo' | \
- sed 's:%{buildroot}\(.*\):%ghost \1:' >> pyfiles
-
+%{__python} setup.py install --skip-build --root %{buildroot}
%clean
rm -rf %{buildroot}
-%files -f pyfiles
+%files
%defattr(-,root,root,-)
%doc docs/*
-%{python_sitelib}/Paste-%{version}-py%{pyver}*
+%{python_sitelib}/*
%changelog
+* Mon Jun 22 2009 Kyle VanderBeek <kylev at kylev.com> - 1.7.2-3
+- Package formerly ghost'ed .pyo files
+- Update to current python package methods
+
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- Previous message (by thread): rpms/puzzles/F-11 .cvsignore, 1.2, 1.3 import.log, 1.1, 1.2 puzzles.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message (by thread): rpms/bouncycastle-tsp/F-10 bouncycastle-tsp.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list