]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- rpm.org supports noarch packages since 4.6
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 12 Jan 2020 09:34:16 +0000 (10:34 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 12 Jan 2020 09:34:16 +0000 (10:34 +0100)
golang-package.spec
java.spec
lib.spec
python-ext.spec
template.spec

index 146a14a4b024dc8e6c16b0fe9ca509357902afc8..ae3428f6aa79b9a27da740923d2ab22c1c66fe0a 100644 (file)
@@ -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
 
index 0ea9d7bd7669f608104cf98d97fb1bd3d0e8cb7a..87b74687db6ee73c4bd1ce21c1008e2e456d18d8 100644 (file)
--- 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
 
index ec2cf39e2286f6fb408c695e93be3c6e0299d148..4efa5d507ec222a07cd981387b555ec60a60dba0 100644 (file)
--- 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
 
index bc9bf398dfbb13260bdea2512c33ba5c76f42c90..ea175793fe19042553f46000687afac33959d4cd 100644 (file)
@@ -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
 
index 8828ed78c2d2a49e96cd5fb7d4eca5172974e3e4..e1813393e5bbc47278bf96b8eca11d9fb595b4ff 100644 (file)
@@ -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
 
This page took 0.149564 seconds and 4 git commands to generate.