Changeset 1255 for trunk/server/fedora


Ignore:
Timestamp:
Jul 9, 2009, 1:08:32 AM (13 years ago)
Author:
geofft
Message:
Second coat of paint on an empty bikeshed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/specs/scripts-python-path.spec

    r1254 r1255  
    1717%prep
    1818%setup -q -n %{name}
     19%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
    1920
    2021%install
    2122[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
    22 install -d 00scripts-home.pth $RPM_BUILD_ROOT/usr/lib/python2.6/site-packages
     23install -d $RPM_BUILD_ROOT%{python_sitelib}
     24install -m 644 00scripts-home.pth $RPM_BUILD_ROOT%{python_sitelib}
    2325
    2426%clean
     
    2729%files
    2830%defattr(0644, root, root)
    29 /usr/lib/python2.6/site-packages/00scripts-home.pth
     31%dir %{python_sitelib}
     32%{python_sitelib}/00scripts-home.pth
    3033
    3134%changelog
Note: See TracChangeset for help on using the changeset viewer.