Hello community, here is the log from the commit of package apache2-mod_perl for openSUSE:Factory checked in at 2016-10-10 16:20:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apache2-mod_perl (Old) and /work/SRC/openSUSE:Factory/.apache2-mod_perl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache2-mod_perl" Changes: -------- --- /work/SRC/openSUSE:Factory/apache2-mod_perl/apache2-mod_perl.changes 2015-12-21 12:04:40.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.apache2-mod_perl.new/apache2-mod_perl.changes 2016-10-10 16:20:42.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Oct 3 11:15:45 UTC 2016 - [email protected] + +- Remove unused icon and shorten the description a bit 1-2 migration + is quite irelevant in these days +- Move tests to %check phase +- Use proper group for devel subpackage + +------------------------------------------------------------------- Old: ---- mod_perl.xpm ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apache2-mod_perl.spec ++++++ --- /var/tmp/diff_new_pack.q9AD6b/_old 2016-10-10 16:20:43.000000000 +0200 +++ /var/tmp/diff_new_pack.q9AD6b/_new 2016-10-10 16:20:43.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package apache2-mod_perl # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,6 @@ %define srcname mod_perl - Name: apache2-mod_perl Version: 2.0.9 Release: 0 @@ -50,10 +49,9 @@ Requires: perl-URI Requires: perl-libwww-perl Requires: perl(Linux::Pid) +Conflicts: mod_perl Obsoletes: mod_perl_2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Conflicts: mod_perl -Icon: mod_perl.xpm %description The Apache/Perl integration project brings together the full power of @@ -69,29 +67,10 @@ embedded interpreter if the additional performance is needed, but may require modifications to the scripts. -Usage: - -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 -the required information. - -Most mod_perl handlers use the perl-script handler. Scripts can run in -"mod_perl mode" (preconfigured for URLs starting with /perl/) or "perl -cgi mode" (preconfigured for URLs starting /cgi-perl). Plain CGI -scripts can be run via /cgi-bin/. In all these cases, the script would -be placed inside the /srv/www/cgi-bin/ directory. Refer to -%{_sysconfdir}/apache2/conf.d/mod_perl.conf about this configuration. - %package devel Summary: Embedded Perl for Apache - Development package -Group: Productivity/Networking/Web/Servers +Group: Development/Languages/Perl Requires: %{name} = %{version} -Provides: apache2-mod_perl:%{_includedir}/apache2/modules/perl/modperl_cgi.h %description devel The Apache/Perl integration project brings together the full power of @@ -108,16 +87,14 @@ %build perl Makefile.PL INSTALLDIRS=vendor MP_APXS=%{apache_apxs} MP_APR_CONFIG=%{_bindir}/apr-1-config MP_CCOPTS="%{apache_cflags} -fgnu89-inline" make %{?_smp_mflags} -# -# Run tests -# + +%check %if !0%{?qemu_user_space_build} mkdir t/run t/TEST -start-httpd -port select -startup_timeout 720 t/TEST -run-tests || true t/TEST -stop-httpd %endif -exit 0 %install %perl_make_install
