From a5a765e393e8f0a8fa5715e330b301dca6e2fe18 Mon Sep 17 00:00:00 2001 From: Andrea Veri Date: Dec 04 2013 16:35:21 +0000 Subject: Require base package and prefer %package subpackage --- 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