#1 Update some dependency naming declarations
Closed 3 years ago by ngompa. Opened 6 years ago by cstratak.
Unknown source master  into  master

file modified
+12 -8
@@ -1,6 +1,6 @@

  %global spectool_version 1.0.10

  

- %if 0%{?fedora}

+ %if 0%{?fedora} || 0%{?rhel} > 7

  %bcond_without python3

  %else

  %bcond_with python3
@@ -8,7 +8,7 @@

  

  Name:           rpmdevtools

  Version:        8.10

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Summary:        RPM Development Tools

  

  # rpmdev-setuptree is GPLv2, everything else GPLv2+
@@ -23,10 +23,10 @@

  BuildRequires:  perl-generators

  %if %{with python3}

  BuildRequires:  python3

- BuildRequires:  rpm-python3

+ BuildRequires:  python3-rpm

  %else

- BuildRequires:  python >= 2.7

- BuildRequires:  rpm-python

+ BuildRequires:  python2

+ BuildRequires:  python2-rpm

Does this package name work on EL7? Last I checked, it was still called rpm-python there...

it won't, but is there a case where that SPEC file would propagate to EL7 though?

  %endif

  # emacs-common >= 1:22.3-3 for macros.emacs

  BuildRequires:  emacs-common >= 1:22.3-3
@@ -45,10 +45,10 @@

  Requires:       grep

  Requires:       rpm-build >= 4.4.2.3

  %if %{with python3}

- Requires:       rpm-python3

+ Requires:       python3-rpm

  %else

- Requires:       python >= 2.4

- Requires:       rpm-python

+ Requires:       python2

+ Requires:       python2-rpm

  %endif

  Requires:       sed

  Requires:       emacs-filesystem
@@ -123,6 +123,10 @@

  

  

  %changelog

+ * Tue May 15 2018 Charalampos Stratakis <cstratak@redhat.com> - 8.10-5

+ - Update some dependency naming declarations

+ - Build for Python 3 on EL > 7

+ 

  * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-4

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

  

Build for Python 3 on EL > 7

Does this package name work on EL7? Last I checked, it was still called rpm-python there...

it won't, but is there a case where that SPEC file would propagate to EL7 though?

Pull-Request has been closed by ngompa

3 years ago