commit dnf-plugins-core for openSUSE:Factory

2020-10-28 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2020-10-28 11:26:04

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new.3463 (New)


Package is "dnf-plugins-core"

Wed Oct 28 11:26:04 2020 rev:14 rq:843804 version:4.0.18

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2020-07-15 14:54:04.258758326 +0200
+++ 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.3463/dnf-plugins-core.changes  
2020-10-28 11:26:15.986902896 +0100
@@ -1,0 +2,14 @@
+Sat Oct 24 16:59:18 UTC 2020 - Neal Gompa 
+
+- Update to version 4.0.18
+  + [needs-restarting] Fix plugin fail if needs-restarting.d does not exist
+  + [needs-restarting] add kernel-rt to reboot list
+  + Fix debug-restore command
+  + [config-manager] enable/disable comma separated pkgs (rh#1830530)
+  + [debug] Use standard demands.resolving for transaction handling
+  + [debug] Do not remove install-only packages (rh#1844533)
+  + return error when dnf download failed
+  + [reposync] Add latest NEVRAs per stream to download (rh#1833074)
+  + copr: don't try to list runtime dependencies
+
+---

Old:

  dnf-plugins-core-4.0.17.tar.gz

New:

  dnf-plugins-core-4.0.18.tar.gz



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.Vz2rS4/_old  2020-10-28 11:26:16.594903547 +0100
+++ /var/tmp/diff_new_pack.Vz2rS4/_new  2020-10-28 11:26:16.594903547 +0100
@@ -56,7 +56,7 @@
 #global prerel rc1
 
 Name:   dnf-plugins-core
-Version:4.0.17
+Version:4.0.18
 Release:0
 Summary:Core Plugins for DNF
 License:GPL-2.0-or-later

++ dnf-plugins-core-4.0.17.tar.gz -> dnf-plugins-core-4.0.18.tar.gz ++
 49840 lines of diff (skipped)




commit dnf-plugins-core for openSUSE:Factory

2020-07-15 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2020-07-15 14:53:59

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new.3060 (New)


Package is "dnf-plugins-core"

Wed Jul 15 14:53:59 2020 rev:13 rq:819224 version:4.0.17

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2020-02-27 16:57:46.858851981 +0100
+++ 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.3060/dnf-plugins-core.changes  
2020-07-15 14:54:04.258758326 +0200
@@ -1,0 +2,21 @@
+Tue Jul  7 11:44:27 UTC 2020 - Neal Gompa 
+
+- Update to version 4.0.17
+  + Support remote files in dnf builddep
+  + [download] Respect repo priority (rh#1800342)
+  + [versionlock] Take obsoletes into account (rh#1627124)
+  + Move args "--set-enabled", "--set-disabled" from DNF (rh#1727882)
+  + Add missing arguments --set-enabled/--set-diabled into error message
+  + Warn when --enablerepo/--disablerepo args were passed (rh#1727882)
+  + [copr] add support for enabling/disabling runtime dependencies
+  + [copr] no-liability text to be always printed
+  + [repomanage] Add modular support (rh#1804720)
+  + [needs-restarting] add options using .conf file (rh#1810123)
+- Fix author identity in changes
+
+---
+Fri Jul  3 11:28:44 UTC 2020 - Petr Gajdos 
+
+- test package and test it with pytest (drop dependency on nose)
+
+---

Old:

  dnf-plugins-core-4.0.14.tar.gz

New:

  dnf-plugins-core-4.0.17.tar.gz



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.mV9L0p/_old  2020-07-15 14:54:05.334759433 +0200
+++ /var/tmp/diff_new_pack.mV9L0p/_new  2020-07-15 14:54:05.338759437 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package dnf-plugins-core
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2020 Neal Gompa .
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,13 +13,13 @@
 # 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/
 #
 
 
-%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.17}
+%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.22}
 %global dnf_plugins_extra 2.0.0
-%global hawkey_version 0.37.0
+%global hawkey_version 0.46.1
 
 %if 0%{?is_opensuse}
 # Copr targets are available for openSUSE Leap 15.0 and newer
@@ -51,18 +51,17 @@
 %global deconflict_prefix %{nil}
 %endif
 
-# Tests are broken on SUSE for now
-%bcond_with tests
+%bcond_without tests
 
 #global prerel rc1
 
 Name:   dnf-plugins-core
-Version:4.0.14
+Version:4.0.17
 Release:0
 Summary:Core Plugins for DNF
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Packages
-Url:https://github.com/rpm-software-management/dnf-plugins-core
+URL:https://github.com/rpm-software-management/dnf-plugins-core
 Source0:%{url}/archive/%{version}/%{name}-%{version}.tar.gz
 
 BuildArch:  noarch
@@ -86,10 +85,10 @@
 Provides:   dnf-command(debuginfo-install)
 Provides:   dnf-command(download)
 Provides:   dnf-command(repoclosure)
+Provides:   dnf-command(repodiff)
 Provides:   dnf-command(repograph)
 Provides:   dnf-command(repomanage)
 Provides:   dnf-command(reposync)
-Provides:   dnf-command(repodiff)
 
 # Plugins shift from extras to core
 Provides:   dnf-plugins-extras-debug = %{version}-%{release}
@@ -122,11 +121,11 @@
 BuildRequires:  python3-Sphinx
 BuildRequires:  python3-devel
 BuildRequires:  python3-dnf >= %{dnf_lowest_compatible}
-BuildRequires:  python3-nose
-Requires:   python3-dnf >= %{dnf_lowest_compatible}
-Requires:   python3-hawkey >= %{hawkey_version}
+BuildRequires:  python3-pytest
 Requires:   python3-dateutil
 Requires:   python3-distro
+Requires:   python3-dnf >= %{dnf_lowest_compatible}
+Requires:   python3-hawkey >= %{hawkey_version}
 
 Conflicts:  %{name} <= 0.1.5
 # let the both python plugin versions be updated simultaneously
@@ -153,8 +152,8 @@
 Summary:Yum-utils CLI compatibility layer
 Group:  System/Packages
 %if %{with as_yum}
-Obsoletes:  yum-utils < 4.0.0
 Obsoletes:  dnf-utils < %{version}-%{release}
+Obsoletes:  yum-utils < 4.0.0
 Provides:   dnf-utils = %{version}-%{release}
 # SUSE-specific 

commit dnf-plugins-core for openSUSE:Factory

2020-02-27 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2020-02-27 16:57:45

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new.26092 (New)


Package is "dnf-plugins-core"

Thu Feb 27 16:57:45 2020 rev:12 rq:779945 version:4.0.14

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2020-01-19 20:58:35.864086815 +0100
+++ 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.26092/dnf-plugins-core.changes 
2020-02-27 16:57:46.858851981 +0100
@@ -1,0 +2,9 @@
+Thu Feb 27 14:17:50 UTC 2020 - Neal Gompa 
+
+- Update to version 4.0.14
+  + Fix conflict for dnf download --resolve (rh#1787908)
+  + config-manager calls parser error when without options (rh#1782822)
+  + Update reposync.py with --norepopath option
+  + Fix: don't open stdin if versionlock is missing (rh#1785563)
+
+---

Old:

  dnf-plugins-core-4.0.13.tar.gz

New:

  dnf-plugins-core-4.0.14.tar.gz



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.NAWT7T/_old  2020-02-27 16:57:48.778855190 +0100
+++ /var/tmp/diff_new_pack.NAWT7T/_new  2020-02-27 16:57:48.778855190 +0100
@@ -57,7 +57,7 @@
 #global prerel rc1
 
 Name:   dnf-plugins-core
-Version:4.0.13
+Version:4.0.14
 Release:0
 Summary:Core Plugins for DNF
 License:GPL-2.0+

++ dnf-plugins-core-4.0.13.tar.gz -> dnf-plugins-core-4.0.14.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dnf-plugins-core-4.0.13/dnf-plugins-core.spec 
new/dnf-plugins-core-4.0.14/dnf-plugins-core.spec
--- old/dnf-plugins-core-4.0.13/dnf-plugins-core.spec   2020-01-15 
10:53:42.0 +0100
+++ new/dnf-plugins-core-4.0.14/dnf-plugins-core.spec   2020-02-24 
15:33:41.0 +0100
@@ -31,7 +31,7 @@
 %endif
 
 Name:   dnf-plugins-core
-Version:4.0.13
+Version:4.0.14
 Release:1%{?dist}
 Summary:Core Plugins for DNF
 License:GPLv2+
@@ -740,6 +740,12 @@
 %endif
 
 %changelog
+* Mon Feb 24 2020 Aleš Matěj  - 4.0.14-1
+- Fix conflict for dnf download --resolve (RhBug:1787908)
+- config-manager calls parser error when without options (RhBug:1782822)
+- Update reposync.py with --norepopath option
+- Fix: don't open stdin if versionlock is missing (RhBug:1785563)
+
 * Wed Jan 15 2020 Aleš Matěj  - 4.0.13-1
 - Fix: config_manager respect config file location during save
 - Redesign reposync --latest for modular system (RhBug:1775434)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dnf-plugins-core-4.0.13/doc/release_notes.rst 
new/dnf-plugins-core-4.0.14/doc/release_notes.rst
--- old/dnf-plugins-core-4.0.13/doc/release_notes.rst   2020-01-15 
10:53:42.0 +0100
+++ new/dnf-plugins-core-4.0.14/doc/release_notes.rst   2020-02-24 
15:33:41.0 +0100
@@ -22,6 +22,21 @@
 .. contents::
 
 
+4.0.14 Release Notes
+
+
+- Fix conflict for dnf download --resolve (RhBug:1787908)
+- config-manager calls parser error when without options (RhBug:1782822)
+- Update reposync.py with --norepopath option
+- Fix: don't open stdin if versionlock is missing (RhBug:1785563)
+
+Bugs fixed in 4.0.14:
+
+* :rhbug:`1787908`
+* :rhbug:`1782822`
+* :rhbug:`1785563`
+
+
 4.0.13 Release Notes
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dnf-plugins-core-4.0.13/doc/reposync.rst 
new/dnf-plugins-core-4.0.14/doc/reposync.rst
--- old/dnf-plugins-core-4.0.13/doc/reposync.rst2020-01-15 
10:53:42.0 +0100
+++ new/dnf-plugins-core-4.0.14/doc/reposync.rst2020-02-24 
15:33:41.0 +0100
@@ -41,6 +41,9 @@
 
 ``-p , --download-path=``
 Root path under which the downloaded repositories are stored, relative to 
the current working directory. Defaults to the current working directory. Every 
downloaded repository has a subdirectory named after its ID under this path.
+
+``--norepopath``
+Don't add the reponame to the download path. Can only be used when syncing 
a single repository (default is to add the reponame).
 
 ``--download-metadata``
 Download all repository metadata. Downloaded copy is instantly usable as a 
repository, no need to run createrepo_c on it.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dnf-plugins-core-4.0.13/doc/summaries_cache 
new/dnf-plugins-core-4.0.14/doc/summaries_cache
--- 

commit dnf-plugins-core for openSUSE:Factory

2020-01-19 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2020-01-19 20:57:50

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new.26092 (New)


Package is "dnf-plugins-core"

Sun Jan 19 20:57:50 2020 rev:11 rq:765594 version:4.0.13

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2019-12-16 15:19:37.951157555 +0100
+++ 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.26092/dnf-plugins-core.changes 
2020-01-19 20:58:35.864086815 +0100
@@ -1,0 +2,12 @@
+Sun Jan 19 16:04:23 UTC 2020 - Neal Gompa 
+
+- Update to version 4.0.13
+  + Fix: config_manager respect config file location during save
+  + Redesign reposync --latest for modular system (rh#1775434)
+  + [reposync] Fix --delete with multiple repos (rh#1774103)
+  + [doc] Skip creating and installing migrate documentation for Python 3+
+  + [config-manager] Allow use of --set-enabled without arguments (rh#1679213)
+  + [versionlock] Prevent conflicting/duplicate entries (rh#1782052)
+- Deconflict with zypper-needs-restarting on SLE to unblock PackageHub updates
+
+---

Old:

  dnf-plugins-core-4.0.12.tar.gz

New:

  dnf-plugins-core-4.0.13.tar.gz



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.ARwwKY/_old  2020-01-19 20:58:36.340087065 +0100
+++ /var/tmp/diff_new_pack.ARwwKY/_new  2020-01-19 20:58:36.340087065 +0100
@@ -2,7 +2,7 @@
 # spec file for package dnf-plugins-core
 #
 # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2019 Neal Gompa .
+# Copyright (c) 2020 Neal Gompa .
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -42,6 +42,14 @@
 %global yum_utils_subpackage_name dnf-utils
 %endif
 
+# Deal with SLE Backports issues
+%if 0%{?sle_version} && 0%{?is_backports}
+%bcond_without deconflict
+%global deconflict_prefix dnfutils-
+%else
+%bcond_with deconflict
+%global deconflict_prefix %{nil}
+%endif
 
 # Tests are broken on SUSE for now
 %bcond_with tests
@@ -49,7 +57,7 @@
 #global prerel rc1
 
 Name:   dnf-plugins-core
-Version:4.0.12
+Version:4.0.13
 Release:0
 Summary:Core Plugins for DNF
 License:GPL-2.0+
@@ -156,9 +164,11 @@
 Conflicts:  yum-changelog
 Conflicts:  yum-utils
 %endif
+%if ! %{with deconflict}
 # Cf. https://github.com/openSUSE/zypper/pull/254
 Conflicts:  zypper < 1.14.26
 Conflicts:  zypper-needs-restarting
+%endif
 Requires:   %{name} = %{version}-%{release}
 Requires:   dnf >= %{dnf_lowest_compatible}
 Requires:   python3-dnf >= %{dnf_lowest_compatible}
@@ -310,8 +320,11 @@
 ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yum-debug-restore
 ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yumdownloader
 
-# We never shipped this plugin, and we never will, since we never used YUM...
-rm %{buildroot}%{_mandir}/man8/dnf-migrate.8*
+%if %{with deconflict}
+# Deal with conflicts to unblock backports
+mv %{buildroot}%{_bindir}/needs-restarting 
%{buildroot}%{_bindir}/dnfutils-needs-restarting
+mv %{buildroot}%{_mandir}/man1/needs-restarting.1 
%{buildroot}%{_mandir}/man1/dnfutils-needs-restarting.1
+%endif
 
 %if ! %{with copr_plugin}
 # Delete if we're not shipping COPR plugin
@@ -384,8 +397,8 @@
 %{_mandir}/man1/dnf-utils.1*
 %{_bindir}/debuginfo-install
 %{_mandir}/man1/debuginfo-install.1*
-%{_bindir}/needs-restarting
-%{_mandir}/man1/needs-restarting.1*
+%{_bindir}/%{?deconflict_prefix}needs-restarting
+%{_mandir}/man1/%{?deconflict_prefix}needs-restarting.1*
 %{_bindir}/find-repos-of-install
 %{_bindir}/package-cleanup
 %{_mandir}/man1/package-cleanup.1*

++ dnf-plugins-core-4.0.12.tar.gz -> dnf-plugins-core-4.0.13.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dnf-plugins-core-4.0.12/dnf-plugins-core.spec 
new/dnf-plugins-core-4.0.13/dnf-plugins-core.spec
--- old/dnf-plugins-core-4.0.12/dnf-plugins-core.spec   2019-11-25 
12:04:52.0 +0100
+++ new/dnf-plugins-core-4.0.13/dnf-plugins-core.spec   2020-01-15 
10:53:42.0 +0100
@@ -31,7 +31,7 @@
 %endif
 
 Name:   dnf-plugins-core
-Version:4.0.12
+Version:4.0.13
 Release:1%{?dist}
 Summary:Core Plugins for DNF
 License:GPLv2+
@@ -740,6 +740,14 @@
 %endif
 
 %changelog
+* Wed Jan 15 2020 Aleš Matěj  - 4.0.13-1
+- Fix: config_manager respect config file location during save
+- Redesign reposync --latest for modular system 

commit dnf-plugins-core for openSUSE:Factory

2019-12-16 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2019-12-16 15:19:34

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new.4691 (New)


Package is "dnf-plugins-core"

Mon Dec 16 15:19:34 2019 rev:10 rq:757118 version:4.0.12

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2019-12-03 15:20:10.866567259 +0100
+++ 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.4691/dnf-plugins-core.changes  
2019-12-16 15:19:37.951157555 +0100
@@ -1,0 +2,5 @@
+Sat Dec 14 23:44:19 UTC 2019 - Neal Gompa 
+
+- Add missing bug reference for 4.0.7 update changelog entry
+
+---
@@ -39 +44 @@
-- Add missing dependencies on dateutil and distro Python modules
+- Add missing dependencies on dateutil and distro Python modules (boo#1141374)



Other differences:
--



commit dnf-plugins-core for openSUSE:Factory

2019-12-03 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2019-12-03 15:20:05

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new.4691 (New)


Package is "dnf-plugins-core"

Tue Dec  3 15:20:05 2019 rev:9 rq:752752 version:4.0.12

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2019-05-24 11:33:16.865369184 +0200
+++ 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.4691/dnf-plugins-core.changes  
2019-12-03 15:20:10.866567259 +0100
@@ -1,0 +2,31 @@
+Sun Dec  1 18:40:38 UTC 2019 - Neal Gompa 
+
+- Update to version 4.0.12
+  + [reposync] Enable timestamp preserving for downloaded data (rh#1688537)
+  + [reposync] Download packages from all streams (rh#1714788)
+  + Make yum-copr manpage available (rh#1673902)
+  + [needs-restarting] Add ``--reboothint`` option (rh#1192946) (rh#1639468)
+  + Set the cost of ``_dnf_local`` repo to 500, to make it preferred to normal 
repos
+  + [builddep] Report all rpm errors (rh#1663619, rh#1658292, rh#1724668)
+  + [config-manager] --setopt: Fix crash with "--save --dump"
+  + [config-manager] --setopt: Add globs support to repoid
+  + [config-manager] --setopt=key=value is applied only to the main config
+  + [config-manager] --setopt and empty list of repositories (rh#1702678)
+  + [config-manager] --setopt: Add check for existence of input repositories
+  + debuginfo-install: Update both debuginfo and debugsource for updated 
package (rh#1586084)
+  + copr: Support multilib repofiles (rh#1393664)
+  + copr: Fix disable if copr instance has non-default port
+  + copr: Fix repoid when using subdirectories in copr project
+  + [spec] Specify attributes for ghost file (rh# 1754463)
+  + download: add the --debugsource option (rh#1637008)
+  + Fix incorrect handling richdeps in buildep (rh#1756902)
+  + [reposync] Add --urls option (rh#1686602)
+  + [versionlock] Add --raw option (rh#1645564)
+  + [doc] move manpages for plugins to "dnf-PLUGIN" (rh#1706386)
+  + Add new plugin post-transaction-actions (rh#967264)
+  + [builddep] Add --skip-unavailable switch (rh#1628634)
+  + [versionlock] Don't apply excludes on @System (rh#1726712)
+  + [reposync] Ignore only modular excludes (rh#1750273)
+- Rename dnf-utils package to yum-utils and have it replace removed package in 
Tumbleweed
+
+---

Old:

  dnf-plugins-core-4.0.7.tar.gz

New:

  dnf-plugins-core-4.0.12.tar.gz



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.W1Ukht/_old  2019-12-03 15:20:11.970566754 +0100
+++ /var/tmp/diff_new_pack.W1Ukht/_new  2019-12-03 15:20:11.970566754 +0100
@@ -17,9 +17,9 @@
 #
 
 
-%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.1}
+%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.17}
 %global dnf_plugins_extra 2.0.0
-%global hawkey_version 0.8.0
+%global hawkey_version 0.37.0
 
 %if 0%{?is_opensuse}
 # Copr targets are available for openSUSE Leap 15.0 and newer
@@ -29,13 +29,27 @@
 %bcond_with copr_plugin
 %endif
 
+# YUM v3 has been removed from openSUSE Tumbleweed as of 20191119
+%if 0%{?sle_version} && 0%{?sle_version} < 16
+%bcond_with as_yum
+%else
+%bcond_without as_yum
+%endif
+
+%if %{with as_yum}
+%global yum_utils_subpackage_name yum-utils
+%else
+%global yum_utils_subpackage_name dnf-utils
+%endif
+
+
 # Tests are broken on SUSE for now
 %bcond_with tests
 
 #global prerel rc1
 
 Name:   dnf-plugins-core
-Version:4.0.7
+Version:4.0.12
 Release:0
 Summary:Core Plugins for DNF
 License:GPL-2.0+
@@ -127,12 +141,21 @@
 download, needs-restarting, repoclosure, repograph, repomanage, and reposync 
commands.
 Additionally, it provides the generate_completion_cache passive plugin.
 
-%package -n dnf-utils
+%package -n %{yum_utils_subpackage_name}
 Summary:Yum-utils CLI compatibility layer
 Group:  System/Packages
+%if %{with as_yum}
+Obsoletes:  yum-utils < 4.0.0
+Obsoletes:  dnf-utils < %{version}-%{release}
+Provides:   dnf-utils = %{version}-%{release}
+# SUSE-specific yum-utils subpackage obsoletion
+Obsoletes:  yum-changelog < 4.0.0
+Provides:   yum-changelog = %{version}-%{release}
+%else
 # dnf-utils offers the same binaries as yum-utils
 Conflicts:  yum-changelog
 Conflicts:  yum-utils
+%endif
 # Cf. https://github.com/openSUSE/zypper/pull/254
 Conflicts:  zypper < 1.14.26
 Conflicts:  zypper-needs-restarting
@@ -140,7 +163,7 @@
 Requires:   dnf >= %{dnf_lowest_compatible}
 Requires:   python3-dnf >= %{dnf_lowest_compatible}
 

commit dnf-plugins-core for openSUSE:Factory

2019-05-24 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2019-05-24 11:33:13

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new.5148 (New)


Package is "dnf-plugins-core"

Fri May 24 11:33:13 2019 rev:8 rq:705103 version:4.0.7

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2019-04-28 20:12:06.114468873 +0200
+++ 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.5148/dnf-plugins-core.changes  
2019-05-24 11:33:16.865369184 +0200
@@ -1,0 +2,12 @@
+Fri May 24 02:56:30 UTC 2019 - Neal Gompa 
+
+- Update to version 4.0.7
+  + Fix: copr disable command traceback (rh#1693551)
+  + [doc] state repoid as repo identifier of config-manager (rh#1686779)
+  + Fix download of src when not the latest requested (rh#1649627)
+- Add missing dependencies on dateutil and distro Python modules
+- Drop backported fixes that are part of this release
+  * 0001-Fix-copr-disable-command-traceback-RhBug-1693551.patch
+  * 0002-doc-state-repoid-as-repo-identifier-of-config-manage.patch
+
+---

Old:

  0001-Fix-copr-disable-command-traceback-RhBug-1693551.patch
  0002-doc-state-repoid-as-repo-identifier-of-config-manage.patch
  dnf-plugins-core-4.0.6.tar.gz

New:

  dnf-plugins-core-4.0.7.tar.gz



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.FmWYmb/_old  2019-05-24 11:33:17.989368754 +0200
+++ /var/tmp/diff_new_pack.FmWYmb/_new  2019-05-24 11:33:17.993368753 +0200
@@ -35,7 +35,7 @@
 #global prerel rc1
 
 Name:   dnf-plugins-core
-Version:4.0.6
+Version:4.0.7
 Release:0
 Summary:Core Plugins for DNF
 License:GPL-2.0+
@@ -43,10 +43,6 @@
 Url:https://github.com/rpm-software-management/dnf-plugins-core
 Source0:%{url}/archive/%{version}/%{name}-%{version}.tar.gz
 
-# Backports from upstream
-Patch0001:  0001-Fix-copr-disable-command-traceback-RhBug-1693551.patch
-Patch0002:  0002-doc-state-repoid-as-repo-identifier-of-config-manage.patch
-
 BuildArch:  noarch
 
 BuildRequires:  cmake
@@ -107,6 +103,8 @@
 BuildRequires:  python3-nose
 Requires:   python3-dnf >= %{dnf_lowest_compatible}
 Requires:   python3-hawkey >= %{hawkey_version}
+Requires:   python3-dateutil
+Requires:   python3-distro
 
 Conflicts:  %{name} <= 0.1.5
 # let the both python plugin versions be updated simultaneously

++ dnf-plugins-core-4.0.6.tar.gz -> dnf-plugins-core-4.0.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dnf-plugins-core-4.0.6/dnf-plugins-core.spec 
new/dnf-plugins-core-4.0.7/dnf-plugins-core.spec
--- old/dnf-plugins-core-4.0.6/dnf-plugins-core.spec2019-03-11 
11:51:11.0 +0100
+++ new/dnf-plugins-core-4.0.7/dnf-plugins-core.spec2019-05-07 
14:43:47.0 +0200
@@ -23,7 +23,7 @@
 %endif
 
 Name:   dnf-plugins-core
-Version:4.0.6
+Version:4.0.7
 Release:1%{?dist}
 Summary:Core Plugins for DNF
 License:GPLv2+
@@ -684,6 +684,11 @@
 %endif
 
 %changelog
+* Tue May 07 2019 Pavla Kratochvilova  - 4.0.7-1
+- Fix: copr disable command traceback (RhBug:1693551)
+- [doc] state repoid as repo identifier of config-manager (RhBug:1686779)
+- Fix download of src when not the latest requested (RhBug:1649627)
+
 * Mon Mar 11 2019 Pavla Kratochvilova  - 4.0.6-1
 - Use improved config parser that preserves order of data
 - [leaves] Show multiply satisfied dependencies as leaves
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dnf-plugins-core-4.0.6/doc/config_manager.rst 
new/dnf-plugins-core-4.0.7/doc/config_manager.rst
--- old/dnf-plugins-core-4.0.6/doc/config_manager.rst   2019-03-11 
11:51:11.0 +0100
+++ new/dnf-plugins-core-4.0.7/doc/config_manager.rst   2019-05-07 
14:43:47.0 +0200
@@ -26,15 +26,15 @@
 Synopsis
 
 
-``dnf config-manager [options] ...``
+``dnf config-manager [options] ...``
 
 -
 Arguments
 -
 
-
-Display / modify specified repository. If not specified display / modify 
main DNF configuration.
-Repositories can be specified using globs.
+
+Display / modify a repository identified by . If not specified, 
display / modify
+main DNF configuration. Repositories can be specified using globs.
 
 ---
 Options
@@ -71,11 +71,12 @@
 ``dnf config-manager --dump``
 Display main DNF configuration.
 
-``dnf config-manager repo --dump``
-Display configuration of repo.
+``dnf config-manager  --dump``

commit dnf-plugins-core for openSUSE:Factory

2019-04-28 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2019-04-28 20:11:40

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new.5536 (New)


Package is "dnf-plugins-core"

Sun Apr 28 20:11:40 2019 rev:7 rq:698420 version:4.0.6

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2019-04-01 12:39:59.289961893 +0200
+++ 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.5536/dnf-plugins-core.changes  
2019-04-28 20:12:06.114468873 +0200
@@ -1,0 +2,8 @@
+Fri Apr 26 12:42:24 UTC 2019 - Neal Gompa 
+
+- Backport fix for copr disable command traceback (rh#1693551)
+  * Patch: 0001-Fix-copr-disable-command-traceback-RhBug-1693551.patch
+- Backport doc fix to state repoid as repo identifier for config-manager 
(rh#1686779)
+  * Patch: 0002-doc-state-repoid-as-repo-identifier-of-config-manage.patch
+
+---

New:

  0001-Fix-copr-disable-command-traceback-RhBug-1693551.patch
  0002-doc-state-repoid-as-repo-identifier-of-config-manage.patch



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.YKPwYN/_old  2019-04-28 20:12:06.874468401 +0200
+++ /var/tmp/diff_new_pack.YKPwYN/_new  2019-04-28 20:12:06.894468388 +0200
@@ -43,6 +43,10 @@
 Url:https://github.com/rpm-software-management/dnf-plugins-core
 Source0:%{url}/archive/%{version}/%{name}-%{version}.tar.gz
 
+# Backports from upstream
+Patch0001:  0001-Fix-copr-disable-command-traceback-RhBug-1693551.patch
+Patch0002:  0002-doc-state-repoid-as-repo-identifier-of-config-manage.patch
+
 BuildArch:  noarch
 
 BuildRequires:  cmake

++ 0001-Fix-copr-disable-command-traceback-RhBug-1693551.patch ++
>From 3bbae8fb4f73dede47741331eb2bdd3a4bf47176 Mon Sep 17 00:00:00 2001
From: Jaroslav Rohel 
Date: Thu, 28 Mar 2019 15:29:00 +0100
Subject: [PATCH 1/2] Fix: copr disable command traceback (RhBug:1693551)

The "modify" argument of write_raw_configfile method must be
a dictionary with strings.

Closes: #329
Approved by: m-blaha
---
 plugins/copr.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/copr.py b/plugins/copr.py
index 10cf5f9..8a43593 100644
--- a/plugins/copr.py
+++ b/plugins/copr.py
@@ -518,7 +518,7 @@ Do you really want to enable 
{0}?""".format('/'.join([self.copr_hostname,
   .format(copr_username, copr_projectname)))
 
 self.base.conf.write_raw_configfile(repo.repofile, repo.id,
-self.base.conf.substitutions, 
{"enabled": 0})
+self.base.conf.substitutions, 
{"enabled": "0"})
 
 @classmethod
 def _get_data(cls, f):
-- 
2.20.1

++ 0002-doc-state-repoid-as-repo-identifier-of-config-manage.patch ++
>From f6dcc8bab12cd85bb5b99c12ddb3c168c38462af Mon Sep 17 00:00:00 2001
From: Jaroslav Mracek 
Date: Thu, 28 Mar 2019 18:45:21 +0100
Subject: [PATCH 2/2] [doc] state repoid as repo identifier of config-manager
 (RhBug:1686779)

It explicitly states that config-manager accept a repoid. Using the
repoid is the best way because it is unique identificator of
the repository.

https://bugzilla.redhat.com/show_bug.cgi?id=1686779
---
 doc/config_manager.rst | 21 +++--
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/doc/config_manager.rst b/doc/config_manager.rst
index 360bb8f..2feafcb 100644
--- a/doc/config_manager.rst
+++ b/doc/config_manager.rst
@@ -26,15 +26,15 @@ repositories are enabled or disabled, and add new 
repositories.
 Synopsis
 
 
-``dnf config-manager [options] ...``
+``dnf config-manager [options] ...``
 
 -
 Arguments
 -
 
-
-Display / modify specified repository. If not specified display / modify 
main DNF configuration.
-Repositories can be specified using globs.
+
+Display / modify a repository identified by . If not specified, 
display / modify
+main DNF configuration. Repositories can be specified using globs.
 
 ---
 Options
@@ -71,11 +71,12 @@ Examples
 ``dnf config-manager --dump``
 Display main DNF configuration.
 
-``dnf config-manager repo --dump``
-Display configuration of repo.
+``dnf config-manager  --dump``
+Display configuration of a repository identified by .
 
-``dnf config-manager --set-enabled repo``
-Enable repo and make the change permanent.
+``dnf config-manager --set-enabled ``
+Enable repository identified by  and make the change permanent.
 
-``dnf config-manager --setopt proxy=http://proxy.example.com:3128/ repo1 repo2 
--save``
-Update 

commit dnf-plugins-core for openSUSE:Factory

2019-04-01 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2019-04-01 12:39:57

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new.25356 (New)


Package is "dnf-plugins-core"

Mon Apr  1 12:39:57 2019 rev:6 rq:690195 version:4.0.6

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2019-02-20 14:10:37.762953491 +0100
+++ 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.25356/dnf-plugins-core.changes 
2019-04-01 12:39:59.289961893 +0200
@@ -1,0 +2,16 @@
+Sun Mar 31 15:48:42 UTC 2019 - Neal Gompa 
+
+- Update to version 4.0.6
+  + [download] Do not download src without ``--source`` (rh#148)
+  + Use improved config parser that preserves order of data
+  + [leaves] Show multiply satisfied dependencies as leaves
+  + [download] Fix downloading an rpm from a URL (rh#1678582)
+  + [download] Fix problem with downloading src pkgs (rh#1649627)
+- Drop backported fixes that are part of this release
+  * 0001-Fix-traceback-when-local-rpm-url-is-passed.patch
+  * 0002-reposync-fix-up-path-traversal-prevention.patch
+  * 0003-doc-Use-the-correct-sphinx-build-binary-for-Python-2.patch
+- Restore needs-restarting files to the dnf-utils package
+- Add conflicts to zypper < 1.14.26 to dnf-utils package to prevent file 
conflicts
+
+---

Old:

  0001-Fix-traceback-when-local-rpm-url-is-passed.patch
  0002-reposync-fix-up-path-traversal-prevention.patch
  0003-doc-Use-the-correct-sphinx-build-binary-for-Python-2.patch
  dnf-plugins-core-4.0.3.tar.gz

New:

  dnf-plugins-core-4.0.6.tar.gz



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.NInltQ/_old  2019-04-01 12:39:59.789962135 +0200
+++ /var/tmp/diff_new_pack.NInltQ/_new  2019-04-01 12:39:59.789962135 +0200
@@ -17,7 +17,7 @@
 #
 
 
-%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.0.7}
+%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.1}
 %global dnf_plugins_extra 2.0.0
 %global hawkey_version 0.8.0
 
@@ -35,7 +35,7 @@
 #global prerel rc1
 
 Name:   dnf-plugins-core
-Version:4.0.3
+Version:4.0.6
 Release:0
 Summary:Core Plugins for DNF
 License:GPL-2.0+
@@ -43,11 +43,6 @@
 Url:https://github.com/rpm-software-management/dnf-plugins-core
 Source0:%{url}/archive/%{version}/%{name}-%{version}.tar.gz
 
-# PATCH-FIX-UPSTREAM: Backports from upstream
-Patch0001:  0001-Fix-traceback-when-local-rpm-url-is-passed.patch
-Patch0002:  0002-reposync-fix-up-path-traversal-prevention.patch
-Patch0003:  0003-doc-Use-the-correct-sphinx-build-binary-for-Python-2.patch
-
 BuildArch:  noarch
 
 BuildRequires:  cmake
@@ -132,11 +127,12 @@
 
 %package -n dnf-utils
 Summary:Yum-utils CLI compatibility layer
-# dnf-utils offers the same binaries as yum-utils
 Group:  System/Packages
+# dnf-utils offers the same binaries as yum-utils
 Conflicts:  yum-changelog
 Conflicts:  yum-utils
 # Cf. https://github.com/openSUSE/zypper/pull/254
+Conflicts:  zypper < 1.14.26
 Conflicts:  zypper-needs-restarting
 Requires:   %{name} = %{version}-%{release}
 Requires:   dnf >= %{dnf_lowest_compatible}
@@ -272,11 +268,6 @@
 ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yum-debug-restore
 ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yumdownloader
 
-# Purge needs-restarting files until zypper conflict is fixed
-# Cf. https://github.com/openSUSE/zypper/pull/254
-rm -f %{buildroot}%{_bindir}/needs-restarting
-rm -f %{buildroot}%{_mandir}/man1/needs-restarting.1*
-
 # We never shipped this plugin, and we never will, since we never used YUM...
 rm %{buildroot}%{_mandir}/man8/dnf.plugin.migrate.8*
 
@@ -351,9 +342,8 @@
 %{_mandir}/man1/dnf-utils.1*
 %{_bindir}/debuginfo-install
 %{_mandir}/man1/debuginfo-install.1*
-# Pending https://github.com/openSUSE/zypper/pull/254
-#{_bindir}/needs-restarting
-#{_mandir}/man1/needs-restarting.1*
+%{_bindir}/needs-restarting
+%{_mandir}/man1/needs-restarting.1*
 %{_bindir}/find-repos-of-install
 %{_bindir}/package-cleanup
 %{_mandir}/man1/package-cleanup.1*

++ dnf-plugins-core-4.0.3.tar.gz -> dnf-plugins-core-4.0.6.tar.gz ++
 19903 lines of diff (skipped)




commit dnf-plugins-core for openSUSE:Factory

2019-02-20 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2019-02-20 14:10:28

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new.28833 (New)


Package is "dnf-plugins-core"

Wed Feb 20 14:10:28 2019 rev:5 rq:673182 version:4.0.3

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2018-04-24 15:34:27.747328378 +0200
+++ 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.28833/dnf-plugins-core.changes 
2019-02-20 14:10:37.762953491 +0100
@@ -1,0 +2,25 @@
+Mon Feb 11 01:08:46 UTC 2019 - Neal Gompa 
+
+- Temporarily drop needs-restarting files from dnf-utils until
+  zypper splits them out into zypper-needs-restarting subpackage
+  (gh#openSUSE/zypper#254)
+- Add conflicts to yum-changelog and zypper-needs-restarting to
+  dnf-utils
+
+---
+Thu Feb  7 07:49:25 UTC 2019 - Neal Gompa 
+
+- Rebase to version 4.0.3:
+  + Compatible with DNF 4.0.0+
+  + Reworked COPR plugin
+  + New changelogs and repodiff plugins/subcommands
+- Drop Python 2 subpackages
+- Drop unneeded patches:
+  * 0001-copr-Add-openSUSE-support.patch
+  * dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch
+- Backport fixes from upstream to build and run plugins
+  * 0001-Fix-traceback-when-local-rpm-url-is-passed.patch
+  * 0002-reposync-fix-up-path-traversal-prevention.patch
+  * 0003-doc-Use-the-correct-sphinx-build-binary-for-Python-2.patch
+
+---

Old:

  0001-copr-Add-openSUSE-support.patch
  dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch
  dnf-plugins-core-2.1.5.tar.gz

New:

  0001-Fix-traceback-when-local-rpm-url-is-passed.patch
  0002-reposync-fix-up-path-traversal-prevention.patch
  0003-doc-Use-the-correct-sphinx-build-binary-for-Python-2.patch
  dnf-plugins-core-4.0.3.tar.gz



Other differences:
--
++ dnf-plugins-core.spec ++
 603 lines (skipped)
 between /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.spec
 and 
/work/SRC/openSUSE:Factory/.dnf-plugins-core.new.28833/dnf-plugins-core.spec

++ 0001-Fix-traceback-when-local-rpm-url-is-passed.patch ++
>From 2d61e843048d49052af93e377796a3b850cdf89c Mon Sep 17 00:00:00 2001
From: Marek Blaha 
Date: Thu, 13 Dec 2018 08:19:40 +0100
Subject: [PATCH 1/3] Fix traceback when local rpm / url is passed

$ dnf download acpi-1.7-9.fc28.x86_64.rpm
Last metadata expiration check: 0:20:41 ago on Thu 25 Oct 2018 01:27:34 AM EDT.
Traceback (most recent call last):
  File "/usr/bin/dnf", line 98, in 
main.user_main(MAPPING[command] + args, exit_code=True)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 179, in 
user_main
errcode = main(args)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main
return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main
return cli_run(cli, base)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in cli_run
cli.run()
  File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1055, in run
return self.command.run()
  File "/usr/lib/python3.6/site-packages/dnf-plugins/download.py", line 116, in 
run
self._do_downloads(pkgs)  # download rpms
  File "/usr/lib/python3.6/site-packages/dnf-plugins/download.py", line 128, in 
_do_downloads
pkg_list.sort(key=lambda x: (x.repo.priority, x.repo.cost))
  File "/usr/lib/python3.6/site-packages/dnf-plugins/download.py", line 128, in 

pkg_list.sort(key=lambda x: (x.repo.priority, x.repo.cost))
  File "/usr/lib/python3.6/site-packages/dnf/package.py", line 158, in repo
return self.base.repos[self.reponame]
KeyError: '@commandline'

https://bugzilla.redhat.com/show_bug.cgi?id=1642791
---
 plugins/download.py| 42 ++
 tests/support.py   |  1 +
 tests/test_download.py | 10 +-
 3 files changed, 36 insertions(+), 17 deletions(-)

diff --git a/plugins/download.py b/plugins/download.py
index 91a66b9..792c828 100644
--- a/plugins/download.py
+++ b/plugins/download.py
@@ -103,14 +103,16 @@ class DownloadCommand(dnf.cli.Command):
 # If user asked for just urls then print them and we're done
 if self.opts.url:
 for pkg in pkgs:
-url = pkg.remote_location(schemes=self.opts.urlprotocols)
-if url:
-print(url)
-else:
-msg = _("Failed to get mirror for package: %s") % pkg.name
-if self.base.conf.strict:
-   

commit dnf-plugins-core for openSUSE:Factory

2018-04-24 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2018-04-24 15:34:27

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new (New)


Package is "dnf-plugins-core"

Tue Apr 24 15:34:27 2018 rev:4 rq:600153 version:2.1.5

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2018-01-22 16:20:46.307610310 +0100
+++ /work/SRC/openSUSE:Factory/.dnf-plugins-core.new/dnf-plugins-core.changes   
2018-04-24 15:34:27.747328378 +0200
@@ -1,0 +2,6 @@
+Mon Apr 23 21:10:27 UTC 2018 - ngomp...@gmail.com
+
+- Enable COPR plugin with openSUSE support backported (rh#1570418)
+  * Add patch: 0001-copr-Add-openSUSE-support.patch
+
+---

New:

  0001-copr-Add-openSUSE-support.patch



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.5cOZFx/_old  2018-04-24 15:34:28.423303921 +0200
+++ /var/tmp/diff_new_pack.5cOZFx/_new  2018-04-24 15:34:28.427303775 +0200
@@ -22,8 +22,13 @@
 %global dnf_plugins_extra 2.0.0
 %global hawkey_version 0.8.0
 
-# Copr targets not available for openSUSE
+%if 0%{?is_opensuse}
+# Copr targets are available for openSUSE Leap 15.0 and newer
+%bcond_without copr_plugin
+%else
+# Copr plugin is not supported for this target
 %bcond_with copr_plugin
+%endif
 
 # Enable Python 3 by default
 %bcond_without python3
@@ -45,6 +50,9 @@
 Url:https://github.com/rpm-software-management/dnf-plugins-core
 Source0:%{url}/archive/%{version}/%{name}-%{version}.tar.gz
 
+# PATCH-FIX-UPSTREAM: Add support for openSUSE targets for COPR plugin
+Patch0001:  0001-copr-Add-openSUSE-support.patch
+
 # PATCH-FIX-OPENSUSE: Fix detection of Python 2
 Patch1000:  dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch 
 

++ 0001-copr-Add-openSUSE-support.patch ++
>From 802458aded0964633f8f97a15477a1857753b943 Mon Sep 17 00:00:00 2001
From: Neal Gompa 
Date: Sun, 22 Apr 2018 14:00:56 -0400
Subject: [PATCH] copr: Add openSUSE support

This is based on the following upstream commits:

* d3854bbf84955a72f444d4c6442d49bd24b424c0
* 19fb75d15f61432ab5fb7be7adc5f5ae62c11d12
---
 plugins/copr.py | 8 
 1 file changed, 8 insertions(+)

diff --git a/plugins/copr.py b/plugins/copr.py
index 2546d03..b9c70d5 100644
--- a/plugins/copr.py
+++ b/plugins/copr.py
@@ -300,6 +300,14 @@ Do you want to continue?""")
 chroot = ("mageia-cauldron-{}".format(distarch))
 else:
 chroot = ("mageia-{0}-{1}".format(dist[1], distarch))
+elif "openSUSE" in dist:
+# Get distribution architecture (openSUSE does not use $basearch)
+distarch = rpm.expandMacro("%{_target_cpu}")
+# Set the chroot
+if "Tumbleweed" in dist:
+chroot = ("opensuse-tumbleweed-{}".format(distarch))
+else:
+chroot = ("opensuse-leap-{0}-{1}".format(dist[1], distarch))
 else:
 chroot = ("epel-%s-x86_64" % dist[1].split(".", 1)[0])
 return chroot
-- 
2.14.3




commit dnf-plugins-core for openSUSE:Factory

2018-01-22 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2018-01-22 16:18:57

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new (New)


Package is "dnf-plugins-core"

Mon Jan 22 16:18:57 2018 rev:3 rq:567910 version:2.1.5

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2017-10-11 23:02:03.435051939 +0200
+++ /work/SRC/openSUSE:Factory/.dnf-plugins-core.new/dnf-plugins-core.changes   
2018-01-22 16:20:46.307610310 +0100
@@ -1,0 +2,6 @@
+Sat Jan 20 14:12:56 UTC 2018 - ngomp...@gmail.com
+
+- Fix build-time detection of Python 2
+  * Add patch: dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch
+
+---

New:

  dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.nXqsVK/_old  2018-01-22 16:20:47.299563913 +0100
+++ /var/tmp/diff_new_pack.nXqsVK/_new  2018-01-22 16:20:47.303563726 +0100
@@ -1,7 +1,8 @@
 #
 # spec file for package dnf-plugins-core
 #
-# Copyright (c) 2017 Neal Gompa .
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 Neal Gompa .
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -44,6 +45,9 @@
 Url:https://github.com/rpm-software-management/dnf-plugins-core
 Source0:%{url}/archive/%{version}/%{name}-%{version}.tar.gz
 
+# PATCH-FIX-OPENSUSE: Fix detection of Python 2
+Patch1000:  dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch 
+
 BuildArch:  noarch
 
 BuildRequires:  cmake

++ dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch ++
>From 82dd350d4502329237c3918592a5b7354e936e7c Mon Sep 17 00:00:00 2001
From: Neal Gompa 
Date: Sat, 20 Jan 2018 09:06:21 -0500
Subject: [PATCH] Fix detection of Python 2

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index daa3143..d2e8b70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ if (NOT PYTHON_DESIRED)
 endif()
 
 if (${PYTHON_DESIRED} STREQUAL "2")
-   FIND_PACKAGE (PythonInterp REQUIRED)
+   FIND_PACKAGE (PythonInterp 2.7 REQUIRED)
 else()
SET(Python_ADDITIONAL_VERSIONS 3.3)
FIND_PACKAGE(PythonLibs 3.0)
-- 
2.12.3




commit dnf-plugins-core for openSUSE:Factory

2017-10-11 Thread root
Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2017-10-11 23:02:01

Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and  /work/SRC/openSUSE:Factory/.dnf-plugins-core.new (New)


Package is "dnf-plugins-core"

Wed Oct 11 23:02:01 2017 rev:2 rq:533002 version:2.1.5

Changes:

--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes
2017-08-28 15:10:48.486348769 +0200
+++ /work/SRC/openSUSE:Factory/.dnf-plugins-core.new/dnf-plugins-core.changes   
2017-10-11 23:02:03.435051939 +0200
@@ -1,0 +2,9 @@
+Tue Oct 10 12:34:40 UTC 2017 - ngomp...@gmail.com
+
+- Update to version 2.1.5:
+  + Fix issues with the '--arch' in 'dnf download' (rh#1476834)
+  + Fix 'dnf repoclosure' when used with '--check' and '--best'
+  + Use preconfigure hook from DNF for 'local' plugin
+- Split lang data into lang subpackage
+
+---

Old:

  dnf-plugins-core-2.1.3-1.tar.gz

New:

  dnf-plugins-core-2.1.5.tar.gz



Other differences:
--
++ dnf-plugins-core.spec ++
--- /var/tmp/diff_new_pack.HIv3q7/_old  2017-10-11 23:02:04.083023550 +0200
+++ /var/tmp/diff_new_pack.HIv3q7/_new  2017-10-11 23:02:04.087023375 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 2.6.2}
+%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 2.7.3}
 %{?!dnf_not_compatible: %global dnf_not_compatible 3.0}
 %global dnf_plugins_extra 2.0.0
 %global hawkey_version 0.8.0
@@ -35,17 +35,14 @@
 
 #global prerel rc1
 
-# Fedora package release versions are committed as versions in upstream
-%define origrel %{?prerel:0.%{prerel}.}1
-
 Name:   dnf-plugins-core
-Version:2.1.3
+Version:2.1.5
 Release:0
 Summary:Core Plugins for DNF
 License:GPL-2.0+
 Group:  System/Packages
 Url:https://github.com/rpm-software-management/dnf-plugins-core
-Source0:%{url}/%{name}/archive/%{name}-%{version}-%{origrel}.tar.gz
+Source0:%{url}/archive/%{version}/%{name}-%{version}.tar.gz
 
 BuildArch:  noarch
 
@@ -56,6 +53,8 @@
 %else
 Requires:   python2-dnf-plugins-core = %{version}-%{release}
 %endif
+Recommends: %{name}-lang >= %{version}
+
 Provides:   dnf-command(builddep)
 Provides:   dnf-command(config-manager)
 %if %{with copr_plugin}
@@ -350,8 +349,10 @@
 updated by newer versions.
 %endif
 
+%lang_package
+
 %prep
-%autosetup -n %{name}-%{name}-%{version}-%{origrel} -p1
+%autosetup -p1
 
 # openSUSE installs libexec content into /usr/lib...
 sed -e "s:libexec:%{_libexecdir}:g" -i libexec/CMakeLists.txt
@@ -431,7 +432,7 @@
 
 %endif
 
-%files -f %{name}.lang
+%files
 %license COPYING
 %doc AUTHORS README.rst
 %{_mandir}/man8/dnf.plugin.builddep.*
@@ -455,6 +456,8 @@
 %ghost %{_var}/cache/dnf/packages.db
 %config(noreplace) %{_sysconfdir}/dnf/plugins/debuginfo-install.conf
 
+%files lang -f %{name}.lang
+
 %files -n python2-dnf-plugins-core
 %license COPYING
 %doc AUTHORS README.rst

++ dnf-plugins-core-2.1.3-1.tar.gz -> dnf-plugins-core-2.1.5.tar.gz ++
 12339 lines of diff (skipped)