Hello community,

here is the log from the commit of package perl-CGI-Session for 
openSUSE:Factory checked in at 2015-08-29 20:04:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-CGI-Session (Old)
 and      /work/SRC/openSUSE:Factory/.perl-CGI-Session.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-CGI-Session"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-CGI-Session/perl-CGI-Session.changes        
2011-09-23 12:36:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-CGI-Session.new/perl-CGI-Session.changes   
2015-08-29 20:04:44.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Aug 27 11:05:06 UTC 2015 - [email protected]
+
+- add "BuildRequires: CGI" to .spec file so "make test" succeeds
+  with perl-5.22
+
+-------------------------------------------------------------------

New:
----
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-CGI-Session.spec ++++++
--- /var/tmp/diff_new_pack.c5lgoM/_old  2015-08-29 20:04:44.000000000 +0200
+++ /var/tmp/diff_new_pack.c5lgoM/_new  2015-08-29 20:04:44.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-CGI-Session
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -15,61 +15,59 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           perl-CGI-Session
-Summary:        Persistent session data in CGI applications
 Version:        4.48
-Release:        1
-Group:          Development/Libraries/Perl
+Release:        0
+#Upstream: Artistic-1.0
+%define cpan_name CGI-Session
+Summary:        Persistent Session Data in Cgi Applications
 License:        GPL-1.0+ or Artistic-1.0
-Url:            http://search.cpan.org/perldoc?CGI::Session
+Group:          Development/Libraries/Perl
+Url:            http://search.cpan.org/dist/CGI-Session/
+Source0:        
http://www.cpan.org/authors/id/M/MA/MARKSTOS/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
+BuildRequires:  perl(CGI) >= 3.26
+BuildRequires:  perl(Module::Build) >= 0.380000
+Requires:       perl(CGI) >= 3.26
+%{perl_requires}
+# MANUAL BEGIN
 # DB tests need a running database and the following
 # variables set to proceed: DBI_DSN/DBI_USER/DBI_PASS
 # Disabled by not installing the perl modules for now, as
 # this needs to be done for all backends during build which 
 # increases the dependencies of the package
 # running SQLite tests should be enough for now
-#BuildRequires:  perl(DBI)
-#BuildRequires:  perl(DBD::mysql)
 BuildRequires:  perl-DBD-SQLite
 BuildRequires:  perl(CGI::Simple)
 BuildRequires:  perl(FreezeThaw)
-Source:         CGI-Session-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
+# MANUAL END
 
 %description
-CGI-Session is a Perl5 library that provides an easy, reliable and
-modular session management system across HTTP requests. Persistency is
-a key feature for such applications as shopping carts,
-login/authentication routines, and application that need to carry data
-across HTTP requests. CGI::Session does that and many more.
-
+CGI::Session provides an easy, reliable and modular session management
+system across HTTP requests.
 
 %prep
-%setup -q -n CGI-Session-%{version}
+%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
 
 %build
-perl Makefile.PL
-make %{?jobs:-j%jobs}
+%{__perl} Build.PL installdirs=vendor
+./Build build flags=%{?_smp_mflags}
 
 %check
-make test
+./Build test
 
 %install
-%perl_make_install
-%perl_process_packlist
+./Build install destdir=%{buildroot} create_packlist=0
 %perl_gen_filelist
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.files
-%defattr(-, root, root)
-%doc Changes MANIFEST  MANIFEST.SKIP README examples 
+%defattr(-,root,root,755)
+%doc Changes examples README
 
 %changelog

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
preamble: |-
 # DB tests need a running database and the following
 # variables set to proceed: DBI_DSN/DBI_USER/DBI_PASS
 # Disabled by not installing the perl modules for now, as
 # this needs to be done for all backends during build which 
 # increases the dependencies of the package
 # running SQLite tests should be enough for now
 BuildRequires:  perl-DBD-SQLite
 BuildRequires:  perl(CGI::Simple)
 BuildRequires:  perl(FreezeThaw)
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_install: |-
# sed on %{name}.files
license: GPL-1.0+ or Artistic-1.0
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to