Changeset 1255 for trunk/server/fedora/specs/scripts-python-path.spec
- Timestamp:
- Jul 9, 2009, 1:08:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/fedora/specs/scripts-python-path.spec
r1254 r1255 17 17 %prep 18 18 %setup -q -n %{name} 19 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} 19 20 20 21 %install 21 22 [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT 22 install -d 00scripts-home.pth $RPM_BUILD_ROOT/usr/lib/python2.6/site-packages 23 install -d $RPM_BUILD_ROOT%{python_sitelib} 24 install -m 644 00scripts-home.pth $RPM_BUILD_ROOT%{python_sitelib} 23 25 24 26 %clean … … 27 29 %files 28 30 %defattr(0644, root, root) 29 /usr/lib/python2.6/site-packages/00scripts-home.pth 31 %dir %{python_sitelib} 32 %{python_sitelib}/00scripts-home.pth 30 33 31 34 %changelog
Note: See TracChangeset
for help on using the changeset viewer.