[packages/apache1] noarch subpackages

glen glen at pld-linux.org
Mon Aug 10 11:19:19 CEST 2015


commit 68b50cc521b38d2dc830b2c427ffbb329a2d55a7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Aug 10 12:19:09 2015 +0300

    noarch subpackages

 apache1.spec | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/apache1.spec b/apache1.spec
index 8359c0d..b475689 100644
--- a/apache1.spec
+++ b/apache1.spec
@@ -342,6 +342,9 @@ Requires:	%{name}-mod_dir = %{version}-%{release}
 Provides:	apache1-index
 Obsoletes:	apache1-index < 1.3.39-7.9
 Obsoletes:	indexhtml
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description defaultindex
 Apache index.html* files.
@@ -358,6 +361,9 @@ Requires:	%{name}-mod_alias = %{version}-%{release}
 Requires:	%{name}-mod_negotiation = %{version}-%{release}
 Provides:	apache1-doc
 Obsoletes:	apache1-doc < 1.3.39-7.9
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description manual
 Apache 1.3.x manual.
@@ -372,6 +378,9 @@ Group:		Applications/WWW
 Requires:	%{name}-mod_alias = %{version}-%{release}
 Requires:	%{name}-mod_include = %{version}-%{release}
 Requires:	%{name}-mod_negotiation = %{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description errordocs
 Apache 1.3.x HTTP error documents. Currently in English and Polish
@@ -1296,6 +1305,9 @@ Summary(pl.UTF-8):	Programy testowe/przykładowe cgi
 Group:		Networking/Utilities
 Requires:	%{name}-base = %{version}-%{release}
 Requires:	filesystem >= 2.0-1
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description cgi_test
 Two cgi test/demo programs: test-cgi and print-env.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache1.git/commitdiff/68b50cc521b38d2dc830b2c427ffbb329a2d55a7



More information about the pld-cvs-commit mailing list