rpms/python-zope-filesystem/devel python-zope-filesystem.spec, 1.3, 1.4
Robin 'cheese' Lee
cheeselee at fedoraproject.org
Wed Jun 16 18:13:26 UTC 2010
- Previous message: rpms/python-zope-event/devel .cvsignore, 1.2, 1.3 python-zope-event.spec, 1.1, 1.2 sources, 1.2, 1.3
- Next message: rpms/selinux-policy/devel modules-minimum.conf, 1.56, 1.57 modules-mls.conf, 1.70, 1.71 modules-targeted.conf, 1.165, 1.166 policy-F14.patch, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cheeselee
Update of /cvs/pkgs/rpms/python-zope-filesystem/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31663
Modified Files:
python-zope-filesystem.spec
Log Message:
* Thu Jun 17 2010 Robin Lee <robinlee.sysu at gmail.com> - 1-5
- Add zope.app, five, zc and z3c namespaces
Index: python-zope-filesystem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-zope-filesystem/devel/python-zope-filesystem.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- python-zope-filesystem.spec 27 Jul 2009 01:34:28 -0000 1.3
+++ python-zope-filesystem.spec 16 Jun 2010 18:13:18 -0000 1.4
@@ -1,10 +1,12 @@
%define debug_package %{nil}
-%{!?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)")}
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%endif
Name: python-zope-filesystem
Version: 1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Python-Zope Libraries Base Filesystem
Group: Development/Languages
License: ZPLv2.1
@@ -17,7 +19,7 @@ BuildRequires: python-devel
%description
This package contains the base filesystem layout for all Fedora
-python-zope-* packages.
+python-zope-*, python-zc-*, python-z3c-* and python-five-* packages.
%prep
@@ -31,11 +33,12 @@ cp -p %{SOURCE0} __init__.py
%install
rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{python_sitelib}/zope
-install -p -m 644 __init__.py $RPM_BUILD_ROOT%{python_sitelib}/zope
-mkdir -p $RPM_BUILD_ROOT%{python_sitearch}/zope
-install -p -m 644 __init__.py $RPM_BUILD_ROOT%{python_sitearch}/zope
-
+for DIR in zope zope/app five zc z3c; do
+ mkdir -p $RPM_BUILD_ROOT%{python_sitelib}/$DIR
+ install -p -m 644 __init__.py $RPM_BUILD_ROOT%{python_sitelib}/$DIR
+ mkdir -p $RPM_BUILD_ROOT%{python_sitearch}/$DIR
+ install -p -m 644 __init__.py $RPM_BUILD_ROOT%{python_sitearch}/$DIR
+done
%clean
rm -rf $RPM_BUILD_ROOT
@@ -45,13 +48,22 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
# For noarch packages: sitelib
%{python_sitelib}/zope
+%{python_sitelib}/five
+%{python_sitelib}/zc
+%{python_sitelib}/z3c
%if "%{python_sitearch}" != "%{python_sitelib}"
# For arch-specific packages: sitearch
%{python_sitearch}/zope
+%{python_sitearch}/five
+%{python_sitearch}/zc
+%{python_sitearch}/z3c
%endif
%changelog
+* Thu Jun 17 2010 Robin Lee <robinlee.sysu at gmail.com> - 1-5
+- Add zope.app, five, zc and z3c namespaces
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- Previous message: rpms/python-zope-event/devel .cvsignore, 1.2, 1.3 python-zope-event.spec, 1.1, 1.2 sources, 1.2, 1.3
- Next message: rpms/selinux-policy/devel modules-minimum.conf, 1.56, 1.57 modules-mls.conf, 1.70, 1.71 modules-targeted.conf, 1.165, 1.166 policy-F14.patch, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list