Update to last successful build
2d24a9e8dcdf27a3ad563fc9191eecb50dc39ca4 changes 0.6.3 OBS-URL: https://build.opensuse.org/package/show/zypp:Head/zypp-plugin?expand=0&rev=20
This commit is contained in:
parent
49eac62c31
commit
c31258b3c6
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5fe00381e56eba267fe65f9c88fec8954d5ae328a04cdc30c0fa56e1b39d39b3
|
|
||||||
size 4233
|
|
3
zypp-plugin-0.6.3.tar.bz2
Normal file
3
zypp-plugin-0.6.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:13c25cd5a251a6a9b730b00309315c171b0bde6f1b0963dba5e98d3749c7616a
|
||||||
|
size 4240
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 11 14:15:36 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Switch to singlespec packaging to make it easy to disable either
|
||||||
|
python3 or python2 plugin and make sure all is buildable
|
||||||
|
- version 0.6.3
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 9 17:46:45 CET 2017 - ma@suse.de
|
Thu Nov 9 17:46:45 CET 2017 - ma@suse.de
|
||||||
|
|
||||||
|
@ -16,74 +16,52 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1320
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%global build_py3 1
|
%define oldpython python
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: zypp-plugin
|
Name: zypp-plugin
|
||||||
Version: 0.6.2
|
Version: 0.6.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://gitorious.org/opensuse/zypp-plugin
|
|
||||||
Summary: Helper that makes writing ZYpp plugins easier
|
Summary: Helper that makes writing ZYpp plugins easier
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Packages
|
Group: System/Packages
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Url: https://github.com/openSUSE/zypp-plugin
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
%if 0%{?suse_version} >= 1210
|
BuildRequires: %{python_module devel}
|
||||||
|
Requires: python-base
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# provide old names for py2 package
|
||||||
|
%ifpython2
|
||||||
|
Obsoletes: %{oldpython}-%{name} < %{version}
|
||||||
|
Provides: %{oldpython}-%{name} = %{version}
|
||||||
|
Obsoletes: %{name}-%{oldpython} < %{version}
|
||||||
|
Provides: %{name}-%{oldpython} = %{version}
|
||||||
%endif
|
%endif
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Empty main package. Helper for different languages reside in subpackages.
|
This API allows writing ZYpp plugins by just subclassing from a python class
|
||||||
|
and implementing the commands you want to respond to as python methods.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n zypp-plugin
|
%setup -q -n zypp-plugin
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
:
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__mkdir_p} %{buildroot}%{python_sitelib}
|
%ifpython2
|
||||||
%{__install} python/zypp_plugin.py %{buildroot}%{python_sitelib}/zypp_plugin.py
|
mkdir -p %{buildroot}%{python_sitelib}
|
||||||
|
install python/zypp_plugin.py %{buildroot}%{python_sitelib}/zypp_plugin.py
|
||||||
%py_compile -O %{buildroot}/%{python_sitelib}
|
%py_compile -O %{buildroot}/%{python_sitelib}
|
||||||
%if 0%{?build_py3}
|
%endif
|
||||||
%{__mkdir_p} %{buildroot}%{python3_sitelib}
|
%if "%{python3_bin_suffix}" != ""
|
||||||
%{__install} python/zypp_plugin.py %{buildroot}%{python3_sitelib}/zypp_plugin.py
|
mkdir -p %{buildroot}%{python3_sitelib}
|
||||||
|
install python/zypp_plugin.py %{buildroot}%{python3_sitelib}/zypp_plugin.py
|
||||||
%py3_compile -O %{buildroot}/%{python3_sitelib}
|
%py3_compile -O %{buildroot}/%{python3_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?build_py3}
|
%files %{python_files}
|
||||||
%package -n python3-%{name}
|
|
||||||
Summary: Helper that makes writing ZYpp plugins in python easier
|
|
||||||
Group: System/Packages
|
|
||||||
Requires: python3
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
|
|
||||||
%description -n python3-%{name}
|
|
||||||
This API allows writing ZYpp plugins by just subclassing from a python class
|
|
||||||
and implementing the commands you want to respond to as python methods.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%package python
|
|
||||||
Summary: Helper that makes writing ZYpp plugins in python easier
|
|
||||||
Group: System/Packages
|
|
||||||
Provides: python2-%{name}
|
|
||||||
BuildRequires: python-devel
|
|
||||||
Requires: python
|
|
||||||
|
|
||||||
%description python
|
|
||||||
This API allows writing ZYpp plugins by just subclassing from a python class
|
|
||||||
and implementing the commands you want to respond to as python methods.
|
|
||||||
|
|
||||||
%files python
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%if 0%{?build_py3}
|
|
||||||
%files -n python3-%{name}
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
|
||||||
%{python3_sitelib}/*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user