[mod_form/f20: 2/2] Require base package and prefer %package subpackage
averi
averi at fedoraproject.org
Wed Dec 4 16:35:47 UTC 2013
commit a5a765e393e8f0a8fa5715e330b301dca6e2fe18
Author: Andrea Veri <av at gnome.org>
Date: Wed Dec 4 17:35:21 2013 +0100
Require base package and prefer %package subpackage
mod_form.spec | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/mod_form.spec b/mod_form.spec
index 0bb3b4d..724e926 100644
--- a/mod_form.spec
+++ b/mod_form.spec
@@ -35,13 +35,14 @@ and POST methods where the data are encoded using the default content type
application/x-www-form-urlencoded. It does not decode multipart/form-data
(file upload) forms: for those you should use mod_upload.
-%package -n mod_form-devel
+%package devel
License: GPLv2+
Summary: Apache module that decodes data submitted from Web forms
Group: Applications/Internet
Requires: httpd
+Requires: %{name}%{?_isa} = %{version}-%{release}
-%description -n mod_form-devel
+%description devel
Utility to decode data submitted from Web forms. It deals with both GET
and POST methods where the data are encoded using the default content type
application/x-www-form-urlencoded. It does not decode multipart/form-data
@@ -65,7 +66,7 @@ cp -p mod_form.h %{buildroot}/%{apache_includedir}
%files
%{apache_includedir}/mod_form.h
-%files -n mod_form-devel
+%files devel
%{apache_libexecdir}/mod_form.so
%changelog
More information about the scm-commits
mailing list