Update to last successful build
OBS-URL: https://build.opensuse.org/package/show/zypp:Head/zypp-plugin?expand=0&rev=10
This commit is contained in:
parent
ccb7a40eb6
commit
3c0ef127f4
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2fb665be74035aa08d919c6e2d8b3877fe4b6ced9761db117c747ad1141f2e2
|
||||
size 3923
|
||||
oid sha256:3239d4b9dffc913601fabfcde75ef1f0bc07d720d4dc44614d8b100c68e2b5ed
|
||||
size 4049
|
||||
|
@ -30,7 +30,7 @@ Source0: %{name}-%{version}.tar.bz2
|
||||
BuildRequires: python-devel
|
||||
Requires: python
|
||||
|
||||
%{?!py_sitedir: %global py_sitedir %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib()')}
|
||||
%{?!py_sitearch: %global py_sitearch %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(True)')}
|
||||
|
||||
%description
|
||||
Empty main package. Helper for different languages reside in subpackages.
|
||||
@ -50,9 +50,15 @@ and implementing the commands you want to respond to as python methods.
|
||||
%build
|
||||
|
||||
%install
|
||||
%{__mkdir_p} %{buildroot}%{py_sitedir}
|
||||
%{__install} python/zypp_plugin.py %{buildroot}%{py_sitedir}/zypp_plugin.py
|
||||
%{__mkdir_p} %{buildroot}%{py_sitearch}
|
||||
%{__install} python/zypp_plugin.py %{buildroot}%{py_sitearch}/zypp_plugin.py
|
||||
%if 0%{?suse_version}
|
||||
pushd $RPM_BUILD_ROOT/%{python_sitearch}
|
||||
python %py_libdir/py_compile.py *.py
|
||||
python -O %py_libdir/py_compile.py *.py
|
||||
popd
|
||||
%endif
|
||||
|
||||
%files python
|
||||
%defattr(-,root,root)
|
||||
%{py_sitedir}/zypp_plugin.py
|
||||
%{py_sitearch}/*
|
||||
|
Loading…
Reference in New Issue
Block a user