Accepting request 74046 from home:fcrozat:systemd
- update brp.diff to not convert /sbin/init to absolute symlink (needed for kiwi and systemd). OBS-URL: https://build.opensuse.org/request/show/74046 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=130
This commit is contained in:
committed by
Git OBS Bridge
parent
cea6411dc9
commit
6839977296
@@ -33,6 +33,7 @@ Source99: rpm.spec
|
||||
%{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%_sourcedir/rpm.spec)}
|
||||
%global with_python 1
|
||||
|
||||
|
||||
%description
|
||||
The rpm-python package contains a module that permits applications
|
||||
written in the Python programming language to use the interface
|
||||
@@ -51,6 +52,7 @@ Authors:
|
||||
%prep
|
||||
%{expand:%(sed -n -e '/^%%prep/,/^%%install/p' <%_sourcedir/rpm.spec | sed -e '1d' -e '$d')}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/lib
|
||||
@@ -64,11 +66,15 @@ python %py_libdir/py_compile.py *.py
|
||||
python -O %py_libdir/py_compile.py *.py
|
||||
popd
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/python*/*/*
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user