import spacewalk-koan-2.8.6-7.module+el8.0.0+3261+a7bdca01

This commit is contained in:
CentOS Sources 2019-06-18 12:44:30 -04:00 committed by Andrew Lukoshko
parent bdac184ec4
commit c078382f10
3 changed files with 88 additions and 3 deletions

View File

@ -0,0 +1,38 @@
diff --git a/spacewalk-koan.spec b/spacewalk-koan.spec
index 50466ac..b0286c6 100644
--- a/spacewalk-koan.spec
+++ b/spacewalk-koan.spec
@@ -12,13 +12,22 @@
Summary: Support package for spacewalk koan interaction
Name: spacewalk-koan
Version: 2.8.6
-Release: 5%{?dist}
+Release: 6%{?dist}
License: GPLv2
Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
URL: https://github.com/spacewalkproject/spacewalk
BuildArch: noarch
Requires: %{pythonX}-%{name} = %{version}-%{release}
Requires: koan
+# dd, du
+Requires: coreutils
+Requires: cpio
+Requires: e2fsprogs
+# gzip, zcat
+Requires: gzip
+Requires: tar
+# mount, umount
+Requires: util-linux
Requires: xz
Conflicts: rhn-kickstart
Conflicts: rhn-kickstart-common
@@ -104,6 +113,9 @@ make -f Makefile.spacewalk-koan install PREFIX=$RPM_BUILD_ROOT ROOT=%{python3_si
%endif
%changelog
+* Tue May 21 2019 Michael Mraka <michael.mraka@redhat.com> 2.8.6-6
+- Resolves: #1703706 - require commands we use in merge-rd.sh
+
* Tue Mar 20 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.6-5
- don't build python2 subpackages on systems with default python3
(tkasparek@redhat.com)

View File

@ -0,0 +1,32 @@
diff --git a/spacewalk-koan.spec b/spacewalk-koan.spec
index b0286c6..683be43 100644
--- a/spacewalk-koan.spec
+++ b/spacewalk-koan.spec
@@ -12,7 +12,7 @@
Summary: Support package for spacewalk koan interaction
Name: spacewalk-koan
Version: 2.8.6
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv2
Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
URL: https://github.com/spacewalkproject/spacewalk
@@ -58,7 +58,7 @@ Summary: Support package for spacewalk koan interaction
%{?python_provide:%python_provide python3-%{name}}
BuildRequires: python3
BuildRequires: python3-rpm-macros
-Requires: python3
+%{?__python3:Requires: %{__python3}}
%description -n python3-%{name}
Python 3 specific files for %{name}.
%endif
@@ -113,6 +113,9 @@ make -f Makefile.spacewalk-koan install PREFIX=$RPM_BUILD_ROOT ROOT=%{python3_si
%endif
%changelog
+* Mon May 27 2019 Michael Mraka <michael.mraka@redhat.com> 2.8.6-7
+- Require the Python interpreter directly instead of using the package name
+
* Tue May 21 2019 Michael Mraka <michael.mraka@redhat.com> 2.8.6-6
- Resolves: #1703706 - require commands we use in merge-rd.sh

View File

@ -12,17 +12,28 @@
Summary: Support package for spacewalk koan interaction
Name: spacewalk-koan
Version: 2.8.6
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
Patch0: spacewalk-koan-2.8.6-1-to-spacewalk-koan-2.8.6-2-el8.patch
Patch1: spacewalk-koan-2.8.6-2-el8-to-spacewalk-koan-2.8.6-3-el8.patch
Patch2: spacewalk-koan-2.8.6-3-el8-to-spacewalk-koan-2.8.6-4-el8.patch
Patch3: spacewalk-koan-2.8.6-4-el8-to-spacewalk-koan-2.8.6-5-el8.patch
Patch4: spacewalk-koan-2.8.6-5-el8-to-spacewalk-koan-2.8.6-6-el8.patch
Patch5: spacewalk-koan-2.8.6-6-el8-to-spacewalk-koan-2.8.6-7-el8.patch
URL: https://github.com/spacewalkproject/spacewalk
BuildArch: noarch
Requires: %{pythonX}-%{name} = %{version}-%{release}
Requires: koan
# dd, du
Requires: coreutils
Requires: cpio
Requires: e2fsprogs
# gzip, zcat
Requires: gzip
Requires: tar
# mount, umount
Requires: util-linux
Requires: xz
Conflicts: rhn-kickstart
Conflicts: rhn-kickstart-common
@ -64,6 +75,8 @@ Python 3 specific files for %{name}.
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
make -f Makefile.spacewalk-koan all
@ -112,9 +125,11 @@ make -f Makefile.spacewalk-koan install PREFIX=$RPM_BUILD_ROOT ROOT=%{python3_si
%endif
%changelog
* Tue Sep 25 2018 Tomas Orsava <torsava@redhat.com> - 2.8.6-6
* Mon May 27 2019 Michael Mraka <michael.mraka@redhat.com> 2.8.6-7
- Require the Python interpreter directly instead of using the package name
- Related: rhbz#1633713
* Tue May 21 2019 Michael Mraka <michael.mraka@redhat.com> 2.8.6-6
- Resolves: #1703706 - require commands we use in merge-rd.sh
* Tue Mar 20 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.6-5
- don't build python2 subpackages on systems with default python3