summaryrefslogtreecommitdiffstats
path: root/python-ZODB3/F-13/python-ZODB3.spec
diff options
context:
space:
mode:
authorRobin Lee <robinlee.sysu@gmail.com>2010-06-17 00:32:02 +0800
committerRobin Lee <robinlee.sysu@gmail.com>2010-06-17 00:32:02 +0800
commitb218fc863742c9777c363bbf7246a1bc659e8e1c (patch)
tree1fa1507e76545922a59793180bb7dbded042669d /python-ZODB3/F-13/python-ZODB3.spec
parent7e91f481a054447e981325a9b52fb0075747f4a1 (diff)
downloadzope-rpm-b218fc863742c9777c363bbf7246a1bc659e8e1c.tar.gz
zope-rpm-b218fc863742c9777c363bbf7246a1bc659e8e1c.tar.xz
zope-rpm-b218fc863742c9777c363bbf7246a1bc659e8e1c.zip
python-zope-proxy 3.6.0-1 from Conrad Meyer <konrad@tylerc.org>
Diffstat (limited to 'python-ZODB3/F-13/python-ZODB3.spec')
-rw-r--r--python-ZODB3/F-13/python-ZODB3.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/python-ZODB3/F-13/python-ZODB3.spec b/python-ZODB3/F-13/python-ZODB3.spec
index ecda15c..c268e4e 100644
--- a/python-ZODB3/F-13/python-ZODB3.spec
+++ b/python-ZODB3/F-13/python-ZODB3.spec
@@ -57,9 +57,9 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-# remove contained source file(s)
+# remove contained source files
find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv
-# deal with header file(s)
+# deal with header files
for MOD in BTrees persistent; do
mkdir -p $RPM_BUILD_ROOT%{_includedir}/python%{py_ver}/$MOD/
mv $RPM_BUILD_ROOT%{python_sitearch}/$MOD/*.h \
@@ -81,7 +81,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%{_defaultdocdir}/%{name}-%{version}/
+%{_docdir}/%{name}-%{version}/
%{python_sitearch}/ZODB/
%{python_sitearch}/ZODB3-*.egg-info
%{_bindir}/*