[projects/template-specs] - rpm.org supports noarch packages since 4.6
qboosh
qboosh at pld-linux.org
Sun Jan 12 10:34:11 CET 2020
commit 0e3a429444d69c110ed0aeb98ad5d31015589617
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jan 12 10:34:16 2020 +0100
- rpm.org supports noarch packages since 4.6
golang-package.spec | 4 ++--
java.spec | 4 ++--
lib.spec | 2 +-
python-ext.spec | 2 +-
template.spec | 4 ++--
5 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/golang-package.spec b/golang-package.spec
index 146a14a..ae3428f 100644
--- a/golang-package.spec
+++ b/golang-package.spec
@@ -30,8 +30,8 @@ Summary: %{summary}
Group: Development/Languages
#Requires: golang(github.com/../...)
Provides: golang(%{import_path}) = %{version}-%{release}
-# noarch subpackages only when building with rpm5
-%if "%{_rpmversion}" >= "5"
+# noarch subpackages only when supported by rpm
+%if "%{_rpmversion}" >= "4.6"
BuildArch: noarch
%endif
diff --git a/java.spec b/java.spec
index 0ea9d7b..87b7468 100644
--- a/java.spec
+++ b/java.spec
@@ -57,8 +57,8 @@ Summary(fr.UTF-8): Documentation pour %{srcname}
Summary(it.UTF-8): Documentazione di %{srcname}
Summary(pl.UTF-8): Podręcznik dla %{srcname}
Group: Documentation
-# noarch subpackages only when building with rpm5
-%if "%{_rpmversion}" >= "5"
+# noarch subpackages only when supported by rpm
+%if "%{_rpmversion}" >= "4.6"
BuildArch: noarch
%endif
diff --git a/lib.spec b/lib.spec
index ec2cf39..4efa5d5 100644
--- a/lib.spec
+++ b/lib.spec
@@ -89,7 +89,7 @@ Summary: API documentation for %{name} library
Summary(pl.UTF-8): Dokumentacja API biblioteki %{name}
Group: Documentation
# if not arch-dependent
-%if "%{_rpmversion}" >= "5"
+%if "%{_rpmversion}" >= "4.6"
BuildArch: noarch
%endif
diff --git a/python-ext.spec b/python-ext.spec
index bc9bf39..ea17579 100644
--- a/python-ext.spec
+++ b/python-ext.spec
@@ -58,7 +58,7 @@ Requires: python3-modules
Summary: %{module} API documentation
Summary(pl.UTF-8): Dokumentacja API %{module}
Group: Documentation
-%if "%{_rpmversion}" >= "5"
+%if "%{_rpmversion}" >= "4.6"
BuildArch: noarch
%endif
diff --git a/template.spec b/template.spec
index 8828ed7..e181339 100644
--- a/template.spec
+++ b/template.spec
@@ -54,8 +54,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary: -
Summary(pl.UTF-8): -
Group: -
-# noarch subpackages only when building with rpm5
-%if "%{_rpmversion}" >= "5"
+# noarch subpackages only when supported by rpm
+%if "%{_rpmversion}" >= "4.6"
BuildArch: noarch
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/0e3a429444d69c110ed0aeb98ad5d31015589617
More information about the pld-cvs-commit
mailing list