Hello community, here is the log from the commit of package yum for openSUSE:Factory checked in at 2017-11-09 16:19:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yum (Old) and /work/SRC/openSUSE:Factory/.yum.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yum" Thu Nov 9 16:19:40 2017 rev:25 rq:538145 version:3.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/yum/yum.changes 2017-05-20 10:10:32.642326823 +0200 +++ /work/SRC/openSUSE:Factory/.yum.new/yum.changes 2017-11-09 16:19:40.689085802 +0100 @@ -1,0 +2,7 @@ +Wed Nov 1 13:31:28 UTC 2017 - [email protected] + +- Explicitly use python2 +- Rename subpackage +- Run spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yum.spec ++++++ --- /var/tmp/diff_new_pack.zgBwPf/_old 2017-11-09 16:19:41.441058346 +0100 +++ /var/tmp/diff_new_pack.zgBwPf/_new 2017-11-09 16:19:41.445058199 +0100 @@ -46,7 +46,7 @@ Patch11: %{name}-3.2.29-parse-restart_suggested.patch BuildRequires: dbus-1 BuildRequires: intltool -BuildRequires: python-devel +BuildRequires: python2-devel BuildRequires: systemd Requires: python-yum = %{version}-%{release} Requires: rpm >= 4.4.0 @@ -54,7 +54,6 @@ Requires(pre): coreutils Suggests: cron Suggests: logrotate -BuildRoot: %{_tmppath}/%{name}-%{version}-build %lang_package %description @@ -74,22 +73,25 @@ yum-updatesd provides a daemon which checks for available updates and can notify you when they are available via email, syslog or dbus. -%package -n python-yum +%package -n python2-yum Summary: YUM update notification daemon Group: Development/Languages/Python Requires: dbus-1-python -Requires: python-gobject2 -Requires: python-gpgme -Requires: python-iniparse Requires: python-pyliblzma Requires: python-urlgrabber -Requires: python-xml +Requires: python2-gobject2 +Requires: python2-gpgme +Requires: python2-iniparse +Requires: python2-xml Requires: rpm-python Requires: yum-metadata-parser >= 1.1.0 +Provides: python-yum = %{version}-%{release} +Obsoletes: python-yum < %{version}-%{release} +Provides: python-yum = %{version} Provides: yum-common = %{version} Obsoletes: yum-common < %{version} -%description -n python-yum +%description -n python2-yum Common libraries for YUM based programs %prep @@ -102,7 +104,7 @@ %patch8 -p1 %patch9 -p1 %patch10 -p1 -%patch11 -p0 +%patch11 # Fix non-executable scripts rpmlint issue: sed -i "s|#!.*%{_bindir}/python.*||" rpmUtils/{arch,__init__,miscutils,oldUtils,transaction,updates}.py @@ -119,10 +121,10 @@ %endif %build -make +make %{?_smp_mflags} %install -%makeinstall +%make_install install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/yum.conf # install custom init script @@ -203,7 +205,6 @@ %service_del_postun %{name}-updatesd.service %files -%defattr(-,root,root) %doc README AUTHORS COPYING TODO PLUGINS %dir %{_localstatedir}/cache/%{name} %dir %{_sysconfdir}/%{name} @@ -223,15 +224,12 @@ %{_bindir}/* %exclude %{_mandir}/man*/yum-updatesd* -%files lang -f %name.lang -%defattr(-,root,root) +%files lang -f %{name}.lang -%files -n python-yum -%defattr(-,root,root) +%files -n python2-yum %{python_sitearch}/* %files updatesd -%defattr(-,root,root) %attr(644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/yum-updatesd.conf %config %{_unitdir}/%{name}-updatesd.service %{_sbindir}/rcyum-updatesd
