]> git.pld-linux.org Git - packages/apache1-mod_perl.git/commitdiff
- splitting perl-mod_perl1 so that apache1 is not needed on builders
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 2 May 2006 23:44:40 +0000 (23:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_perl.spec -> 1.36

apache1-mod_perl.spec

index d5a7a218df1ee954277e4c52117af23d8cb4be2d..66e843e109f1ff1bf7e45d55f121fff65b11b959 100644 (file)
@@ -27,7 +27,7 @@ Summary(uk):  
 Summary(zh_CN):        ÓÃÓÚ Apache web ·þÎñ³ÌÐòµÄ Perl ½âÊͳÌÐò¡£
 Name:          apache1-mod_perl
 Version:       1.29
-Release:       12
+Release:       12.3
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://perl.apache.org/dist/mod_perl-%{version}.tar.gz
@@ -57,6 +57,8 @@ Requires:     perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERS
 Provides:      apache(mod_perl)
 Obsoletes:     mod_perl
 Obsoletes:     mod_perl-common
+# older apache1-mod_perl could make bad autodeps to perl-mod_perl1
+BuildConflicts:        apache1-mod_perl < 1.29-12.1
 %{!?with_ipv6:Conflicts:       apache1(ipv6)}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -199,8 +201,8 @@ Apache web 
 Summary:       Files needed for building XS modules that use mod_perl
 Summary(pl):   Pliki potrzebne do budowania modu³ów XS korzystaj±cych z mod_perla
 Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
 Requires:      apache1-devel
+Requires:      perl-mod_%{mod_name}1 = %{version}-%{release}
 
 %description devel
 The apache1-mod_perl-devel package contains the files needed for
@@ -210,6 +212,16 @@ building XS modules that use mod_perl.
 Ten pakiet zawiera pliki potrzebne do budowania modu³ów XS
 korzystaj±cych z mod_perla.
 
+%package -n perl-mod_%{mod_name}1
+Summary:       Perl APIs for mod_perl
+Group:         Development/Languages/Perl
+
+%description -n perl-mod_%{mod_name}1
+Perl APIs for mod_perl.
+
+%description -n perl-mod_%{mod_name}1 -l pl
+Perlowe API dla mod_perl.
+
 %prep
 %setup  -q -n mod_perl-%{version}
 %patch0 -p1
@@ -266,18 +278,20 @@ fi
 %triggerpostun -- apache1-mod_%{mod_name} < 1.29-7.1
 # check that they're not using old apache.conf
 if grep -q '^Include conf\.d' /etc/apache/apache.conf; then
-       sed -i -e '/^\(Add\|Load\)Module.*libperl\.\(so\|c\)/d' /etc/apache/apache.conf
+       %{__sed} -i -e '/^\(Add\|Load\)Module.*libperl\.\(so\|c\)/d' /etc/apache/apache.conf
 fi
 
 %files
 %defattr(644,root,root,755)
 %doc README INSTALL CREDITS faq/*.html faq/*.txt apache-modlist.html eg
-# FIXME: parent dirs not owned as the manualdocdir (via apache1-doc) is not in required
+# FIXME: parent dirs not owned as the manualdocdir (via apache1-doc) is not in deps
 %doc %{_manualdocdir}/mod/*html
 
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/*
 
+%files -n perl-mod_%{mod_name}1
+%defattr(644,root,root,755)
 %{perl_vendorarch}/*.pm
 %{perl_vendorarch}/*.PL
 
This page took 0.07165 seconds and 4 git commands to generate.