#3 Add a build-time dependency on python3-devel
Closed 6 years ago by ishcherb. Opened 6 years ago by ishcherb.
rpms/ ishcherb/nfs-utils master  into  master

file modified
+5 -1
@@ -2,7 +2,7 @@ 

  Name: nfs-utils

  URL: http://linux-nfs.org/

  Version: 2.2.1

- Release: 0.rc1%{?dist}

+ Release: 1.rc1%{?dist}

  Epoch: 1

  

  # group all 32bit related archs
@@ -47,6 +47,7 @@ 

  BuildRequires: automake, libtool, gcc, device-mapper-devel

  BuildRequires: krb5-devel, tcp_wrappers-devel, libmount-devel

  BuildRequires: sqlite-devel

+ BuildRequires: python3-devel

  Requires(pre): shadow-utils >= 4.0.3-25

  Requires(pre): util-linux

  Requires: libnfsidmap libevent
@@ -318,6 +319,9 @@ 

  %{_libdir}/libnfsidmap.so

  

  %changelog

+ * Mon Nov  6 2017 Iryna Shcherbina <ishcherb@redhat.com> 2.2.1-1.rc1

+ - Add a build-time dependency on python3-devel

+ 

  * Thu Nov  2 2017 Steve Dickson <steved@redhat.com> 2.2.1-0.rc1

  -Updated to latest upstream RC release: nfs-utils-2-2-2-rc1

  

The nfs-utils RPM contains Python scripts but does not depend on Python itself:

$ dnf repoquery --disablerepo=* --enablerepo=rawhide --requires nfs-utils | grep python
<nothing>

The reason the dependency is not generated, is because it is missing the build-time dependency on python3-devel.
According to Fedora Packaging Guidelines for Python, packages building for Python 3 need BuildRequires: python3-devel.

Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=22958345

This is fixed in nfs-utils-2.2.1-1.rc1

Pull-Request has been closed by ishcherb

6 years ago
Metadata