commit zypp-plugin for openSUSE:Factory

2020-11-02 Thread root
Hello community,

here is the log from the commit of package zypp-plugin for openSUSE:Factory 
checked in at 2020-11-02 09:40:04

Comparing /work/SRC/openSUSE:Factory/zypp-plugin (Old)
 and  /work/SRC/openSUSE:Factory/.zypp-plugin.new.3463 (New)


Package is "zypp-plugin"

Mon Nov  2 09:40:04 2020 rev:16 rq:844816 version:0.6.3

Changes:

--- /work/SRC/openSUSE:Factory/zypp-plugin/zypp-plugin.changes  2018-07-13 
10:15:05.962009884 +0200
+++ /work/SRC/openSUSE:Factory/.zypp-plugin.new.3463/zypp-plugin.changes
2020-11-02 09:40:10.393597249 +0100
@@ -1,0 +2,6 @@
+Fri Oct 23 21:31:23 UTC 2020 - Benjamin Greiner 
+
+- singlespec in Tumbleweed must support multiple python3 flavors
+  in the future gh#openSUSE/python-rpm-macros#66 
+
+---



Other differences:
--
++ zypp-plugin.spec ++
--- /var/tmp/diff_new_pack.6MfcTt/_old  2020-11-02 09:40:10.997597829 +0100
+++ /var/tmp/diff_new_pack.6MfcTt/_new  2020-11-02 09:40:11.001597833 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zypp-plugin
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,15 +22,16 @@
 Version:0.6.3
 Release:0
 Summary:Helper that makes writing ZYpp plugins easier
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/Packages
-Url:https://github.com/openSUSE/zypp-plugin
+URL:https://github.com/openSUSE/zypp-plugin
 Source0:%{name}-%{version}.tar.bz2
 BuildArch:  noarch
 
 %if %{singlespec_py3}
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 BuildRequires:  %{python_module devel}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-base
 # provide old names for py2 package
@@ -62,6 +63,16 @@
 :
 
 %install
+%if %{singlespec_py3}
+%{python_expand #
+mkdir -p %{buildroot}%{$python_sitelib}
+install -m 0644 python/zypp_plugin.py 
%{buildroot}%{$python_sitelib}/zypp_plugin.py
+# TODO: replace by $python_compileall as soon as it is available sr#843481
+$python -m compileall %{buildroot}%{$python_sitelib}
+$python -O -m compileall %{buildroot}%{$python_sitelib}
+%fdupes %{buildroot}%{$python_sitelib}
+}
+%else
 %if 0%{?have_python2}
 mkdir -p %{buildroot}%{python_sitelib}
 install -m 0644 python/zypp_plugin.py 
%{buildroot}%{python_sitelib}/zypp_plugin.py
@@ -72,11 +83,13 @@
 install -m 0644 python/zypp_plugin.py 
%{buildroot}%{python3_sitelib}/zypp_plugin.py
 %py3_compile -O %{buildroot}/%{python3_sitelib}
 %endif
+%endif
 
 %if %{singlespec_py3}
 %files %{python_files}
 %doc COPYING
-%{python_sitelib}/*
+%{python_sitelib}/zypp_plugin*
+%pycache_only %{python_sitelib}/__pycache__/*
 
 ### 
 ### SLE-12* and even older

++ zypp-plugin-0.6.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.changes 
new/zypp-plugin/package/zypp-plugin.changes
--- old/zypp-plugin/package/zypp-plugin.changes 2018-03-13 15:05:02.0 
+0100
+++ new/zypp-plugin/package/zypp-plugin.changes 2020-10-28 15:54:54.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Fri Oct 23 21:31:23 UTC 2020 - Benjamin Greiner 
+
+- singlespec in Tumbleweed must support multiple python3 flavors
+  in the future gh#openSUSE/python-rpm-macros#66 
+
+---
 Tue Mar 13 14:51:18 CET 2018 - m...@suse.com
 
 - Provide python3-zypp-plugin down to SLE12 (bsc#1081596)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.spec 
new/zypp-plugin/package/zypp-plugin.spec
--- old/zypp-plugin/package/zypp-plugin.spec2018-03-13 15:05:02.0 
+0100
+++ new/zypp-plugin/package/zypp-plugin.spec2020-10-28 15:54:54.0 
+0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define singlespec_py3 ( 0%{?suse_version} > 1330 )
 
 Name:   zypp-plugin
@@ -31,6 +32,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 BuildRequires:  %{python_module devel}
 BuildRequires:  

commit zypp-plugin for openSUSE:Factory

2018-07-13 Thread root
Hello community,

here is the log from the commit of package zypp-plugin for openSUSE:Factory 
checked in at 2018-07-13 10:15:00

Comparing /work/SRC/openSUSE:Factory/zypp-plugin (Old)
 and  /work/SRC/openSUSE:Factory/.zypp-plugin.new (New)


Package is "zypp-plugin"

Fri Jul 13 10:15:00 2018 rev:15 rq:621126 version:0.6.3

Changes:

--- /work/SRC/openSUSE:Factory/zypp-plugin/zypp-plugin.changes  2018-02-28 
20:01:50.965879527 +0100
+++ /work/SRC/openSUSE:Factory/.zypp-plugin.new/zypp-plugin.changes 
2018-07-13 10:15:05.962009884 +0200
@@ -1,0 +2,5 @@
+Tue Mar 13 14:51:18 CET 2018 - m...@suse.com
+
+- Provide python3-zypp-plugin down to SLE12 (bsc#1081596)
+
+---



Other differences:
--
++ zypp-plugin.spec ++
--- /var/tmp/diff_new_pack.eryQND/_old  2018-07-13 10:15:07.746011988 +0200
+++ /var/tmp/diff_new_pack.eryQND/_new  2018-07-13 10:15:07.750011992 +0200
@@ -43,7 +43,7 @@
 ### SLE-12* and even older
 %else
 %define have_python2 1
-%if ( 0%{?suse_version} == 1315 && 0%{?sle_version} == 120300 )
+%if ( 0%{?suse_version} == 1315 )
 %define have_python3 1
 %else
 %define have_python3 0
@@ -64,12 +64,12 @@
 %install
 %if 0%{?have_python2}
 mkdir -p %{buildroot}%{python_sitelib}
-install python/zypp_plugin.py %{buildroot}%{python_sitelib}/zypp_plugin.py
+install -m 0644 python/zypp_plugin.py 
%{buildroot}%{python_sitelib}/zypp_plugin.py
 %py_compile -O %{buildroot}/%{python_sitelib}
 %endif
 %if 0%{?have_python3}
 mkdir -p %{buildroot}%{python3_sitelib}
-install python/zypp_plugin.py %{buildroot}%{python3_sitelib}/zypp_plugin.py
+install -m 0644 python/zypp_plugin.py 
%{buildroot}%{python3_sitelib}/zypp_plugin.py
 %py3_compile -O %{buildroot}/%{python3_sitelib}
 %endif
 

++ zypp-plugin-0.6.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.changes 
new/zypp-plugin/package/zypp-plugin.changes
--- old/zypp-plugin/package/zypp-plugin.changes 2018-02-19 15:54:50.0 
+0100
+++ new/zypp-plugin/package/zypp-plugin.changes 2018-03-13 15:05:02.0 
+0100
@@ -1,4 +1,9 @@
 ---
+Tue Mar 13 14:51:18 CET 2018 - m...@suse.com
+
+- Provide python3-zypp-plugin down to SLE12 (bsc#1081596)
+
+---
 Mon Feb 19 15:53:29 CET 2018 - m...@suse.com
 
 - Provide python3-zypp-plugin in SLE12-SP3 (bsc#1081596)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.spec 
new/zypp-plugin/package/zypp-plugin.spec
--- old/zypp-plugin/package/zypp-plugin.spec2018-02-19 15:54:50.0 
+0100
+++ new/zypp-plugin/package/zypp-plugin.spec2018-03-13 15:05:02.0 
+0100
@@ -42,7 +42,7 @@
 ### SLE-12* and even older
 %else
 %define have_python2 1
-%if ( 0%{?suse_version} == 1315 && 0%{?sle_version} == 120300 )
+%if ( 0%{?suse_version} == 1315 )
 %define have_python3 1
 %else
 %define have_python3 0
@@ -63,12 +63,12 @@
 %install
 %if 0%{?have_python2}
 mkdir -p %{buildroot}%{python_sitelib}
-install python/zypp_plugin.py %{buildroot}%{python_sitelib}/zypp_plugin.py
+install -m 0644 python/zypp_plugin.py 
%{buildroot}%{python_sitelib}/zypp_plugin.py
 %py_compile -O %{buildroot}/%{python_sitelib}
 %endif
 %if 0%{?have_python3}
 mkdir -p %{buildroot}%{python3_sitelib}
-install python/zypp_plugin.py %{buildroot}%{python3_sitelib}/zypp_plugin.py
+install -m 0644 python/zypp_plugin.py 
%{buildroot}%{python3_sitelib}/zypp_plugin.py
 %py3_compile -O %{buildroot}/%{python3_sitelib}
 %endif
 




commit zypp-plugin for openSUSE:Factory

2018-02-28 Thread root
Hello community,

here is the log from the commit of package zypp-plugin for openSUSE:Factory 
checked in at 2018-02-28 20:01:48

Comparing /work/SRC/openSUSE:Factory/zypp-plugin (Old)
 and  /work/SRC/openSUSE:Factory/.zypp-plugin.new (New)


Package is "zypp-plugin"

Wed Feb 28 20:01:48 2018 rev:14 rq:580274 version:0.6.3

Changes:

--- /work/SRC/openSUSE:Factory/zypp-plugin/zypp-plugin.changes  2018-01-25 
12:38:44.895684097 +0100
+++ /work/SRC/openSUSE:Factory/.zypp-plugin.new/zypp-plugin.changes 
2018-02-28 20:01:50.965879527 +0100
@@ -1,0 +2,5 @@
+Mon Feb 19 15:53:29 CET 2018 - m...@suse.com
+
+- Provide python3-zypp-plugin in SLE12-SP3 (bsc#1081596)
+
+---



Other differences:
--
++ zypp-plugin.spec ++
--- /var/tmp/diff_new_pack.opuOdI/_old  2018-02-28 20:01:52.133837267 +0100
+++ /var/tmp/diff_new_pack.opuOdI/_new  2018-02-28 20:01:52.133837267 +0100
@@ -43,8 +43,12 @@
 ### SLE-12* and even older
 %else
 %define have_python2 1
+%if ( 0%{?suse_version} == 1315 && 0%{?sle_version} == 120300 )
+%define have_python3 1
+%else
 %define have_python3 0
 %endif
+%endif
 ### 
 
 %description
@@ -93,6 +97,22 @@
 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.
 
+%if 0%{?have_python3}
+%package -n python3-%{name}
+Summary:Helper that makes writing ZYpp plugins in python easier
+Group:  System/Packages
+Requires:   python3
+BuildRequires:  python3-devel
+
+%files -n python3-%{name}
+%defattr(-,root,root)
+%doc COPYING
+%{python3_sitelib}/*
+
+%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
 %endif
 ### 
 

++ zypp-plugin-0.6.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.changes 
new/zypp-plugin/package/zypp-plugin.changes
--- old/zypp-plugin/package/zypp-plugin.changes 2018-01-19 15:20:03.0 
+0100
+++ new/zypp-plugin/package/zypp-plugin.changes 2018-02-19 15:54:50.0 
+0100
@@ -1,4 +1,9 @@
 ---
+Mon Feb 19 15:53:29 CET 2018 - m...@suse.com
+
+- Provide python3-zypp-plugin in SLE12-SP3 (bsc#1081596)
+
+---
 Fri Jan 19 15:15:38 CET 2018 - m...@suse.de
 
 - Disable singlespec packaging in SLE12* and older distros while it's
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.spec 
new/zypp-plugin/package/zypp-plugin.spec
--- old/zypp-plugin/package/zypp-plugin.spec2018-01-19 15:20:03.0 
+0100
+++ new/zypp-plugin/package/zypp-plugin.spec2018-02-19 15:54:50.0 
+0100
@@ -42,8 +42,12 @@
 ### SLE-12* and even older
 %else
 %define have_python2 1
+%if ( 0%{?suse_version} == 1315 && 0%{?sle_version} == 120300 )
+%define have_python3 1
+%else
 %define have_python3 0
 %endif
+%endif
 ### 
 
 %description
@@ -92,6 +96,22 @@
 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.
 
+%if 0%{?have_python3}
+%package -n python3-%{name}
+Summary:Helper that makes writing ZYpp plugins in python easier
+Group:  System/Packages
+Requires:   python3
+BuildRequires:  python3-devel
+
+%files -n python3-%{name}
+%defattr(-,root,root)
+%doc COPYING
+%{python3_sitelib}/*
+
+%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
 %endif
 ### 
 




commit zypp-plugin for openSUSE:Factory

2018-01-25 Thread root
Hello community,

here is the log from the commit of package zypp-plugin for openSUSE:Factory 
checked in at 2018-01-25 12:38:43

Comparing /work/SRC/openSUSE:Factory/zypp-plugin (Old)
 and  /work/SRC/openSUSE:Factory/.zypp-plugin.new (New)


Package is "zypp-plugin"

Thu Jan 25 12:38:43 2018 rev:13 rq:568078 version:0.6.3

Changes:

--- /work/SRC/openSUSE:Factory/zypp-plugin/zypp-plugin.changes  2017-11-19 
11:09:56.074574032 +0100
+++ /work/SRC/openSUSE:Factory/.zypp-plugin.new/zypp-plugin.changes 
2018-01-25 12:38:44.895684097 +0100
@@ -1,0 +2,22 @@
+Fri Jan 19 15:15:38 CET 2018 - m...@suse.de
+
+- Disable singlespec packaging in SLE12* and older distros while it's
+  not working there. They provide python2 packages only.
+
+---
+Wed Jan  3 15:53:28 UTC 2018 - tchva...@suse.com
+
+- Fix a bit the obsoletes/provides to allow migration, previously
+  was overwritten by macros
+- BR python-rpm-macros to build on older distributions
+- Fix bit python detection conditions on install phase to be better
+  readable and uniform
+
+---
+Mon Dec 11 14:15:36 UTC 2017 - tchva...@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
+
+---

Old:

  zypp-plugin-0.6.2.tar.bz2

New:

  zypp-plugin-0.6.3.tar.bz2



Other differences:
--
++ zypp-plugin.spec ++
--- /var/tmp/diff_new_pack.cP1jtX/_old  2018-01-25 12:38:45.535654220 +0100
+++ /var/tmp/diff_new_pack.cP1jtX/_new  2018-01-25 12:38:45.535654220 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zypp-plugin
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,74 +16,84 @@
 #
 
 
-%if 0%{?suse_version} >= 1320
-%global build_py3 1
-%endif
+%define singlespec_py3 ( 0%{?suse_version} > 1330 )
 
 Name:   zypp-plugin
-Version:0.6.2
+Version:0.6.3
 Release:0
-Url:https://gitorious.org/opensuse/zypp-plugin
 Summary:Helper that makes writing ZYpp plugins easier
 License:GPL-2.0
 Group:  System/Packages
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Url:https://github.com/openSUSE/zypp-plugin
 Source0:%{name}-%{version}.tar.bz2
-%if 0%{?suse_version} >= 1210
 BuildArch:  noarch
+
+%if %{singlespec_py3}
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+BuildRequires:  %{python_module devel}
+BuildRequires:  python-rpm-macros
+Requires:   python-base
+# provide old names for py2 package
+%if "%{python_flavor}" == "python2"
+Obsoletes:  zypp-plugin-python < %{version}-%{release}
+Provides:   zypp-plugin-python = %{version}-%{release}
+%endif
+%python_subpackages
+### 
+### SLE-12* and even older
+%else
+%define have_python2 1
+%define have_python3 0
 %endif
+### 
 
 %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
 %setup -q -n zypp-plugin
 
 %build
+:
 
 %install
-%{__mkdir_p} %{buildroot}%{python_sitelib}
-%{__install} python/zypp_plugin.py %{buildroot}%{python_sitelib}/zypp_plugin.py
+%if 0%{?have_python2}
+mkdir -p %{buildroot}%{python_sitelib}
+install python/zypp_plugin.py %{buildroot}%{python_sitelib}/zypp_plugin.py
 %py_compile -O %{buildroot}/%{python_sitelib}
-%if 0%{?build_py3}
-%{__mkdir_p} %{buildroot}%{python3_sitelib}
-%{__install} python/zypp_plugin.py 
%{buildroot}%{python3_sitelib}/zypp_plugin.py
+%endif
+%if 0%{?have_python3}
+mkdir -p %{buildroot}%{python3_sitelib}
+install python/zypp_plugin.py %{buildroot}%{python3_sitelib}/zypp_plugin.py
 %py3_compile -O %{buildroot}/%{python3_sitelib}
 %endif
 
-%if 0%{?build_py3}
-%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
+%if %{singlespec_py3}
+%files %{python_files}
+%doc COPYING
+%{python_sitelib}/*
 

commit zypp-plugin for openSUSE:Factory

2017-11-19 Thread root
Hello community,

here is the log from the commit of package zypp-plugin for openSUSE:Factory 
checked in at 2017-11-19 11:09:32

Comparing /work/SRC/openSUSE:Factory/zypp-plugin (Old)
 and  /work/SRC/openSUSE:Factory/.zypp-plugin.new (New)


Package is "zypp-plugin"

Sun Nov 19 11:09:32 2017 rev:12 rq:542473 version:0.6.2

Changes:

--- /work/SRC/openSUSE:Factory/zypp-plugin/zypp-plugin.changes  2017-10-28 
14:21:18.628372163 +0200
+++ /work/SRC/openSUSE:Factory/.zypp-plugin.new/zypp-plugin.changes 
2017-11-19 11:09:56.074574032 +0100
@@ -1,0 +2,6 @@
+Thu Nov  9 17:46:45 CET 2017 - m...@suse.de
+
+- Don't use a shebang in the module
+- version 0.6.2
+
+---

Old:

  zypp-plugin-0.6.1.tar.bz2

New:

  zypp-plugin-0.6.2.tar.bz2



Other differences:
--
++ zypp-plugin.spec ++
--- /var/tmp/diff_new_pack.p9FFao/_old  2017-11-19 11:10:01.722368102 +0100
+++ /var/tmp/diff_new_pack.p9FFao/_new  2017-11-19 11:10:01.726367956 +0100
@@ -21,7 +21,7 @@
 %endif
 
 Name:   zypp-plugin
-Version:0.6.1
+Version:0.6.2
 Release:0
 Url:https://gitorious.org/opensuse/zypp-plugin
 Summary:Helper that makes writing ZYpp plugins easier

++ zypp-plugin-0.6.1.tar.bz2 -> zypp-plugin-0.6.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.changes 
new/zypp-plugin/package/zypp-plugin.changes
--- old/zypp-plugin/package/zypp-plugin.changes 2017-10-26 17:24:36.0 
+0200
+++ new/zypp-plugin/package/zypp-plugin.changes 2017-11-09 17:48:00.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Thu Nov  9 17:46:45 CET 2017 - m...@suse.de
+
+- Don't use a shebang in the module
+- version 0.6.2
+
+---
 Thu Oct 26 17:14:59 CEST 2017 - m...@suse.de
 
 - Let zypp-plugin-python provide python2-zypp-plugin to be
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.spec 
new/zypp-plugin/package/zypp-plugin.spec
--- old/zypp-plugin/package/zypp-plugin.spec2017-10-26 17:24:36.0 
+0200
+++ new/zypp-plugin/package/zypp-plugin.spec2017-11-09 17:48:00.0 
+0100
@@ -20,7 +20,7 @@
 %endif
 
 Name:   zypp-plugin
-Version:0.6.1
+Version:0.6.2
 Release:0
 Url:https://gitorious.org/opensuse/zypp-plugin
 Summary:Helper that makes writing ZYpp plugins easier
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/python/zypp_plugin.py 
new/zypp-plugin/python/zypp_plugin.py
--- old/zypp-plugin/python/zypp_plugin.py   2017-10-26 17:24:36.0 
+0200
+++ new/zypp-plugin/python/zypp_plugin.py   2017-11-09 17:48:00.0 
+0100
@@ -1,5 +1,3 @@
-#! /usr/bin/python
-#
 # Copyright (c) 2010 Novell, Inc.
 # All Rights Reserved.
 #




commit zypp-plugin for openSUSE:Factory

2017-10-28 Thread root
Hello community,

here is the log from the commit of package zypp-plugin for openSUSE:Factory 
checked in at 2017-10-28 14:21:18

Comparing /work/SRC/openSUSE:Factory/zypp-plugin (Old)
 and  /work/SRC/openSUSE:Factory/.zypp-plugin.new (New)


Package is "zypp-plugin"

Sat Oct 28 14:21:18 2017 rev:11 rq:536916 version:0.6.1

Changes:

--- /work/SRC/openSUSE:Factory/zypp-plugin/zypp-plugin.changes  2015-05-06 
11:18:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.zypp-plugin.new/zypp-plugin.changes 
2017-10-28 14:21:18.628372163 +0200
@@ -1,0 +2,13 @@
+Thu Oct 26 17:14:59 CEST 2017 - m...@suse.de
+
+- Let zypp-plugin-python provide python2-zypp-plugin to be
+  consistent with python3-zypp-plugin.
+- version 0.6.1
+
+---
+Thu Oct 26 12:43:19 CEST 2017 - m...@suse.de
+
+- Fix specfile to be able to build for python3
+- version 0.6
+
+---

Old:

  zypp-plugin-0.5.tar.bz2

New:

  zypp-plugin-0.6.1.tar.bz2



Other differences:
--
++ zypp-plugin.spec ++
--- /var/tmp/diff_new_pack.GSHjV0/_old  2017-10-28 14:21:19.084355492 +0200
+++ /var/tmp/diff_new_pack.GSHjV0/_new  2017-10-28 14:21:19.088355347 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zypp-plugin
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,12 @@
 #
 
 
+%if 0%{?suse_version} >= 1320
+%global build_py3 1
+%endif
+
 Name:   zypp-plugin
-Version:0.5
+Version:0.6.1
 Release:0
 Url:https://gitorious.org/opensuse/zypp-plugin
 Summary:Helper that makes writing ZYpp plugins easier
@@ -25,46 +29,61 @@
 Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:%{name}-%{version}.tar.bz2
-
-# Actually libzypp(plugin) should be required. Unfortunately the corresponing
-# provides was introduced to late for SUSE Manager/SLE-11-SP1. We do not want 
to
-# enforce libzypp update to satisfy this, so the Requires should saty disabled,
-# until libzypp on SUSE Manager/SLE-11-SP1 was updated and provides 
libzypp(plugin).
-#Requires: libzypp(plugin)
-BuildRequires:  python-devel
-Requires:   python
-
-%{?!py_sitearch: %global py_sitearch %(python -c 'from distutils.sysconfig 
import get_python_lib; print get_python_lib(True)')}
+%if 0%{?suse_version} >= 1210
+BuildArch:  noarch
+%endif
 
 %description
 Empty main package. Helper for different languages reside in subpackages.
 
-%package python
-Summary:Helper that makes writing ZYpp plugins in python easier
-Group:  System/Packages
-
-%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.
-
 %prep
 %setup -q -n zypp-plugin
 
 %build
 
 %install
-%{__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
+%{__mkdir_p} %{buildroot}%{python_sitelib}
+%{__install} python/zypp_plugin.py %{buildroot}%{python_sitelib}/zypp_plugin.py
+%py_compile -O %{buildroot}/%{python_sitelib}
+%if 0%{?build_py3}
+%{__mkdir_p} %{buildroot}%{python3_sitelib}
+%{__install} python/zypp_plugin.py 
%{buildroot}%{python3_sitelib}/zypp_plugin.py
+%py3_compile -O %{buildroot}/%{python3_sitelib}
+%endif
+
+%if 0%{?build_py3}
+%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
-%{py_sitearch}/*
+%{python_sitelib}/*
+
+%if 0%{?build_py3}
+%files -n python3-%{name}
+%defattr(-,root,root)
+%doc COPYING
+%{python3_sitelib}/*

commit zypp-plugin for openSUSE:Factory

2015-05-06 Thread h_root
Hello community,

here is the log from the commit of package zypp-plugin for openSUSE:Factory 
checked in at 2015-05-06 11:18:41

Comparing /work/SRC/openSUSE:Factory/zypp-plugin (Old)
 and  /work/SRC/openSUSE:Factory/.zypp-plugin.new (New)


Package is zypp-plugin

Changes:

--- /work/SRC/openSUSE:Factory/zypp-plugin/zypp-plugin.changes  2014-01-27 
15:32:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.zypp-plugin.new/zypp-plugin.changes 
2015-05-06 11:18:43.0 +0200
@@ -1,0 +2,12 @@
+Tue Mar 10 17:18:59 CET 2015 - lchiqui...@suse.de
+
+- Add COPYING file
+
+---
+Mon Aug 18 13:31:39 CEST 2014 - m...@suse.de
+
+- Force usage of the official python VM; no longer use 
+  /usr/bin/env python (bnc#889363)
+- version 0.5
+
+---

Old:

  zypp-plugin-0.4.tar.bz2

New:

  zypp-plugin-0.5.tar.bz2



Other differences:
--
++ zypp-plugin.spec ++
--- /var/tmp/diff_new_pack.6M8NHz/_old  2015-05-06 11:18:44.0 +0200
+++ /var/tmp/diff_new_pack.6M8NHz/_new  2015-05-06 11:18:44.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zypp-plugin
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   zypp-plugin
-Version:0.4
+Version:0.5
 Release:0
 Url:https://gitorious.org/opensuse/zypp-plugin
 Summary:Helper that makes writing ZYpp plugins easier
@@ -64,6 +64,7 @@
 
 %files python
 %defattr(-,root,root)
+%doc COPYING
 %{py_sitearch}/*
 
 %changelog

++ zypp-plugin-0.4.tar.bz2 - zypp-plugin-0.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.changes 
new/zypp-plugin/package/zypp-plugin.changes
--- old/zypp-plugin/package/zypp-plugin.changes 2014-01-25 17:23:01.0 
+0100
+++ new/zypp-plugin/package/zypp-plugin.changes 2015-04-28 16:34:26.0 
+0200
@@ -1,4 +1,16 @@
 ---
+Tue Mar 10 17:18:59 CET 2015 - lchiqui...@suse.de
+
+- Add COPYING file
+
+---
+Mon Aug 18 13:31:39 CEST 2014 - m...@suse.de
+
+- Force usage of the official python VM; no longer use 
+  /usr/bin/env python (bnc#889363)
+- version 0.5
+
+---
 Sat Jan 25 17:21:49 CET 2014 - m...@suse.de
 
 - Add .pyc/.pyo to package
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.spec 
new/zypp-plugin/package/zypp-plugin.spec
--- old/zypp-plugin/package/zypp-plugin.spec2014-01-25 17:23:01.0 
+0100
+++ new/zypp-plugin/package/zypp-plugin.spec2015-04-28 16:34:26.0 
+0200
@@ -13,7 +13,7 @@
 # published by the Open Source Initiative.
 #
 Name:  zypp-plugin
-Version:   0.4
+Version:   0.5
 Release:   0
 Group: System/Packages
 License:   GPL-2.0
@@ -61,4 +61,5 @@
 
 %files python
 %defattr(-,root,root)
+%doc COPYING
 %{py_sitearch}/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/python/zypp_plugin.py 
new/zypp-plugin/python/zypp_plugin.py
--- old/zypp-plugin/python/zypp_plugin.py   2014-01-25 17:23:01.0 
+0100
+++ new/zypp-plugin/python/zypp_plugin.py   2015-04-28 16:34:26.0 
+0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#! /usr/bin/python
 #
 # Copyright (c) 2010 Novell, Inc.
 # All Rights Reserved.




commit zypp-plugin for openSUSE:Factory

2014-01-27 Thread h_root
Hello community,

here is the log from the commit of package zypp-plugin for openSUSE:Factory 
checked in at 2014-01-27 15:32:00

Comparing /work/SRC/openSUSE:Factory/zypp-plugin (Old)
 and  /work/SRC/openSUSE:Factory/.zypp-plugin.new (New)


Package is zypp-plugin

Changes:

--- /work/SRC/openSUSE:Factory/zypp-plugin/zypp-plugin.changes  2012-06-25 
12:12:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.zypp-plugin.new/zypp-plugin.changes 
2014-01-27 15:32:01.0 +0100
@@ -1,0 +2,6 @@
+Sat Jan 25 17:21:49 CET 2014 - m...@suse.de
+
+- Add .pyc/.pyo to package
+- version 0.4
+
+---

Old:

  zypp-plugin-0.3.tar.bz2

New:

  zypp-plugin-0.4.tar.bz2



Other differences:
--
++ zypp-plugin.spec ++
--- /var/tmp/diff_new_pack.z2Cvr1/_old  2014-01-27 15:32:01.0 +0100
+++ /var/tmp/diff_new_pack.z2Cvr1/_new  2014-01-27 15:32:01.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zypp-plugin
 #
-# Copyright (c) 2011-2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -11,14 +11,18 @@
 # case the license is the MIT License). An Open Source License is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+
+
 Name:  zypp-plugin
-Version:   0.3
+Version:0.4
 Release:   0
-Group: System/Packages
-License:   GPL-2.0
 Url:   https://gitorious.org/opensuse/zypp-plugin
 Summary:   Helper that makes writing ZYpp plugins easier
+License:GPL-2.0
+Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:   %{name}-%{version}.tar.bz2
 
@@ -30,13 +34,14 @@
 BuildRequires: python-devel
 Requires:  python
 
+%{?!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.
 
 %package python
-Group: System/Packages
-License:   GPL-2.0
 Summary:   Helper that makes writing ZYpp plugins in python easier
+Group:  System/Packages
 
 %description python
 This API allows writing ZYpp plugins by just subclassing from a python class
@@ -48,9 +53,17 @@
 %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}/*
+
+%changelog

++ zypp-plugin-0.3.tar.bz2 - zypp-plugin-0.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.changes 
new/zypp-plugin/package/zypp-plugin.changes
--- old/zypp-plugin/package/zypp-plugin.changes 2012-06-21 09:29:00.0 
+0200
+++ new/zypp-plugin/package/zypp-plugin.changes 2014-01-25 17:23:01.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Sat Jan 25 17:21:49 CET 2014 - m...@suse.de
+
+- Add .pyc/.pyo to package
+- version 0.4
+
+---
 Wed May  9 10:01:48 UTC 2012 - co...@suse.com
 
 - patch license to be in spdx.org format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.spec 
new/zypp-plugin/package/zypp-plugin.spec
--- old/zypp-plugin/package/zypp-plugin.spec2012-06-21 09:29:00.0 
+0200
+++ new/zypp-plugin/package/zypp-plugin.spec2014-01-25 17:23:01.0 
+0100
@@ -13,7 +13,7 @@
 # published by the Open Source Initiative.
 #
 Name:  zypp-plugin
-Version:   0.3
+Version:   0.4
 Release:   0
 Group: System/Packages
 License:   GPL-2.0
@@ -30,6 +30,8 @@
 BuildRequires: python-devel
 Requires:  python
 
+%{?!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.
 
@@ -48,9 +50,15 @@
 %build
 
 %install

commit zypp-plugin for openSUSE:Factory

2012-06-25 Thread h_root
Hello community,

here is the log from the commit of package zypp-plugin for openSUSE:Factory 
checked in at 2012-06-25 12:12:32

Comparing /work/SRC/openSUSE:Factory/zypp-plugin (Old)
 and  /work/SRC/openSUSE:Factory/.zypp-plugin.new (New)


Package is zypp-plugin, Maintainer is m...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/zypp-plugin/zypp-plugin.changes  2011-09-23 
12:53:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.zypp-plugin.new/zypp-plugin.changes 
2012-06-25 12:12:33.0 +0200
@@ -1,0 +2,5 @@
+Wed May  9 10:01:48 UTC 2012 - co...@suse.com
+
+- patch license to be in spdx.org format
+
+---



Other differences:
--
++ zypp-plugin.spec ++
--- /var/tmp/diff_new_pack.V3LhFt/_old  2012-06-25 12:12:34.0 +0200
+++ /var/tmp/diff_new_pack.V3LhFt/_new  2012-06-25 12:12:34.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zypp-plugin
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011-2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -11,17 +11,12 @@
 # case the license is the MIT License). An Open Source License is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
-
-
-
 Name:   zypp-plugin
 Version:0.3
-Release:1
+Release:   0
 Group:  System/Packages
-License:GPLv2
+License:   GPL-2.0
 Url:https://gitorious.org/opensuse/zypp-plugin
 Summary:Helper that makes writing ZYpp plugins easier
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -40,7 +35,7 @@
 
 %package python
 Group:  System/Packages
-License:GPLv2
+License:   GPL-2.0
 Summary:Helper that makes writing ZYpp plugins in python easier
 
 %description python
@@ -59,4 +54,3 @@
 %files python
 %defattr(-,root,root)
 %{py_sitedir}/zypp_plugin.py
-%changelog

++ zypp-plugin-0.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/README new/zypp-plugin/README
--- old/zypp-plugin/README  2011-07-05 12:28:27.0 +0200
+++ new/zypp-plugin/README  2012-06-21 09:29:00.0 +0200
@@ -15,7 +15,7 @@
 
 ==Sources
 
-A git repo is maintained at https://gitorious.org/opensuse/zypp-plugin
+A git repo is maintained at https://github.com/openSUSE/zypp-plugin
 
 ==Todo
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.changes 
new/zypp-plugin/package/zypp-plugin.changes
--- old/zypp-plugin/package/zypp-plugin.changes 2011-07-05 12:28:27.0 
+0200
+++ new/zypp-plugin/package/zypp-plugin.changes 2012-06-21 09:29:00.0 
+0200
@@ -1,4 +1,9 @@
 ---
+Wed May  9 10:01:48 UTC 2012 - co...@suse.com
+
+- patch license to be in spdx.org format
+
+---
 Tue Jul  5 12:19:37 CEST 2011 - m...@suse.de
 
 - Fix specfile for factory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zypp-plugin/package/zypp-plugin.spec 
new/zypp-plugin/package/zypp-plugin.spec
--- old/zypp-plugin/package/zypp-plugin.spec2011-07-05 12:28:27.0 
+0200
+++ new/zypp-plugin/package/zypp-plugin.spec2012-06-21 09:29:00.0 
+0200
@@ -1,9 +1,22 @@
 #
+# spec file for package zypp-plugin
+#
+# Copyright (c) 2011-2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An Open Source License is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
 Name:  zypp-plugin
 Version:   0.3
 Release:   0
 Group: System/Packages
-License:   GPLv2
+License:   GPL-2.0
 Url:   https://gitorious.org/opensuse/zypp-plugin
 Summary:   Helper that makes writing ZYpp plugins easier
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -22,7 +35,7 @@
 
 %package 

commit zypp-plugin for openSUSE:Factory

2011-07-07 Thread h_root

Hello community,

here is the log from the commit of package zypp-plugin for openSUSE:Factory
checked in at Thu Jul 7 15:20:37 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ /mounts/work_src_done/STABLE/zypp-plugin/zypp-plugin.changes
2011-07-05 12:28:52.0 +0200
@@ -0,0 +1,13 @@
+---
+Tue Jul  5 12:19:37 CEST 2011 - m...@suse.de
+
+- Fix specfile for factory
+
+---
+Mon Jul  4 15:16:39 CEST 2011 - m...@suse.de
+
+- Provide zypp-plugin-python as stand alone package so
+  that it can be used in other zypp plugins like snapper.
+  (formerly a subpackage of zypp-plugin-spacewalk)
+- version 0.3
+

calling whatdependson for head-i586


New:

  zypp-plugin-0.3.tar.bz2
  zypp-plugin.changes
  zypp-plugin.spec



Other differences:
--
++ zypp-plugin.spec ++
#
# spec file for package zypp-plugin
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:   zypp-plugin
Version:0.3
Release:1
Group:  System/Packages
License:GPLv2
Url:https://gitorious.org/opensuse/zypp-plugin
Summary:Helper that makes writing ZYpp plugins easier
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
Source0:%{name}-%{version}.tar.bz2

# Actually libzypp(plugin) should be required. Unfortunately the corresponing
# provides was introduced to late for SUSE Manager/SLE-11-SP1. We do not want to
# enforce libzypp update to satisfy this, so the Requires should saty disabled,
# until libzypp on SUSE Manager/SLE-11-SP1 was updated and provides 
libzypp(plugin).
#Requires:  libzypp(plugin)
BuildRequires:  python-devel
Requires:   python

%description
Empty main package. Helper for different languages reside in subpackages.

%package python
Group:  System/Packages
License:GPLv2
Summary:Helper that makes writing ZYpp plugins in python easier

%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.

%prep
%setup -q -n zypp-plugin

%build

%install
%{__mkdir_p} %{buildroot}%{py_sitedir}
%{__install} python/zypp_plugin.py %{buildroot}%{py_sitedir}/zypp_plugin.py

%files python
%defattr(-,root,root)
%{py_sitedir}/zypp_plugin.py
%changelog





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org