diff --git a/SOURCES/BZ-1082050-source-repos.patch b/SOURCES/BZ-1082050-source-repos.patch new file mode 100644 index 0000000..6727a14 --- /dev/null +++ b/SOURCES/BZ-1082050-source-repos.patch @@ -0,0 +1,32 @@ +Index: /yum-builddep.py +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP +<+>UTF-8 +=================================================================== +--- /yum-builddep.py (revision ) ++++ /yum-builddep.py (revision ) +@@ -27,7 +27,7 @@ + import rpmUtils + import rpm + +-rhn_source_repos = False ++rhn_source_repos = True + + # Copied from yumdownloader (need a yum-utils python module ;) + # This is to fix Bug 469 +Index: /yumdownloader.py +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP +<+>UTF-8 +=================================================================== +--- /yumdownloader.py (revision ) ++++ /yumdownloader.py (revision ) +@@ -32,7 +32,7 @@ + import rpmUtils + import logging + +-rhn_source_repos = False ++rhn_source_repos = True + + # This is to fix Bug 469 + # To convert from a pkg to a source pkg, we have a problem in that all we have diff --git a/SPECS/yum-utils.spec b/SPECS/yum-utils.spec index 87e2642..81939f1 100644 --- a/SPECS/yum-utils.spec +++ b/SPECS/yum-utils.spec @@ -12,7 +12,7 @@ Summary: Utilities based around the yum package manager Name: yum-utils Version: 1.1.31 -Release: 24%{?dist} +Release: 25%{?dist} License: GPLv2+ Group: Development/Tools Source: http://yum.baseurl.org/download/yum-utils/%{name}-%{version}.tar.gz @@ -22,6 +22,7 @@ Patch3: BZ-1050218-YumBaseError-not-defined.patch Patch4: BZ-1052871-debuginfo-install-wrong-repo-suffix.patch Patch5: BZ-1024070-yum-builddep-requires-source-repos-disabled.patch Patch6: BZ-1060702-reposync-nonexistent-repo.patch +Patch7: BZ-1082050-source-repos.patch URL: http://yum.baseurl.org/download/yum-utils/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -380,6 +381,7 @@ Supplies checksums for files in packages from puppet's state file. %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %install rm -rf $RPM_BUILD_ROOT @@ -684,6 +686,10 @@ fi %endif %changelog +* Tue Aug 5 2014 Valentina Mukhamedzhanova - 1.1.31-25 +- yumdownloader, yum-builddep: do not ignore source repos. +- Resolves: bug#1082050 + * Fri Feb 14 2014 Valentina Mukhamedzhanova - 1.1.31-24 - reposync: fix 'reposync -r nosuchrepo' behaviour. - Resolves: bug#1060702