From: wrobell Date: Tue, 4 Mar 2008 22:17:02 +0000 (+0000) Subject: - moved to py_sitedir X-Git-Tag: auto/th/Zope-Component-3_4_0-2~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2FZope-Component.git;a=commitdiff_plain;h=b053b81ed24a527d4f517478e7bbb9a2c5bd973b - moved to py_sitedir - rel. 0.snap.2 Changed files: Zope-Component.spec -> 1.6 --- diff --git a/Zope-Component.spec b/Zope-Component.spec index c1e1dd0..dc508a9 100644 --- a/Zope-Component.spec +++ b/Zope-Component.spec @@ -3,7 +3,7 @@ Summary: Core of the Zope Component Architecture Summary(pl.UTF-8): Rdzeń Zope Component Architecture Name: Zope-Component Version: 3.4 -Release: 0.%{snap}.1 +Release: 0.%{snap}.2 License: ZPL 2.1 Group: Libraries/Python Source0: http://download.zope.org/distribution/zope.component-%{version}dev-%{snap}.tar.gz @@ -19,7 +19,6 @@ Requires: Zope-Event Requires: Zope-Interface Requires: Zope-Proxy Requires: Zope-Testing -BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -38,6 +37,7 @@ python ./setup.py build rm -rf $RPM_BUILD_ROOT python ./setup.py install \ + --install-purelib=%{py_sitedir} \ --optimize 2 \ --root=$RPM_BUILD_ROOT @@ -48,6 +48,6 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%{py_sitescriptdir}/zope/component -%{py_sitescriptdir}/zope.component-*.egg-info -%{py_sitescriptdir}/zope.component-*-nspkg.pth +%{py_sitedir}/zope/component +%{py_sitedir}/zope.component-*.egg-info +%{py_sitedir}/zope.component-*-nspkg.pth