summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2022-11-16 11:09:00 +0100
committerBjörn Esser <besser82@fedoraproject.org>2022-11-16 11:09:00 +0100
commit2e7a2b5a48fafc32fcce95a4d3f5acaefabefbd0 (patch)
treeb33e38a9a17e3911239f3e7d8633bb7dbc137fd4
parent9847af43ba1f001ec82e0183cb21ffac7e885599 (diff)
downloadlibxcrypt-2e7a2b5a48fafc32fcce95a4d3f5acaefabefbd0.tar.gz
libxcrypt-2e7a2b5a48fafc32fcce95a4d3f5acaefabefbd0.tar.bz2
libxcrypt-2e7a2b5a48fafc32fcce95a4d3f5acaefabefbd0.zip
rpkg: Add %%{perl_minver} macro and re-add BR on perl(:VERSION).
-rw-r--r--libxcrypt.spec.rpkg7
1 files changed, 6 insertions, 1 deletions
diff --git a/libxcrypt.spec.rpkg b/libxcrypt.spec.rpkg
index 1e57a8b..b5c8988 100644
--- a/libxcrypt.spec.rpkg
+++ b/libxcrypt.spec.rpkg
@@ -51,6 +51,10 @@
%global glibc_minver 2.28
+# Minimum version of Perl needed for some build-scripts.
+%global perl_minver 5.14
+
+
# The libxcrypt-devel package conflicts with out-dated manuals
# shipped with the man-pages packages *before* this EVR.
%global man_pages_minver 4.15-3
@@ -135,7 +139,7 @@ BuildRequires: gcc
BuildRequires: glibc-devel >= %{glibc_minver}
BuildRequires: libtool
BuildRequires: make
-BuildRequires: perl-interpreter >= 5.14.0
+BuildRequires: perl-interpreter >= %{perl_minver}
BuildRequires: perl(Class::Struct)
BuildRequires: perl(Cwd)
BuildRequires: perl(Exporter)
@@ -149,6 +153,7 @@ BuildRequires: perl(open)
BuildRequires: perl(POSIX)
BuildRequires: perl(Symbol)
BuildRequires: perl(utf8)
+BuildRequires: perl(:VERSION) >= %{perl_minver}
BuildRequires: perl(warnings)
# We do not need to keep this forever.