8
0
OBS User unknown
2007-01-23 17:00:17 +00:00
committed by Git OBS Bridge
parent 5d1d9c72cf
commit 531499faaf
7 changed files with 70 additions and 150 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package apache2-mod_perl (Version 2.0.2)
# spec file for package apache2-mod_perl (Version 2.0.3)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -25,7 +25,7 @@ BuildRequires: openldap2-devel
Summary: Embedded Perl for Apache
Group: Productivity/Networking/Web/Servers
Autoreqprov: on
License: Other License(s), see package, Apache
License: The Apache Software License
Requires: apache2 %{apache_mmn}
Requires: perl = %{perl_version}
Requires: perl-HTML-Parser perl-Tie-IxHash
@@ -33,15 +33,13 @@ Requires: perl-URI perl-libwww-perl
Obsoletes: mod_perl_2
Conflicts: mod_perl
Autoreqprov: on
Version: 2.0.2
Release: 16
Source0: mod_perl-%{version}.tar.gz
Version: 2.0.3
Release: 1
Source0: mod_perl-%{version}.tar.bz2
#%define apache_test_version 1_99_15
# cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic up -r MODPERL_%{apache_test_version}
#Source1: Apache-Test-%{apache_test_version}.tar.bz2
# patches for tests to run with httpd trunk
Patch1: mod_perl-r411028-t_api_status.patch
Patch2: mod_perl-t_content_length-r412063.patch
Patch: %{name}-%{version}-server_const.diff
URL: http://perl.apache.org/
Icon: mod_perl.xpm
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -62,9 +60,10 @@ require modifications to the scripts.
Usage:
Add mod_perl to APACHE_MODULES in /etc/sysconfig/apache2 to load it
into Apache. To learn about the configuration, the best reference
unequivocally is http://perl.apache.org/docs/
To load the module into Apache, run the command "a2enmod perl" as root.
To learn about the configuration, the best reference unequivocally is
http://perl.apache.org/docs/
For porting 1.0 applications to 2.0, the page
http://perl.apache.org/docs/2.0/user/porting/compat.html should give
@@ -82,8 +81,8 @@ be placed inside the /srv/www/cgi-bin/ directory. Refer to
%prep
#%setup -q -n modperl-2.0 -a 1
%setup -q -n mod_perl-%{version}
%patch1 -p3
%patch2 -p1
#temporarily disable t/api/server_const.t because it fails with current Apache2::ServerUtil::get_server_version()
%patch
%build
perl Makefile.PL MP_APXS=`which %{apxs}` MP_CCOPTS="$(%{apxs} -q CFLAGS)"
@@ -261,6 +260,20 @@ if ! test -f /.buildenv; then
fi
%changelog -n apache2-mod_perl
* Tue Jan 23 2007 - anicka@suse.cz
- update to 2.0.3
* Prevent things in %%INC that are not stat() able
from breaking Apache2::Status 'Loaded Modules'
under fatal warnings.
* Multi-line $PerlConfig is now working
* Fixed problems with add_config() and thread-safety
* Added support for httpd-2.2's new override_opts in
Apache2::Access. Calls to add_config() now accept
an override_opts value as the 4th argument.
* more minor fixes and improvements
- remove last two patches (fixed in upstream)
- temporarily disable t/api/server_const.t because
it does not work with current get_server_version()
* Wed Aug 09 2006 - poeml@suse.de
- build fix for sles9: add openldap2-devel to BuildRequires
* Fri Jul 14 2006 - olh@suse.de
@@ -382,7 +395,7 @@ fi
- add apache_libexecdir to filelist
* Tue Jan 14 2003 - poeml@suse.de
- update to 1.99_08
- <Perl> directive missing closing '>' bug fixed, and much else
- <Perl> directive missing closing '>' bug fixed, and much else
- drop /etc/apache2/modules/mod_perl
- add /etc/apache2/mod_perl-startup.pl, setting up with
/srv/www/perl-lib in @INC