Ignore:
Timestamp:
Apr 9, 2014, 5:17:45 PM (11 years ago)
Author:
Yuri Dario
Message:

spec: updates to python macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/libxml2-python.spec

    r407 r411  
     1
    12%define name libxml2-python
    23%define version 2.7.7
     
    2324Requires: libxml2 = %{version}
    2425Requires: python
    25 Requires: python(abi) = 2.7
     26Requires: python(abi) = %{python_version}
    2627
    2728%description
     
    4546%install
    4647cd python
    47 python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
    48 # temporary workaround for wrong paths http://trac.netlabs.org/rpm/ticket/71
    49 mkdir $RPM_BUILD_ROOT/@unixroot
    50 mv $RPM_BUILD_ROOT/USR $RPM_BUILD_ROOT/@unixroot/usr
    51 sed -e 's#/USR/#/@unixroot/usr/#g' -i INSTALLED_FILES
     48python setup.py install --root=$RPM_BUILD_ROOT --prefix %{_prefix} --record=INSTALLED_FILES
    5249
    5350%clean
Note: See TracChangeset for help on using the changeset viewer.