8
0

Accepting request 82765 from home:jengelh:bl-a

- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/82765
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_perl?expand=0&rev=29
This commit is contained in:
Vítězslav Čížek
2011-09-19 09:11:02 +00:00
committed by Git OBS Bridge
parent 7d4aea5471
commit b47671da0d
2 changed files with 7 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 17 11:19:09 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 26 15:19:55 UTC 2011 - coolo@novell.com Thu May 26 15:19:55 UTC 2011 - coolo@novell.com

View File

@@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Url: http://perl.apache.org/ Url: http://perl.apache.org/
@@ -33,7 +32,6 @@ BuildRequires: openldap2-devel
%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) %define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
Summary: Embedded Perl for Apache Summary: Embedded Perl for Apache
Group: Productivity/Networking/Web/Servers Group: Productivity/Networking/Web/Servers
AutoReqProv: on
License: ASLv.. License: ASLv..
Requires: apache2 %{apache_mmn} Requires: apache2 %{apache_mmn}
Requires: perl = %{perl_version} Requires: perl = %{perl_version}
@@ -41,7 +39,6 @@ Requires: perl-HTML-Parser perl-Tie-IxHash
Requires: perl-URI perl-libwww-perl Requires: perl-URI perl-libwww-perl
Obsoletes: mod_perl_2 Obsoletes: mod_perl_2
Conflicts: mod_perl Conflicts: mod_perl
AutoReqProv: on
Version: 2.0.5 Version: 2.0.5
Release: 3 Release: 3
Source0: http://perl.apache.org/dist/mod_perl-%{version}.tar.gz Source0: http://perl.apache.org/dist/mod_perl-%{version}.tar.gz
@@ -92,7 +89,6 @@ be placed inside the /srv/www/cgi-bin/ directory. Refer to
License: ASLv.. License: ASLv..
Summary: Embedded Perl for Apache - Development package Summary: Embedded Perl for Apache - Development package
Group: Productivity/Networking/Web/Servers Group: Productivity/Networking/Web/Servers
AutoReqProv: on
Requires: %{name} = %{version} Requires: %{name} = %{version}
Provides: apache2-mod_perl:/usr/include/apache2/modules/perl/modperl_cgi.h Provides: apache2-mod_perl:/usr/include/apache2/modules/perl/modperl_cgi.h
@@ -115,7 +111,7 @@ find -name ".svn" -type d | xargs rm -rfv
%build %build
perl Makefile.PL INSTALLDIRS=vendor MP_APXS=`which %{apxs}` MP_CCOPTS="$(%{apxs} -q CFLAGS)" perl Makefile.PL INSTALLDIRS=vendor MP_APXS=`which %{apxs}` MP_CCOPTS="$(%{apxs} -q CFLAGS)"
ln -s Apache-mod_perl_guide-1.29/bin bin ln -s Apache-mod_perl_guide-1.29/bin bin
make make %{?_smp_mflags}
# XXX mod_include/SSI does not include files when they are not named .shtml # XXX mod_include/SSI does not include files when they are not named .shtml
mv t/htdocs/includes-registry/test.pl t/htdocs/includes-registry/test.shtml mv t/htdocs/includes-registry/test.pl t/htdocs/includes-registry/test.shtml
mv t/htdocs/includes-registry/cgipm.pl t/htdocs/includes-registry/cgipm.shtml mv t/htdocs/includes-registry/cgipm.pl t/htdocs/includes-registry/cgipm.shtml