fedora-rpmdevtools rpmdevtools.spec, 1.10, 1.11 spectemplate-python.spec, 1.8, 1.9
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Sun Aug 20 19:08:11 UTC 2006
- Previous message (by thread): rpms/nqc/devel 60-legousbtower.rules, NONE, 1.1 faq.html, NONE, 1.1 nqc-3.1.4-linux.patch, NONE, 1.1 nqc.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/obby/devel .cvsignore, 1.7, 1.8 obby.spec, 1.21, 1.22 sources, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: scop
Update of /cvs/fedora/fedora-rpmdevtools
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27425
Modified Files:
rpmdevtools.spec spectemplate-python.spec
Log Message:
Don't encourage %%ghost'ing *.pyo in Python spec template, add some comments.
Index: rpmdevtools.spec
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/rpmdevtools.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- rpmdevtools.spec 20 Aug 2006 19:05:41 -0000 1.10
+++ rpmdevtools.spec 20 Aug 2006 19:08:09 -0000 1.11
@@ -113,6 +113,7 @@
%changelog
* Sun Aug 20 2006 Ville Skyttä <ville.skytta at iki.fi>
- Re-rename almost everything to rpmdev-*, with backwards compat symlinks.
+- Don't encourage %%ghost'ing *.pyo in Python spec template, add some comments.
- Drop PHP PEAR spec template, it's not ready yet.
* Wed Aug 2 2006 Ville Skyttä <ville.skytta at iki.fi>
Index: spectemplate-python.spec
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/spectemplate-python.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- spectemplate-python.spec 19 Jul 2006 21:37:06 -0000 1.8
+++ spectemplate-python.spec 20 Aug 2006 19:08:09 -0000 1.9
@@ -1,3 +1,4 @@
+# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@@ -23,6 +24,7 @@
%build
+# Remove CFLAGS=... for noarch packages (unneeded)
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -38,9 +40,10 @@
%files
%defattr(-,root,root,-)
%doc
-# Include files and dirs below %{python_sitelib} (for noarch packages) and
-# %{python_sitearch} (for arch-dependent packages) as appropriate, and mark
-# *.pyo as %ghost (do not include in package).
+# For noarch packages: sitelib
+%{python_sitelib}/*
+# For arch-specific packages: sitearch
+%{python_sitearch}/*
%changelog
- Previous message (by thread): rpms/nqc/devel 60-legousbtower.rules, NONE, 1.1 faq.html, NONE, 1.1 nqc-3.1.4-linux.patch, NONE, 1.1 nqc.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/obby/devel .cvsignore, 1.7, 1.8 obby.spec, 1.21, 1.22 sources, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list