Changeset 411 for spec/trunk/SPECS/libxml2-python.spec
- Timestamp:
- Apr 9, 2014, 5:17:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/libxml2-python.spec
r407 r411 1 1 2 %define name libxml2-python 2 3 %define version 2.7.7 … … 23 24 Requires: libxml2 = %{version} 24 25 Requires: python 25 Requires: python(abi) = 2.726 Requires: python(abi) = %{python_version} 26 27 27 28 %description … … 45 46 %install 46 47 cd 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 48 python setup.py install --root=$RPM_BUILD_ROOT --prefix %{_prefix} --record=INSTALLED_FILES 52 49 53 50 %clean
Note:
See TracChangeset
for help on using the changeset viewer.