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.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.zypp-plugin.new/zypp-plugin.changes 2014-01-27 15:32:01.000000000 +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.000000000 +0100 +++ /var/tmp/diff_new_pack.z2Cvr1/_new 2014-01-27 15:32:01.000000000 +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.000000000 +0200 +++ new/zypp-plugin/package/zypp-plugin.changes 2014-01-25 17:23:01.000000000 +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.spec 2012-06-21 09:29:00.000000000 +0200 +++ new/zypp-plugin/package/zypp-plugin.spec 2014-01-25 17:23:01.000000000 +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 -%{__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}/* -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org