commit cpanspec for openSUSE:Factory

2020-11-05 Thread root
Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory 
checked in at 2020-11-05 21:54:54

Comparing /work/SRC/openSUSE:Factory/cpanspec (Old)
 and  /work/SRC/openSUSE:Factory/.cpanspec.new.11331 (New)


Package is "cpanspec"

Thu Nov  5 21:54:54 2020 rev:40 rq:846057 version:1.79.01.1604075292.b7fe6d3

Changes:

--- /work/SRC/openSUSE:Factory/cpanspec/cpanspec.changes2019-06-01 
09:49:36.431322086 +0200
+++ /work/SRC/openSUSE:Factory/.cpanspec.new.11331/cpanspec.changes 
2020-11-05 21:55:54.864050024 +0100
@@ -1,0 +2,11 @@
+Wed Nov  4 13:52:13 UTC 2020 - Dirk Stoecker 
+
+- Update to 1.79.01
+ * smaller bug-fixes
+ * add add_doc and skip_doc to allow changing docs handling
+ * ignore some more unwanted files in doc handling
+ * fix package requires
+ * reduce changelog space wasting, document option --old-file
+ * update copyrights
+
+---

Old:

  cpanspec-1.78.09.1554211595.43afd0f.obscpio

New:

  cpanspec-1.79.01.1604075292.b7fe6d3.obscpio



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.yyM1lN/_old  2020-11-05 21:55:55.752048027 +0100
+++ /var/tmp/diff_new_pack.yyM1lN/_new  2020-11-05 21:55:55.756048018 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cpanspec
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define cpan_name cpanspec
 Name:   cpanspec
-Version:1.78.09.1554211595.43afd0f
+Version:1.79.01.1604075292.b7fe6d3
 Release:0
 Summary:Generate a SUSE spec file for a CPAN module
 License:Artistic-1.0 OR GPL-1.0-or-later
@@ -40,7 +40,9 @@
 Requires:   perl(Archive::Tar)
 Requires:   perl(Archive::Zip)
 Requires:   perl(Class::Accessor::Chained)
+Requires:   perl(File::ShareDir::Install)
 Requires:   perl(LWP::UserAgent)
+Requires:   perl(Module::Build::Tiny)
 Requires:   perl(Parse::CPAN::Packages)
 Requires:   perl(Perl::PrereqScanner)
 Requires:   perl(Pod::POM)

++ _service ++
--- /var/tmp/diff_new_pack.yyM1lN/_old  2020-11-05 21:55:55.804047910 +0100
+++ /var/tmp/diff_new_pack.yyM1lN/_new  2020-11-05 21:55:55.804047910 +0100
@@ -1,10 +1,10 @@
 
   
-1.78.09
+1.79.01
 git://github.com/openSUSE/cpanspec
 git
 enable
-co...@suse.com
+git...@dstoecker.de
 master
   
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.yyM1lN/_old  2020-11-05 21:55:55.840047829 +0100
+++ /var/tmp/diff_new_pack.yyM1lN/_new  2020-11-05 21:55:55.844047820 +0100
@@ -1,4 +1,6 @@
 
-
-git://github.com/openSUSE/cpanspec
-  43afd0f463eb5c7375f948c6a99afe9ac086bb0d
\ No newline at end of file
+ 
+  git://github.com/openSUSE/cpanspec
+  b7fe6d38f8822cc77a8dc7d5f4ff3156c8aa80b8
+ 
+
\ No newline at end of file

++ cpanspec-1.78.09.1554211595.43afd0f.obscpio -> 
cpanspec-1.79.01.1604075292.b7fe6d3.obscpio ++
 2036 lines of diff (skipped)

++ cpanspec.obsinfo ++
--- /var/tmp/diff_new_pack.yyM1lN/_old  2020-11-05 21:55:56.088047272 +0100
+++ /var/tmp/diff_new_pack.yyM1lN/_new  2020-11-05 21:55:56.088047272 +0100
@@ -1,5 +1,5 @@
 name: cpanspec
-version: 1.78.09.1554211595.43afd0f
-mtime: 1554211595
-commit: 43afd0f463eb5c7375f948c6a99afe9ac086bb0d
+version: 1.79.01.1604075292.b7fe6d3
+mtime: 1604075292
+commit: b7fe6d38f8822cc77a8dc7d5f4ff3156c8aa80b8
 




commit cpanspec for openSUSE:Factory

2019-06-01 Thread root
Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory 
checked in at 2019-06-01 09:49:33

Comparing /work/SRC/openSUSE:Factory/cpanspec (Old)
 and  /work/SRC/openSUSE:Factory/.cpanspec.new.5148 (New)


Package is "cpanspec"

Sat Jun  1 09:49:33 2019 rev:39 rq:705967 version:1.78.09.1554211595.43afd0f

Changes:

--- /work/SRC/openSUSE:Factory/cpanspec/cpanspec.changes2019-04-03 
09:28:23.723825988 +0200
+++ /work/SRC/openSUSE:Factory/.cpanspec.new.5148/cpanspec.changes  
2019-06-01 09:49:36.431322086 +0200
@@ -26 +26 @@
-  fix Linux::Inotify2 - user new license names, don't show upstream 
license if identical, better summary capitalization
+  user new license names, don't show upstream license if identical, better 
summary capitalization
@@ -30 +29,0 @@
-  support perl license text in cpanspec.yml properly - drop debug



Other differences:
--



commit cpanspec for openSUSE:Factory

2019-04-03 Thread root
Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory 
checked in at 2019-04-03 09:28:20

Comparing /work/SRC/openSUSE:Factory/cpanspec (Old)
 and  /work/SRC/openSUSE:Factory/.cpanspec.new.25356 (New)


Package is "cpanspec"

Wed Apr  3 09:28:20 2019 rev:38 rq:690675 version:1.78.09.1554211595.43afd0f

Changes:

--- /work/SRC/openSUSE:Factory/cpanspec/cpanspec.changes2019-03-13 
09:13:55.619394805 +0100
+++ /work/SRC/openSUSE:Factory/.cpanspec.new.25356/cpanspec.changes 
2019-04-03 09:28:23.723825988 +0200
@@ -1,0 +2,12 @@
+Tue Apr 02 13:27:10 UTC 2019 - co...@suse.com
+
+- Update to version 1.78.09.1554211595.43afd0f:
+  * Support licence as filename for license (british english)
+
+---
+Tue Apr 02 13:22:04 UTC 2019 - co...@suse.com
+
+- Update to version 1.78.09.1551439566.b166388:
+  Switch to _service file
+
+---

Old:

  cpanspec-1.78.09.tar.gz
  updaterpm.sh

New:

  _service
  _servicedata
  cpanspec-1.78.09.1554211595.43afd0f.obscpio
  cpanspec.obsinfo



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.rBPOQt/_old  2019-04-03 09:28:25.263826714 +0200
+++ /var/tmp/diff_new_pack.rBPOQt/_new  2019-04-03 09:28:25.263826714 +0200
@@ -18,14 +18,13 @@
 
 %define cpan_name cpanspec
 Name:   cpanspec
-Version:1.78.09
+Version:1.78.09.1554211595.43afd0f
 Release:0
 Summary:Generate a SUSE spec file for a CPAN module
 License:Artistic-1.0 OR GPL-1.0-or-later
 Group:  Development/Languages/Perl
 URL:https://github.com/openSUSE/cpanspec
-Source0:cpanspec-%{version}.tar.gz
-Source99:   updaterpm.sh
+Source0:cpanspec-%{version}.tar.xz
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Archive::Tar)

++ _service ++

  
1.78.09
git://github.com/openSUSE/cpanspec
git
enable
co...@suse.com
master
  
  
  
  
xz
*.tar
  

++ _servicedata ++


git://github.com/openSUSE/cpanspec
  43afd0f463eb5c7375f948c6a99afe9ac086bb0d++
 cpanspec.obsinfo ++
name: cpanspec
version: 1.78.09.1554211595.43afd0f
mtime: 1554211595
commit: 43afd0f463eb5c7375f948c6a99afe9ac086bb0d




commit cpanspec for openSUSE:Factory

2019-03-13 Thread root
Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory 
checked in at 2019-03-13 09:13:49

Comparing /work/SRC/openSUSE:Factory/cpanspec (Old)
 and  /work/SRC/openSUSE:Factory/.cpanspec.new.28833 (New)


Package is "cpanspec"

Wed Mar 13 09:13:49 2019 rev:37 rq:684271 version:1.78.09

Changes:

--- /work/SRC/openSUSE:Factory/cpanspec/cpanspec.changes2016-01-08 
15:24:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.cpanspec.new.28833/cpanspec.changes 
2019-03-13 09:13:55.619394805 +0100
@@ -1,0 +2,36 @@
+Tue Mar 12 11:49:23 UTC 2019 - Stephan Kulow 
+
+- Bernhard M. Wiedemann (5):
+  avoid stripping exec bits off .pl files
+  refactor custom spec sections
+  allow for post_build section
+  allow to override summary and description
+  accept more pathnames in tarballs
+
+Dirk Stoecker (8):
+  fix some issues, add minimal README
+  small cleanup in download case
+  fix Linux::Inotify2 - user new license names, don't show upstream 
license if identical, better summary capitalization
+  don't show upstream license if totally identical
+  support Zip
+  support perl license text in cpanspec.yml properly
+  support perl license text in cpanspec.yml properly - drop debug
+  unify perl license
+
+Dirk Stöcker (2):
+  makecmd - handle alike to perl and rm (#8)
+  support new storage position for cpan data
+
+Sebastian Riedel (1):
+  Prevent invalid "perl-.spec" and "perl-.changes" from being generated
+
+Stephan Kulow (7):
+  retry the checkout after branch (service in progress)
+  avoid "the manpage" links
+  remove debug statement
+  take license folder too
+  small fixes
+  Use %license
+  Fix wget options in cpanget
+
+---

Old:

  cpanspec-1.78.08.tar.gz

New:

  cpanspec-1.78.09.tar.gz



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.JQhUdQ/_old  2019-03-13 09:13:56.915394671 +0100
+++ /var/tmp/diff_new_pack.JQhUdQ/_new  2019-03-13 09:13:56.915394671 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cpanspec
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,22 +12,20 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%define cpan_name cpanspec
 Name:   cpanspec
-Version:1.78.08
+Version:1.78.09
 Release:0
-%define cpan_name cpanspec
 Summary:Generate a SUSE spec file for a CPAN module
-License:Artistic-1.0 or GPL-1.0+
+License:Artistic-1.0 OR GPL-1.0-or-later
 Group:  Development/Languages/Perl
-Url:http://sourceforge.net/projects/cpanspec/
+URL:https://github.com/openSUSE/cpanspec
 Source0:cpanspec-%{version}.tar.gz
 Source99:   updaterpm.sh
-BuildArch:  noarch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Archive::Tar)
@@ -43,7 +41,6 @@
 Requires:   perl(Archive::Tar)
 Requires:   perl(Archive::Zip)
 Requires:   perl(Class::Accessor::Chained)
-Recommends: perl(IO::Uncompress::Bunzip2)
 Requires:   perl(LWP::UserAgent)
 Requires:   perl(Parse::CPAN::Packages)
 Requires:   perl(Perl::PrereqScanner)
@@ -52,6 +49,8 @@
 Requires:   perl(Text::Autoformat)
 Requires:   perl(Text::Capitalize)
 Requires:   perl(YAML)
+Recommends: perl(IO::Uncompress::Bunzip2)
+BuildArch:  noarch
 %{perl_requires}
 
 %description
@@ -63,11 +62,11 @@
 find . -type f -print0 | xargs -0 chmod 644
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make %{?_smp_mflags} test
 
 %install
 %perl_make_install
@@ -76,6 +75,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Artistic BUGS Changes COPYING TODO
+%license COPYING
+%doc Artistic BUGS Changes TODO
 
 %changelog

++ cpanspec-1.78.08.tar.gz -> cpanspec-1.78.09.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.08/META.json 
new/cpanspec-1.78.09/META.json
--- old/cpanspec-1.78.08/META.json  2015-08-28 12:00:22.233507095 +0200
+++ new/cpanspe

commit cpanspec for openSUSE:Factory

2016-01-08 Thread h_root
Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory 
checked in at 2016-01-08 15:23:53

Comparing /work/SRC/openSUSE:Factory/cpanspec (Old)
 and  /work/SRC/openSUSE:Factory/.cpanspec.new (New)


Package is "cpanspec"

Changes:

--- /work/SRC/openSUSE:Factory/cpanspec/cpanspec.changes2015-09-30 
05:50:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.cpanspec.new/cpanspec.changes   2016-01-08 
15:24:01.0 +0100
@@ -1,0 +2,5 @@
+Thu Jan  7 22:10:49 UTC 2016 - mimi...@gmail.com
+
+- add Algorithm::Diff to requires -- fix boo#961069 
+
+---



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.ILfxzx/_old  2016-01-08 15:24:02.0 +0100
+++ /var/tmp/diff_new_pack.ILfxzx/_new  2016-01-08 15:24:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cpanspec
 #
-# 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
@@ -39,6 +39,7 @@
 BuildRequires:  perl(Pod::Simple::TextContent)
 BuildRequires:  perl(Text::Autoformat)
 BuildRequires:  perl(YAML)
+Requires:   perl(Algorithm::Diff)
 Requires:   perl(Archive::Tar)
 Requires:   perl(Archive::Zip)
 Requires:   perl(Class::Accessor::Chained)




commit cpanspec for openSUSE:Factory

2015-09-29 Thread h_root
Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory 
checked in at 2015-09-30 05:50:24

Comparing /work/SRC/openSUSE:Factory/cpanspec (Old)
 and  /work/SRC/openSUSE:Factory/.cpanspec.new (New)


Package is "cpanspec"

Changes:

--- /work/SRC/openSUSE:Factory/cpanspec/cpanspec.changes2014-05-31 
08:09:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.cpanspec.new/cpanspec.changes   2015-09-30 
05:50:25.0 +0200
@@ -1,0 +2,35 @@
+Fri Aug 28 14:01:55 UTC 2015 - bwiedem...@suse.com
+
+- Require perl(Text::Capitalize)
+
+---
+Fri Aug 28 10:00:21 UTC 2015 - bwiedem...@suse.com
+
+- fix updaterpm.sh - git log requires history to be cloned
+- Dominique Leuenberger (1):
+  DateTime::Locale needs to have the version number corrected
+
+Stephan Kulow (21):
+  nicer changes file
+  shuffle instead
+  remove final . in summary
+  ignore spec files - most likely wrong
+  only submit succeeding packages
+  create more packages in one go
+  support a config file
+  grab OVERVIEW if DESCRIPTION is empty
+  support sources too
+  make noarch configurable
+  two more fixes needed
+  also have docs as docs
+  expand module::build version
+  compare parsed versions
+  run perltidy -l=0 -fbl -nsfs -baao -bbao -pt=2 -bt=2 -sbt=2 -sct
+  random fixes
+  ignore requires
+  avoid overwriting good versions
+  random fixes to update
+  check the distribution not a module
+  fix quoting of changelog
+
+---



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.rb8O5a/_old  2015-09-30 05:50:26.0 +0200
+++ /var/tmp/diff_new_pack.rb8O5a/_new  2015-09-30 05:50:26.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cpanspec
 #
-# Copyright (c) 2014 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
@@ -49,6 +49,7 @@
 Requires:   perl(Pod::POM)
 Requires:   perl(Pod::Simple::TextContent)
 Requires:   perl(Text::Autoformat)
+Requires:   perl(Text::Capitalize)
 Requires:   perl(YAML)
 %{perl_requires}
 

++ cpanspec-1.78.08.tar.gz ++
 1762 lines of diff (skipped)

++ updaterpm.sh ++
--- /var/tmp/diff_new_pack.rb8O5a/_old  2015-09-30 05:50:26.0 +0200
+++ /var/tmp/diff_new_pack.rb8O5a/_new  2015-09-30 05:50:26.0 +0200
@@ -1,7 +1,7 @@
 #! /bin/sh
 
-rev=0ad24195a30c0f0c9521f4ed2680545471230f76
-git clone --depth 0 https://github.com/openSUSE/cpanspec.git
+rev=aec50fb13474f4a76747b656c9cb215c7140ebe4
+git clone https://github.com/openSUSE/cpanspec.git
 cd cpanspec
 nrev=`git show HEAD| grep commit | head -n 1 | cut '-d ' -f2`
 osc vc -m "`git log --no-merges ^$rev HEAD cpanspec | git shortlog`" ..




commit cpanspec for openSUSE:Factory

2014-05-30 Thread h_root
Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory 
checked in at 2014-05-31 08:09:16

Comparing /work/SRC/openSUSE:Factory/cpanspec (Old)
 and  /work/SRC/openSUSE:Factory/.cpanspec.new (New)


Package is "cpanspec"

Changes:

--- /work/SRC/openSUSE:Factory/cpanspec/cpanspec.changes2013-08-04 
07:28:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.cpanspec.new/cpanspec.changes   2014-05-31 
08:09:17.0 +0200
@@ -1,0 +2,19 @@
+Tue May 27 12:54:02 UTC 2014 - co...@suse.com
+
+- remove cpanspec-1.78.06-spdx.patch - upstreamed
+
+---
+Tue May 27 12:53:43 UTC 2014 - co...@suse.com
+
+- Stephan Kulow (2):
+  apply spdx.patch applied for a year in OBS
+  bump version
+
+---
+Tue May 27 12:51:46 UTC 2014 - co...@suse.com
+
+- Stephan Kulow (2):
+  no longer print possible build requires
+  avoid useless newlines
+
+---

Old:

  cpanspec-1.78.06-spdx.patch
  cpanspec-1.78.07.tar.gz

New:

  cpanspec-1.78.08.tar.gz



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.3268r9/_old  2014-05-31 08:09:18.0 +0200
+++ /var/tmp/diff_new_pack.3268r9/_new  2014-05-31 08:09:18.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cpanspec
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products 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,7 @@
 
 
 Name:   cpanspec
-Version:1.78.07
+Version:1.78.08
 Release:0
 %define cpan_name cpanspec
 Summary:Generate a SUSE spec file for a CPAN module
@@ -26,8 +26,6 @@
 Url:http://sourceforge.net/projects/cpanspec/
 Source0:cpanspec-%{version}.tar.gz
 Source99:   updaterpm.sh
-# PATCH-FIX-OPENSUSE suggest licence in SPDX format
-Patch0: cpanspec-1.78.06-spdx.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -60,7 +58,6 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-%patch0 -p1
 find . -type f -print0 | xargs -0 chmod 644
 
 %build

++ cpanspec-1.78.07.tar.gz -> cpanspec-1.78.08.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.07/META.json 
new/cpanspec-1.78.08/META.json
--- old/cpanspec-1.78.07/META.json  2013-08-01 07:48:45.0 +0200
+++ new/cpanspec-1.78.08/META.json  2014-05-27 14:53:44.0 +0200
@@ -4,7 +4,7 @@
   "unknown"
],
"dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter 
version 2.120630",
+   "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter 
version 2.120921",
"license" : [
   "unknown"
],
@@ -50,5 +50,5 @@
   }
},
"release_status" : "stable",
-   "version" : "v1.78.07"
+   "version" : "v1.78.08"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.07/META.yml 
new/cpanspec-1.78.08/META.yml
--- old/cpanspec-1.78.07/META.yml   2013-08-01 07:48:45.0 +0200
+++ new/cpanspec-1.78.08/META.yml   2014-05-27 14:53:44.0 +0200
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: 0
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter 
version 2.120630'
+generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 
2.120921'
 license: unknown
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -32,4 +32,4 @@
   Text::Autoformat: 0
   YAML: 0
   locale: 0
-version: v1.78.07
+version: v1.78.08
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.07/cpanspec 
new/cpanspec-1.78.08/cpanspec
--- old/cpanspec-1.78.07/cpanspec   2013-08-01 07:48:43.0 +0200
+++ new/cpanspec-1.78.08/cpanspec   2014-05-27 14:53:43.0 +0200
@@ -190,7 +190,7 @@
 use warnings;
 
 our $NAME="cpanspec";
-our $VERSION='1.78.07';
+our $VERSION='1.78.08';
 
 use Cwd;
 BEGIN {
@@ -1014,7 +1014,7 @@
get_license($content);
if ($license && ($license =~ /under the same terms as Perl itself/ || 
$license =~ /under the terms of the Perl artistic license/)) {
-  $license = "GPL+ or Artistic";
+  $license = "GPL-1.0+ or Artistic-1.0";
}
 }
 
@@ -10

commit cpanspec for openSUSE:Factory

2013-08-03 Thread h_root
Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory 
checked in at 2013-08-04 07:28:32

Comparing /work/SRC/openSUSE:Factory/cpanspec (Old)
 and  /work/SRC/openSUSE:Factory/.cpanspec.new (New)


Package is "cpanspec"

Changes:

--- /work/SRC/openSUSE:Factory/cpanspec/cpanspec.changes2011-12-08 
11:27:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.cpanspec.new/cpanspec.changes   2013-08-04 
07:28:33.0 +0200
@@ -1,0 +2,9 @@
+Thu Aug  1 05:48:44 UTC 2013 - co...@suse.com
+
+- Stephan Kulow (4):
+  bump version
+  avoid empty description
+  don't reset Module::Build
+  support Module::Build::Tiny
+
+---

Old:

  cpanspec-1.78.06.tar.gz

New:

  cpanspec-1.78.07.tar.gz



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.8CQvQr/_old  2013-08-04 07:28:34.0 +0200
+++ /var/tmp/diff_new_pack.8CQvQr/_new  2013-08-04 07:28:34.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cpanspec
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,8 @@
 #
 
 
-
 Name:   cpanspec
-Version:1.78.06
+Version:1.78.07
 Release:0
 %define cpan_name cpanspec
 Summary:Generate a SUSE spec file for a CPAN module
@@ -32,6 +31,7 @@
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
+BuildRequires:  perl-macros
 BuildRequires:  perl(Archive::Tar)
 BuildRequires:  perl(Archive::Zip)
 BuildRequires:  perl(IO::Uncompress::Bunzip2)
@@ -41,18 +41,17 @@
 BuildRequires:  perl(Pod::Simple::TextContent)
 BuildRequires:  perl(Text::Autoformat)
 BuildRequires:  perl(YAML)
-BuildRequires:  perl-macros
 Requires:   perl(Archive::Tar)
 Requires:   perl(Archive::Zip)
 Requires:   perl(Class::Accessor::Chained)
 Recommends: perl(IO::Uncompress::Bunzip2)
 Requires:   perl(LWP::UserAgent)
 Requires:   perl(Parse::CPAN::Packages)
+Requires:   perl(Perl::PrereqScanner)
 Requires:   perl(Pod::POM)
 Requires:   perl(Pod::Simple::TextContent)
 Requires:   perl(Text::Autoformat)
 Requires:   perl(YAML)
-Requires:   perl(Perl::PrereqScanner)
 %{perl_requires}
 
 %description

++ cpanspec-1.78.06.tar.gz -> cpanspec-1.78.07.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.06/MANIFEST 
new/cpanspec-1.78.07/MANIFEST
--- old/cpanspec-1.78.06/MANIFEST   2011-12-02 14:13:34.0 +0100
+++ new/cpanspec-1.78.07/MANIFEST   2013-08-01 07:48:45.0 +0200
@@ -9,3 +9,4 @@
 Changes
 Makefile.PL
 lib/Intrusive.pm
+META.jsonModule JSON meta-data (added by 
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.06/META.json 
new/cpanspec-1.78.07/META.json
--- old/cpanspec-1.78.06/META.json  1970-01-01 01:00:00.0 +0100
+++ new/cpanspec-1.78.07/META.json  2013-08-01 07:48:45.0 +0200
@@ -0,0 +1,54 @@
+{
+   "abstract" : "unknown",
+   "author" : [
+  "unknown"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter 
version 2.120630",
+   "license" : [
+  "unknown"
+   ],
+   "meta-spec" : {
+  "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
+  "version" : "2"
+   },
+   "name" : "cpanspec",
+   "no_index" : {
+  "directory" : [
+ "t",
+ "inc"
+  ]
+   },
+   "prereqs" : {
+  "build" : {
+ "requires" : {
+"ExtUtils::MakeMaker" : "0"
+ }
+  },
+  "configure" : {
+ "requires" : {
+"ExtUtils::MakeMaker" : "0"
+ }
+  },
+  "runtime" : {
+ "requires" : {
+"Archive::Tar" : "0",
+"Archive::Zip" : "0",
+"File::Basename" : "0",
+"FileHandle" : "0",
+"Getopt::Long" : "0",
+"IO::Uncompress::Bunzip2" : "0",
+"LWP::UserAgent" : "0",
+"POSIX" : "0",
+"Parse::CPAN::Packages" : "0",
+"Pod::Simple::TextContent" : "0",
+"Pod::Usage" : "0",
+"Text::Autoformat" : "0",
+"YAML" : "0",
+"locale" : "0"
+ }
+  }
+   },
+   "release_status" : "stable",
+   "version" : "v1.78.07"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsign

commit cpanspec for openSUSE:Factory

2011-12-08 Thread h_root
Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory 
checked in at 2011-12-08 11:27:36

Comparing /work/SRC/openSUSE:Factory/cpanspec (Old)
 and  /work/SRC/openSUSE:Factory/.cpanspec.new (New)


Package is "cpanspec", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/cpanspec/cpanspec.changes2011-09-26 
10:29:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.cpanspec.new/cpanspec.changes   2011-12-08 
11:27:38.0 +0100
@@ -1,0 +2,17 @@
+Mon Dec  5 15:20:55 UTC 2011 - vci...@suse.com
+
+- fixed cpanspec to suggest "GPL-1.0+ or Artistic-1.0" if no
+  licence is found
+
+---
+Fri Dec  2 13:13:35 UTC 2011 - co...@suse.com
+
+- Stephan Kulow (1):
+  adopt license
+
+---
+Fri Dec  2 12:48:03 UTC 2011 - idoen...@suse.de
+
+- Add requires on Class::Accessor::Chained and Pod::POM 
+
+---

New:

  cpanspec-1.78.06-spdx.patch



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.Uv9a2p/_old  2011-12-08 11:27:40.0 +0100
+++ /var/tmp/diff_new_pack.Uv9a2p/_new  2011-12-08 11:27:40.0 +0100
@@ -19,32 +19,36 @@
 
 Name:   cpanspec
 Version:1.78.06
-Release:1
+Release:0
 %define cpan_name cpanspec
 Summary:Generate a SUSE spec file for a CPAN module
-License:GPL+ or Artistic
+License:Artistic-1.0 or GPL-1.0+
 Group:  Development/Languages/Perl
 Url:http://sourceforge.net/projects/cpanspec/
 Source0:cpanspec-%{version}.tar.gz
 Source99:   updaterpm.sh
+# PATCH-FIX-OPENSUSE suggest licence in SPDX format
+Patch0: cpanspec-1.78.06-spdx.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
-BuildRequires:  perl-macros
 BuildRequires:  perl(Archive::Tar)
 BuildRequires:  perl(Archive::Zip)
 BuildRequires:  perl(IO::Uncompress::Bunzip2)
 BuildRequires:  perl(LWP::UserAgent)
 BuildRequires:  perl(Parse::CPAN::Packages)
+BuildRequires:  perl(Perl::PrereqScanner)
 BuildRequires:  perl(Pod::Simple::TextContent)
 BuildRequires:  perl(Text::Autoformat)
 BuildRequires:  perl(YAML)
-BuildRequires:  perl(Perl::PrereqScanner)
+BuildRequires:  perl-macros
 Requires:   perl(Archive::Tar)
 Requires:   perl(Archive::Zip)
+Requires:   perl(Class::Accessor::Chained)
 Recommends: perl(IO::Uncompress::Bunzip2)
 Requires:   perl(LWP::UserAgent)
 Requires:   perl(Parse::CPAN::Packages)
+Requires:   perl(Pod::POM)
 Requires:   perl(Pod::Simple::TextContent)
 Requires:   perl(Text::Autoformat)
 Requires:   perl(YAML)
@@ -57,6 +61,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+%patch0 -p1
 find . -type f -print0 | xargs -0 chmod 644
 
 %build

++ cpanspec-1.78.06-spdx.patch ++
Index: cpanspec-1.78.06/cpanspec
===
--- cpanspec-1.78.06.orig/cpanspec  2011-12-02 14:13:34.0 +0100
+++ cpanspec-1.78.06/cpanspec   2011-12-05 16:18:55.010868360 +0100
@@ -1013,7 +1013,7 @@
get_license($content);
if ($license && ($license =~ /under the same terms as Perl itself/ || 
$license =~ /under the terms of the Perl artistic license/)) {
-  $license = "GPL+ or Artistic";
+  $license = "GPL-1.0+ or Artistic-1.0";
}
 }
 
@@ -1021,7 +1021,7 @@
   $summary="$module Perl module";
 }
 
-$license="CHECK(GPL+ or Artistic)" if (!$license);
+$license="CHECK(GPL-1.0+ or Artistic-1.0)" if (!$license);
 
 $description=$summary if (!defined($description));
 
++ cpanspec-1.78.06.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.06/META.yml 
new/cpanspec-1.78.06/META.yml
--- old/cpanspec-1.78.06/META.yml   2011-09-26 09:38:04.0 +0200
+++ new/cpanspec-1.78.06/META.yml   2011-12-02 14:13:36.0 +0100
@@ -28,7 +28,7 @@
 directory:
 - t
 - inc
-generated_by:   ExtUtils::MakeMaker version 6.56
+generated_by:   ExtUtils::MakeMaker version 6.57_05
 meta-spec:
 url:  http://module-build.sourceforge.net/META-spec-v1.4.html
 version:  1.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.06/cpanspec 
new/cpanspec-1.78.06/cpanspec
--- old/cpanspec-1.78.06/cpanspec   2011-09-26 09:37:57.0 +0200
+++ new/cpanspec-1.78.06/cpanspec   2011-12-02 14:13:34.0 +0100
@@ -197,6 +197,7 @@
   my ($wd) = Cwd::a

commit cpanspec for openSUSE:Factory

2011-09-26 Thread h_root

Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Mon Sep 26 10:29:57 CEST 2011.




--- cpanspec/cpanspec.changes   2011-08-02 10:32:42.0 +0200
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes  2011-09-26 
09:47:30.0 +0200
@@ -1,0 +2,19 @@
+Mon Sep 26 07:37:58 UTC 2011 - co...@suse.com
+
+- Stephan Kulow (3):
+  ignore duplicates
+  run prepare_spec
+  new version
+
+---
+Mon Sep 19 07:57:52 UTC 2011 - co...@suse.com
+
+- Stephan Kulow (1):
+  only add scanned deps as comment
+
+---
+Sat Sep 17 23:55:01 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+
+---

calling whatdependson for head-i586


Old:

  cpanspec-1.78.05.tar.gz

New:

  cpanspec-1.78.06.tar.gz



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.AYBhaK/_old  2011-09-26 10:29:52.0 +0200
+++ /var/tmp/diff_new_pack.AYBhaK/_new  2011-09-26 10:29:52.0 +0200
@@ -18,14 +18,14 @@
 
 
 Name:   cpanspec
-Version:1.78.05
-Release:31
+Version:1.78.06
+Release:1
 %define cpan_name cpanspec
 Summary:Generate a SUSE spec file for a CPAN module
 License:GPL+ or Artistic
 Group:  Development/Languages/Perl
 Url:http://sourceforge.net/projects/cpanspec/
-Source0:cpanspec-1.78.05.tar.gz
+Source0:cpanspec-%{version}.tar.gz
 Source99:   updaterpm.sh
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -71,9 +71,6 @@
 %perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files -f %{name}.files
 %defattr(-,root,root,755)
 %doc Artistic BUGS Changes COPYING TODO

++ cpanspec-1.78.05.tar.gz -> cpanspec-1.78.06.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.05/META.yml 
new/cpanspec-1.78.06/META.yml
--- old/cpanspec-1.78.05/META.yml   2011-08-02 10:31:22.0 +0200
+++ new/cpanspec-1.78.06/META.yml   2011-09-26 09:38:04.0 +0200
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:   cpanspec
-version:1.78.05
+version:1.78.06
 abstract:   ~
 author:  []
 license:unknown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.05/cpanspec 
new/cpanspec-1.78.06/cpanspec
--- old/cpanspec-1.78.05/cpanspec   2011-08-02 10:31:20.0 +0200
+++ new/cpanspec-1.78.06/cpanspec   2011-09-26 09:37:57.0 +0200
@@ -190,7 +190,7 @@
 use warnings;
 
 our $NAME="cpanspec";
-our $VERSION='1.78.05';
+our $VERSION='1.78.06';
 
 use Cwd;
 BEGIN {
@@ -934,7 +934,7 @@
 $license=undef;
 
 my $scripts=0;
-my (%build_requires,%requires,%recommends);
+my (%build_requires,%requires,%recommends,%possible_build_requires);
 my ($yml,$meta);
 if (grep /^META\.yml$/, @files
 and $yml=readfile("$path/META.yml")) {
@@ -1052,6 +1052,8 @@
 foreach my $test (grep /\.(pm|t|PL|pl)/, @files) {
my $doc = PPI::Document->new($basedir . $path . "/" . $test);
 
+next unless ($doc);
+
# Get the name of the main package
my $pkg = $doc->find_first('PPI::Statement::Package');
if ($pkg) {
@@ -1062,7 +1064,7 @@
foreach my $dep (keys(%scanneddeps)) {
my $ndep = $scanneddeps{$dep};
unless ($build_requires{$dep} && $build_requires{$dep} > $ndep) {
-   $build_requires{$dep}=$scanneddeps{$dep};
+$possible_build_requires{$dep} = $scanneddeps{$dep};
}
}
 }
@@ -1138,11 +1140,16 @@
 $build_requires{$dep}=$build_requires{$dep} || $requires{$dep};
 }
 
-for my $dep (sort(keys(%build_requires))) {
-next if (is_in_core($dep, $build_requires{$dep}));
+my @treqs = sort(keys(%build_requires));
+foreach my $dep (sort(keys(%possible_build_requires))) {
+   push(@treqs, $dep) if (!defined $build_requires{$dep});
+}
+for my $dep (@treqs) {
+my $iscore = 0;
+eval { $iscore = is_in_core($dep, $build_requires{$dep}); };
+next if $iscore;
 if ($follow) {
 if ($dep ne $module and !(grep { $_ eq $dep } @processed, @args)) {
-print "dep: $dep\n";
 if (check_dep($dep)) {
 verbose("$dep is available, skipping.");
 } else {
@@ -1151,9 +1158,15 @@
 }
 }
 }
-printf $spec "%-16s%s", "BuildRequires:", "perl($dep)";
-print $spec (" >= " . $build_requires{$dep})
-   

commit cpanspec for openSUSE:Factory

2011-08-09 Thread h_root

Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Tue Aug 9 16:37:14 CEST 2011.




--- cpanspec/cpanspec.changes   2011-05-31 12:49:45.0 +0200
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes  2011-08-02 
10:32:42.0 +0200
@@ -1,0 +2,6 @@
+Tue Aug  2 08:31:21 UTC 2011 - co...@novell.com
+
+- Stephan Kulow (1):
+  one more way to parse the requires (may produce false positives)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.tmcKXF/_old  2011-08-09 16:36:51.0 +0200
+++ /var/tmp/diff_new_pack.tmcKXF/_new  2011-08-09 16:36:51.0 +0200
@@ -19,7 +19,7 @@
 
 Name:   cpanspec
 Version:1.78.05
-Release:1
+Release:31
 %define cpan_name cpanspec
 Summary:Generate a SUSE spec file for a CPAN module
 License:GPL+ or Artistic
@@ -39,6 +39,7 @@
 BuildRequires:  perl(Pod::Simple::TextContent)
 BuildRequires:  perl(Text::Autoformat)
 BuildRequires:  perl(YAML)
+BuildRequires:  perl(Perl::PrereqScanner)
 Requires:   perl(Archive::Tar)
 Requires:   perl(Archive::Zip)
 Recommends: perl(IO::Uncompress::Bunzip2)
@@ -47,6 +48,7 @@
 Requires:   perl(Pod::Simple::TextContent)
 Requires:   perl(Text::Autoformat)
 Requires:   perl(YAML)
+Requires:   perl(Perl::PrereqScanner)
 %{perl_requires}
 
 %description

++ cpanspec-1.78.05.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.05/cpanspec 
new/cpanspec-1.78.05/cpanspec
--- old/cpanspec-1.78.05/cpanspec   2011-05-31 13:01:02.0 +0200
+++ new/cpanspec-1.78.05/cpanspec   2011-08-02 10:31:20.0 +0200
@@ -217,6 +217,7 @@
 use File::Temp;
 use File::Path qw(rmtree);
 use Intrusive;
+use Perl::PrereqScanner;
 
 # Apparently gets pulled in by another module.
 #use Cwd;
@@ -1045,6 +1046,29 @@
$build_requires{$dep}=$lrequires{$dep};
 }
 
+my %packages = ();
+
+my $scanner = Perl::PrereqScanner->new;
+foreach my $test (grep /\.(pm|t|PL|pl)/, @files) {
+   my $doc = PPI::Document->new($basedir . $path . "/" . $test);
+
+   # Get the name of the main package
+   my $pkg = $doc->find_first('PPI::Statement::Package');
+   if ($pkg) {
+   $packages{$pkg->namespace} = 1;
+   }
+
+   my %scanneddeps = %{$scanner->scan_ppi_document($doc)->as_string_hash};
+   foreach my $dep (keys(%scanneddeps)) {
+   my $ndep = $scanneddeps{$dep};
+   unless ($build_requires{$dep} && $build_requires{$dep} > $ndep) {
+   $build_requires{$dep}=$scanneddeps{$dep};
+   }
+   }
+}
+
+foreach my $pkg (keys %packages) { delete $build_requires{$pkg} };
+
 my %hdoc = ();
 if (@doc) {
foreach my $d (@doc) { 

++ updaterpm.sh ++
--- /var/tmp/diff_new_pack.tmcKXF/_old  2011-08-09 16:36:51.0 +0200
+++ /var/tmp/diff_new_pack.tmcKXF/_new  2011-08-09 16:36:51.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-rev=d0eb41e203789118fa2bcc878d9da725813679e2
+rev=8ffa1e88a8b05c300274b844fde2700ca4768e14
 git clone --depth 0 http://git.gitorious.org/opensuse/cpanspec.git
 cd cpanspec
 nrev=`git show HEAD| grep commit | head -n 1 | cut '-d ' -f2`






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cpanspec for openSUSE:Factory

2011-06-01 Thread h_root

Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Wed Jun 1 12:47:46 CEST 2011.




--- cpanspec/cpanspec.changes   2011-05-27 16:23:11.0 +0200
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes  2011-05-31 
12:49:45.0 +0200
@@ -1,0 +2,6 @@
+Tue May 31 10:48:17 UTC 2011 - co...@novell.com
+
+- Stephan Kulow (1):
+  convert to Makefile.PL
+
+---

calling whatdependson for head-i586


Old:

  cpanspec.tar.xz

New:

  cpanspec-1.78.05.tar.gz



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.z1mQa2/_old  2011-06-01 12:46:42.0 +0200
+++ /var/tmp/diff_new_pack.z1mQa2/_new  2011-06-01 12:46:42.0 +0200
@@ -15,77 +15,65 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   cpanspec
-Version:1.78.04
-Release:29
+Version:1.78.05
+Release:1
+%define cpan_name cpanspec
 Summary:Generate a SUSE spec file for a CPAN module
 License:GPL+ or Artistic
 Group:  Development/Languages/Perl
 Url:http://sourceforge.net/projects/cpanspec/
-Source0:cpanspec.tar.xz
+Source0:cpanspec-1.78.05.tar.gz
 Source99:   updaterpm.sh
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
-BuildRequires:  xz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  perl
+BuildRequires:  perl-macros
+BuildRequires:  perl(Archive::Tar)
 BuildRequires:  perl(Archive::Zip)
-BuildRequires:  perl(File::Basename)
-BuildRequires:  perl(FileHandle)
-BuildRequires:  perl(Getopt::Long)
-BuildRequires:  perl(locale)
+BuildRequires:  perl(IO::Uncompress::Bunzip2)
 BuildRequires:  perl(LWP::UserAgent)
 BuildRequires:  perl(Parse::CPAN::Packages)
-BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Pod::Simple::TextContent)
 BuildRequires:  perl(Text::Autoformat)
 BuildRequires:  perl(YAML)
-BuildRequires:  perl(File::Temp)
-BuildRequires:  perl(Module::CoreList)
-BuildRequires:  perl(File::Path)
-Requires:   perl(File::Path)
-Requires:   perl(Module::CoreList)
+Requires:   perl(Archive::Tar)
 Requires:   perl(Archive::Zip)
-Requires:   perl(File::Temp)
-Requires:   perl(File::Basename)
-Requires:   perl(FileHandle)
-Requires:   perl(Getopt::Long)
 Recommends: perl(IO::Uncompress::Bunzip2)
-Requires:   perl(locale)
 Requires:   perl(LWP::UserAgent)
 Requires:   perl(Parse::CPAN::Packages)
-Requires:   perl(Pod::POM)
-Requires:   perl(POSIX)
+Requires:   perl(Pod::Simple::TextContent)
 Requires:   perl(Text::Autoformat)
 Requires:   perl(YAML)
+%{perl_requires}
 
 %description
-cpanspec will generate a SUSE spec file to build a rpm from a CPAN-style Perl
+*cpanspec* will generate a spec file to build a rpm from a CPAN-style Perl
 module distribution.
 
 %prep
-%setup -q -n cpanspec
+%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
 
 %check
-./Build test
+%{__make} test
 
 %install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-%{_fixperms} $RPM_BUILD_ROOT/*
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
 
 %clean
-%{__rm} -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
 
-%files
-%defattr(-,root,root,-)
+%files -f %{name}.files
+%defattr(-,root,root,755)
 %doc Artistic BUGS Changes COPYING TODO
-%_bindir/cpanget
-%_bindir/cpanspec
-%_mandir/man1/cpanspec.1.gz
 
 %changelog

++ updaterpm.sh ++
--- /var/tmp/diff_new_pack.z1mQa2/_old  2011-06-01 12:46:42.0 +0200
+++ /var/tmp/diff_new_pack.z1mQa2/_new  2011-06-01 12:46:42.0 +0200
@@ -1,13 +1,14 @@
 #! /bin/sh
 
-rev=f54b8ebe26ed6bcfebe16272a1c7bb6f1f3bd1db
+rev=d0eb41e203789118fa2bcc878d9da725813679e2
 git clone --depth 0 http://git.gitorious.org/opensuse/cpanspec.git
 cd cpanspec
 nrev=`git show HEAD| grep commit | head -n 1 | cut '-d ' -f2`
 osc vc -m "`git log --no-merges ^$rev HEAD cpanspec | git shortlog`" ..
+perl Makefile.PL
+make dist
 cd ..
-rm -rf cpanspec/.git
-tar c cpanspec | xz -c > cpanspec.tar.xz
+mv cpanspec/*.gz .
 rm -rf cpanspec
 # everyone loves self modifying shell scripts, no?
 sed -e "s,^rev=.*,rev=$nrev," -i updaterpm.sh






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cpanspec for openSUSE:Factory

2011-05-30 Thread h_root

Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Mon May 30 12:17:21 CEST 2011.




--- cpanspec/cpanspec.changes   2011-05-24 10:51:49.0 +0200
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes  2011-05-27 
16:23:11.0 +0200
@@ -1,0 +2,5 @@
+Fri May 27 14:22:28 UTC 2011 - co...@novell.com
+
+- remove buildrequire now that we have a copy
+
+---

calling whatdependson for head-i586




Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.3jeCGj/_old  2011-05-30 10:54:36.0 +0200
+++ /var/tmp/diff_new_pack.3jeCGj/_new  2011-05-30 10:54:36.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   cpanspec
 Version:1.78.04
-Release:1
+Release:29
 Summary:Generate a SUSE spec file for a CPAN module
 License:GPL+ or Artistic
 Group:  Development/Languages/Perl
@@ -43,8 +43,6 @@
 BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Module::CoreList)
 BuildRequires:  perl(File::Path)
-BuildRequires:  perl(Module::Depends::Intrusive)
-Requires:   perl(Module::Depends::Intrusive)
 Requires:   perl(File::Path)
 Requires:   perl(Module::CoreList)
 Requires:   perl(Archive::Zip)







Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cpanspec for openSUSE:Factory

2011-05-27 Thread h_root

Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Fri May 27 15:02:57 CEST 2011.




--- cpanspec/cpanspec.changes   2011-04-10 21:12:01.0 +0200
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes  2011-05-24 
10:51:49.0 +0200
@@ -1,0 +2,38 @@
+Tue May 24 08:50:21 UTC 2011 - co...@novell.com
+
+- Christian (1):
+  fix File:Path remove_tree -> rmtree
+
+Stephan Kulow (2):
+  add copy from Module::Depends to fix some bugs
+  trying to make it harder for modules to run amok
+
+---
+Fri Apr 29 09:27:10 UTC 2011 - co...@opensuse.org
+
+- Stephan Kulow (6):
+  do not write out module dependencies that are in core since 5.8.8 (10.1
+  add verbose debug message for previous commit
+  extract the archive for real - preparation for bigger moves
+  less debug
+  check for executable files and avoid them
+  use an external module for testing Build.pl
+
+---
+Fri Apr 22 05:44:58 UTC 2011 - co...@opensuse.org
+
+- Stephan Kulow (12):
+  fix non-standard source
+  add more requires
+  fix owner of documentation files
+  %attr only has 3 args
+  take out the 644 - it also applies to directories on < 11.3
+  add default summary
+  make the documentation unique
+  avoid errors
+  avoid crashes while reading POM
+  allow to skip changes file
+  ignore .bak files
+  fix doc match
+
+---

calling whatdependson for head-i586


Old:

  cpanspec-1.78.tar.gz
  cpanspec.patch

New:

  cpanspec.tar.xz
  updaterpm.sh



Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.pYTlru/_old  2011-05-27 15:00:29.0 +0200
+++ /var/tmp/diff_new_pack.pYTlru/_new  2011-05-27 15:00:29.0 +0200
@@ -19,17 +19,17 @@
 
 
 Name:   cpanspec
-Version:1.78
-Release:27
-%define tar_version 1.78
+Version:1.78.04
+Release:1
 Summary:Generate a SUSE spec file for a CPAN module
 License:GPL+ or Artistic
 Group:  Development/Languages/Perl
 Url:http://sourceforge.net/projects/cpanspec/
-Source0:
http://www.cpan.org/modules/by-module/cpanspec/cpanspec-%{tar_version}.tar.gz
-Patch0: cpanspec.patch
+Source0:cpanspec.tar.xz
+Source99:   updaterpm.sh
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
+BuildRequires:  xz
 BuildRequires:  perl(Archive::Zip)
 BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(FileHandle)
@@ -40,7 +40,15 @@
 BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Text::Autoformat)
 BuildRequires:  perl(YAML)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Module::CoreList)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(Module::Depends::Intrusive)
+Requires:   perl(Module::Depends::Intrusive)
+Requires:   perl(File::Path)
+Requires:   perl(Module::CoreList)
 Requires:   perl(Archive::Zip)
+Requires:   perl(File::Temp)
 Requires:   perl(File::Basename)
 Requires:   perl(FileHandle)
 Requires:   perl(Getopt::Long)
@@ -58,8 +66,7 @@
 module distribution.
 
 %prep
-%setup -q -n cpanspec-%{tar_version}
-%patch0 -p1
+%setup -q -n cpanspec
 
 %build
 %{__perl} Build.PL installdirs=vendor

++ updaterpm.sh ++
#! /bin/sh

rev=f54b8ebe26ed6bcfebe16272a1c7bb6f1f3bd1db
git clone --depth 0 http://git.gitorious.org/opensuse/cpanspec.git
cd cpanspec
nrev=`git show HEAD| grep commit | head -n 1 | cut '-d ' -f2`
osc vc -m "`git log --no-merges ^$rev HEAD cpanspec | git shortlog`" ..
cd ..
rm -rf cpanspec/.git
tar c cpanspec | xz -c > cpanspec.tar.xz
rm -rf cpanspec
# everyone loves self modifying shell scripts, no?
sed -e "s,^rev=.*,rev=$nrev," -i updaterpm.sh






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cpanspec for openSUSE:Factory

2011-04-11 Thread h_root

Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Mon Apr 11 11:06:57 CEST 2011.




--- cpanspec/cpanspec.changes   2011-04-08 10:11:10.0 +0200
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes  2011-04-10 
21:12:01.0 +0200
@@ -1,0 +2,16 @@
+Sun Apr 10 19:11:08 UTC 2011 - co...@opensuse.org
+
+- use one Source line if not recompressed and
+  fix multi *.gz support
+
+---
+Sat Apr  9 11:43:36 UTC 2011 - co...@novell.com
+
+- don't fetch details if not already done
+
+---
+Fri Apr  8 16:32:40 UTC 2011 - co...@novell.com
+
+- more cases of license "under same terms"
+
+---

calling whatdependson for head-i586




Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.ANPOBa/_old  2011-04-11 11:05:00.0 +0200
+++ /var/tmp/diff_new_pack.ANPOBa/_new  2011-04-11 11:05:00.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   cpanspec
 Version:1.78
-Release:25
+Release:27
 %define tar_version 1.78
 Summary:Generate a SUSE spec file for a CPAN module
 License:GPL+ or Artistic

++ cpanspec.patch ++
--- /var/tmp/diff_new_pack.ANPOBa/_old  2011-04-11 11:05:00.0 +0200
+++ /var/tmp/diff_new_pack.ANPOBa/_new  2011-04-11 11:05:00.0 +0200
@@ -1,7 +1,7 @@
 Index: cpanspec-1.78/cpanspec
 ===
 --- cpanspec-1.78.orig/cpanspec2009-01-16 21:35:55.0 +0100
-+++ cpanspec-1.78/cpanspec 2011-04-08 10:10:43.221274504 +0200
 cpanspec-1.78/cpanspec 2011-04-10 20:53:46.152551293 +0200
 @@ -12,9 +12,6 @@
  #
  # $Id: cpanspec,v 1.67 2009/01/16 20:35:17 stevenpritchard Exp $
@@ -46,16 +46,17 @@
  our $cpan=$ENV{'CPAN'} || "http://www.cpan.org";;
  
  our $home=$ENV{'HOME'} || (getpwuid($<))[7];
-@@ -241,6 +241,8 @@ our @add_requires;
+@@ -241,6 +241,9 @@ our @add_requires;
  our @add_provides;
  our @add_buildrequires;
  
 +our ($file,$name,$source,$version,$type);
 +our ($content,$summary,$description,$author,$license);
++
  # env. vars and their macro analogues
  my @MACROS = (
  
-@@ -252,7 +254,7 @@ my @MACROS = (
+@@ -252,7 +255,7 @@ my @MACROS = (
  
  # 1 is for the macros.
  {
@@ -64,13 +65,22 @@
  'buildroot' => '%{buildroot}',
  },
  );
-@@ -338,6 +340,62 @@ sub update_packages() {
+@@ -304,6 +307,7 @@ sub fetch($$) {
+ $fh->close();
+ 
+ my $last_modified=$response->last_modified;
++verbose("Set last modified to $last_modified");
+ utime(time, $last_modified, $file) if ($last_modified);
+ } elsif ($response->code eq "304") {
+ verbose("$file is up to date.");
+@@ -338,6 +342,65 @@ sub update_packages() {
  $updated=1;
  }
  
 +sub get_file($) {
 +$file=shift;
 +# Look up $file in 02packages.details.txt.
++verbose("Get file $file");
 +update_packages();
 +$packages=Parse::CPAN::Packages->new($pkgdetails)
 +if (!defined($packages));
@@ -107,6 +117,7 @@
 +# keep things happy if we get "Foo-Bar" instead of "Foo::Bar"
 +$file =~ s/-/::/g;
 +
++verbose("Get source $file");
 +# Look up $file in 02packages.details.txt.
 +update_packages();
 +$packages=Parse::CPAN::Packages->new($pkgdetails)
@@ -117,6 +128,7 @@
 +if ($m=$packages->package($file) and $d=$m->distribution()) {
 +$source=$cpan . "/authors/id/" . $d->prefix();
 +$source=~s/$version/\%{version}/;
++$source=~s/$name/\%{cpan_name}/;
 +} else {
 +warn "Failed to parse '$file' or find a module by that name in 
$pkgdetails, skipping...\n";
 +$source='';
@@ -127,7 +139,7 @@
  sub build_rpm($) {
  my $spec=shift;
  my $dir=getcwd();
-@@ -387,10 +445,10 @@ sub extract($$$) {
+@@ -387,10 +450,10 @@ sub extract($$$) {
  }
  }
  
@@ -140,7 +152,7 @@
  
  my $path=$args{module};
  $path=~s,::,/,g;
-@@ -415,60 +473,130 @@ sub get_description(%) {
+@@ -415,60 +478,131 @@ sub get_description(%) {
  last if $pm;
  }
  
@@ -198,7 +210,7 @@
 +foreach my $item ($head1->content()) {
 +   last if ($item->type() eq 'head2');
 +   $description .= $item->present('Pod::POM::View::Text');
- }
++}
 +
 +# no limit
 +my @paragraphs = (split /\n\n/, $description);
@@ -207,29 +219,10 @@
 +
 +# autoformat and return...
 +return autoformat $description, { all => 1 };
- }
++}
 +return $description=undef;
 +}
- 
--if (my $readme=(sort {
--length($a) <=> length($b) or $a cmp $b
-- } (grep /README/i, @{$args{files}}))[0]) {
--verbose

commit cpanspec for openSUSE:Factory

2011-04-08 Thread h_root

Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Fri Apr 8 11:08:54 CEST 2011.




--- cpanspec/cpanspec.changes   2011-04-06 11:13:07.0 +0200
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes  2011-04-08 
10:11:10.0 +0200
@@ -1,0 +2,19 @@
+Fri Apr  8 08:10:07 UTC 2011 - co...@novell.com
+
+- use abstract if summary is not given
+- package examples
+- use wget -nc instead of repeated curl in cpanget
+
+---
+Thu Apr  7 08:20:56 UTC 2011 - co...@novell.com
+
+- use description=summary if no description is given, that's better
+  than "sorry"
+
+---
+Wed Apr  6 13:12:51 UTC 2011 - co...@novell.com
+
+- increment the version to 1.17.04
+  * check the pod for the license
+
+---

calling whatdependson for head-i586




Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.qiPjcm/_old  2011-04-08 11:01:46.0 +0200
+++ /var/tmp/diff_new_pack.qiPjcm/_new  2011-04-08 11:01:46.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   cpanspec
 Version:1.78
-Release:23
+Release:25
 %define tar_version 1.78
 Summary:Generate a SUSE spec file for a CPAN module
 License:GPL+ or Artistic

++ cpanspec.patch ++
--- /var/tmp/diff_new_pack.qiPjcm/_old  2011-04-08 11:01:46.0 +0200
+++ /var/tmp/diff_new_pack.qiPjcm/_new  2011-04-08 11:01:46.0 +0200
@@ -1,7 +1,7 @@
 Index: cpanspec-1.78/cpanspec
 ===
 --- cpanspec-1.78.orig/cpanspec2009-01-16 21:35:55.0 +0100
-+++ cpanspec-1.78/cpanspec 2011-04-06 10:53:36.712945449 +0200
 cpanspec-1.78/cpanspec 2011-04-08 10:10:43.221274504 +0200
 @@ -12,9 +12,6 @@
  #
  # $Id: cpanspec,v 1.67 2009/01/16 20:35:17 stevenpritchard Exp $
@@ -17,7 +17,7 @@
  use warnings;
  
 +our $NAME="cpanspec";
-+our $VERSION='1.78.03';
++our $VERSION='1.78.04';
 +
  use FileHandle;
  use Archive::Tar;
@@ -51,7 +51,7 @@
  our @add_buildrequires;
  
 +our ($file,$name,$source,$version,$type);
-+our ($content,$summary,$description,$author);
++our ($content,$summary,$description,$author,$license);
  # env. vars and their macro analogues
  my @MACROS = (
  
@@ -140,7 +140,7 @@
  
  my $path=$args{module};
  $path=~s,::,/,g;
-@@ -415,60 +473,97 @@ sub get_description(%) {
+@@ -415,60 +473,130 @@ sub get_description(%) {
  last if $pm;
  }
  
@@ -208,7 +208,7 @@
 +# autoformat and return...
 +return autoformat $description, { all => 1 };
  }
-+return $description='sorry, no description found';
++return $description=undef;
 +}
  
 -if (my $readme=(sort {
@@ -230,7 +230,6 @@
 -warn "Failed to read $readme from $args{filename}"
 -. ($args{type} eq 'tar'
 -? (": " . $args{archive}->error()) : "") . "\n";
--}
 +sub get_summary($$) {
 +my $cont = shift;
 +my $mod = shift;
@@ -249,7 +248,7 @@
 +
 +# return...
 +return $summary = $1 if $pom;
- }
++}
 +return $summary="$mod Perl module";
 +}
 +
@@ -277,16 +276,49 @@
 +}
 +  
 +$author = join "\n", @lines; 
- 
--return(undef, undef);
++
 +# return...
 +return $author;
 +}
 +return $author='sorry, no author found';
++}
++
++sub get_license($) {
++my $cont = shift;
++my @lines=();
++my $parser = Pod::POM->new;
++
++# extract pod; the file may contain no pod, that's ok
++my $pom = $parser->parse_text($cont);
++
++HEAD1:
++foreach my $head1 ($pom->head1) {
++
++next HEAD1 unless $head1->title =~ /LICENSE/;
++
++my $pom = $head1->content;
++$license = $pom->present('Pod::POM::View::Text');
++
++my @paragraphs = (split /\n/, $license);
++foreach my $line (@paragraphs){
++next if $line eq "";
++next if $line =~ /Copyright/i;
++$line =~ s/^/ /;
++push(@lines, $line);
+ }
++
++$license = join "\n", @lines;
++
++# return...
++return $license;
+ }
++return $license='sorry, no license found';
+ 
+-return(undef, undef);
  }
  
  sub check_rpm($) {
-@@ -554,13 +649,6 @@ my $prefix=$noprefix ? "" : "perl-";
+@@ -554,13 +682,6 @@ my $prefix=$noprefix ? "" : "perl-";
  
  $packager=$packager || `rpm --eval '\%packager'`;
  
@@ -300,7 +332,15 @@
  our %corelist;
  
  my $rpm=new FileHandle "rpm -q --provides perl|"
-@@ -577,67 +665,49 @@ while (my $provides=<$rpm>) {
+@@ -570,74 +691,56 @@ while (my $provides=<$rpm>) {
+ chomp $provides;
+ 
+ if ($provides=~/^perl\(([^\)]+)\)(?:\s+=\s+(\S+))\s*$/)

commit cpanspec for openSUSE:Factory

2011-04-06 Thread h_root

Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Wed Apr 6 11:44:33 CEST 2011.




--- cpanspec/cpanspec.changes   2011-04-05 13:25:58.0 +0200
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes  2011-04-06 
11:13:07.0 +0200
@@ -1,0 +2,5 @@
+Wed Apr  6 09:12:51 UTC 2011 - co...@novell.com
+
+- do not use %defattr with 644 to not break binaries
+
+---

calling whatdependson for head-i586




Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.TF1ntB/_old  2011-04-06 11:44:21.0 +0200
+++ /var/tmp/diff_new_pack.TF1ntB/_new  2011-04-06 11:44:21.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   cpanspec
 Version:1.78
-Release:21
+Release:23
 %define tar_version 1.78
 Summary:Generate a SUSE spec file for a CPAN module
 License:GPL+ or Artistic

++ cpanspec.patch ++
--- /var/tmp/diff_new_pack.TF1ntB/_old  2011-04-06 11:44:21.0 +0200
+++ /var/tmp/diff_new_pack.TF1ntB/_new  2011-04-06 11:44:21.0 +0200
@@ -1,7 +1,7 @@
 Index: cpanspec-1.78/cpanspec
 ===
 --- cpanspec-1.78.orig/cpanspec2009-01-16 21:35:55.0 +0100
-+++ cpanspec-1.78/cpanspec 2011-04-05 13:25:33.788388329 +0200
 cpanspec-1.78/cpanspec 2011-04-06 10:53:36.712945449 +0200
 @@ -12,9 +12,6 @@
  #
  # $Id: cpanspec,v 1.67 2009/01/16 20:35:17 stevenpritchard Exp $
@@ -705,10 +705,10 @@
 -\%doc @doc
 +\%files -f \%{name}.files
  END
-+print $spec "\%defattr(644,root,root,755)\n";
++print $spec "\%defattr(-,root,root,755)\n";
 +
 +if (@doc) {
-+   print $spec "%doc @doc\n";
++   print $spec "%doc %attr(644,-,-) @doc\n";
 +}
  
  if ($scripts) {






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cpanspec for openSUSE:Factory

2011-04-06 Thread h_root

Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Wed Apr 6 09:39:08 CEST 2011.




--- cpanspec/cpanspec.changes   2011-02-20 02:02:20.0 +0100
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes  2011-04-05 
13:25:58.0 +0200
@@ -1,0 +2,16 @@
+Tue Apr  5 11:25:44 UTC 2011 - co...@novell.com
+
+- also read out recommends
+
+---
+Tue Apr  5 08:30:32 UTC 2011 - co...@novell.com
+
+- %defattr is needed even without doc
+
+---
+Fri Apr  1 09:42:27 UTC 2011 - co...@novell.com
+
+- limit %description to the preamble of head1 - before the first
+  head2
+
+---

calling whatdependson for head-i586




Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.wABeWq/_old  2011-04-06 09:35:30.0 +0200
+++ /var/tmp/diff_new_pack.wABeWq/_new  2011-04-06 09:35:30.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   cpanspec
 Version:1.78
-Release:19
+Release:21
 %define tar_version 1.78
 Summary:Generate a SUSE spec file for a CPAN module
 License:GPL+ or Artistic

++ cpanspec.patch ++
--- /var/tmp/diff_new_pack.wABeWq/_old  2011-04-06 09:35:30.0 +0200
+++ /var/tmp/diff_new_pack.wABeWq/_new  2011-04-06 09:35:30.0 +0200
@@ -1,6 +1,7 @@
-diff -ruN cpanspec-1.78-orig/cpanspec cpanspec-1.78/cpanspec
 cpanspec-1.78-orig/cpanspec2009-01-16 21:35:55.0 +0100
-+++ cpanspec-1.78/cpanspec 2011-02-20 01:55:34.0 +0100
+Index: cpanspec-1.78/cpanspec
+===
+--- cpanspec-1.78.orig/cpanspec2009-01-16 21:35:55.0 +0100
 cpanspec-1.78/cpanspec 2011-04-05 13:25:33.788388329 +0200
 @@ -12,9 +12,6 @@
  #
  # $Id: cpanspec,v 1.67 2009/01/16 20:35:17 stevenpritchard Exp $
@@ -11,7 +12,7 @@
  =head1 NAME
  
  cpanspec - Generate a spec file for a CPAN module
-@@ -191,6 +188,9 @@
+@@ -191,6 +188,9 @@ L, L, Lhttp://www.cpan.org";;
  
  our $home=$ENV{'HOME'} || (getpwuid($<))[7];
-@@ -241,6 +241,8 @@
+@@ -241,6 +241,8 @@ our @add_requires;
  our @add_provides;
  our @add_buildrequires;
  
@@ -54,7 +55,7 @@
  # env. vars and their macro analogues
  my @MACROS = (
  
-@@ -252,7 +254,7 @@
+@@ -252,7 +254,7 @@ my @MACROS = (
  
  # 1 is for the macros.
  {
@@ -63,7 +64,7 @@
  'buildroot' => '%{buildroot}',
  },
  );
-@@ -338,6 +340,62 @@
+@@ -338,6 +340,62 @@ sub update_packages() {
  $updated=1;
  }
  
@@ -126,7 +127,7 @@
  sub build_rpm($) {
  my $spec=shift;
  my $dir=getcwd();
-@@ -387,10 +445,10 @@
+@@ -387,10 +445,10 @@ sub extract($$$) {
  }
  }
  
@@ -139,7 +140,7 @@
  
  my $path=$args{module};
  $path=~s,::,/,g;
-@@ -415,60 +473,95 @@
+@@ -415,60 +473,97 @@ sub get_description(%) {
  last if $pm;
  }
  
@@ -180,7 +181,6 @@
 -warn "Failed to read $pm from $args{filename}"
 -. ($args{type} eq 'tar'
 -? (": " . $args{archive}->error()) : "") . "\n";
--}
 +sub get_description($) {
 +my $cont = shift;
 +my $parser = Pod::POM->new;
@@ -188,16 +188,18 @@
 +# extract pod; the file may contain no pod, that's ok
 +my $pom = $parser->parse_text($cont);
 +
++
 +HEAD1:
 +foreach my $head1 ($pom->head1) {
 +
 +next HEAD1 unless $head1->title eq 'DESCRIPTION';
 +
-+my $pom = $head1->content;
-+$description = $pom->present('Pod::POM::View::Text');
++$description = '';
++foreach my $item ($head1->content()) {
++   last if ($item->type() eq 'head2');
++   $description .= $item->present('Pod::POM::View::Text');
+ }
 +
-+# limit to 3 paragraphs at the moment
-+#my @paragraphs = (split /\n\n/, $description)[0..2];
 +# no limit
 +my @paragraphs = (split /\n\n/, $description);
 +
@@ -250,8 +252,7 @@
  }
 +return $summary="$mod Perl module";
 +}
- 
--return(undef, undef);
++
 +sub get_author($) {
 +my $cont = shift;
 +my @lines=();
@@ -276,7 +277,8 @@
 +}
 +  
 +$author = join "\n", @lines; 
-+
+ 
+-return(undef, undef);
 +# return...
 +return $author;
 +}
@@ -284,7 +286,7 @@
  }
  
  sub check_rpm($) {
-@@ -554,13 +647,6 @@
+@@ -554,13 +649,6 @@ my $prefix=$noprefix ? "" : "perl-";
  
  $packager=$packager || `rpm --eval '\%packager'`;
  
@@ -298,7 +300,7 @@
  our %corelist;
  
  my $rpm=new FileHandle "rpm -q --provides perl|"
-@@ -577,67 +663,49 @@
+@@ -577,67 +665,49 @@ while (my $provides=<$rpm>) {
  my @args=@ARGV;
  my @processed=();
  
@@ -384,7 +386,7 @@
  
  if ($@) {
  wa

commit cpanspec for openSUSE:Factory

2011-03-24 Thread h_root

Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Thu Mar 24 17:39:46 CET 2011.




--- cpanspec/cpanspec.changes   2011-02-01 14:19:57.0 +0100
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes  2011-02-20 
02:02:20.0 +0100
@@ -1,0 +2,8 @@
+Sun Feb 20 00:39:36 UTC 2011 - ch...@computersalat.de
+
+- fix some perl errors
+  o cpanspec Cpan-Name
+  o cpanspec Cpan::Name
+  o cpanspec Cpan-Name-{version}.tar.gz
+
+---

calling whatdependson for head-i586




Other differences:
--
++ cpanspec.spec ++
--- /var/tmp/diff_new_pack.q9B7rV/_old  2011-03-24 17:39:33.0 +0100
+++ /var/tmp/diff_new_pack.q9B7rV/_new  2011-03-24 17:39:33.0 +0100
@@ -20,7 +20,7 @@
 
 Name:   cpanspec
 Version:1.78
-Release:4
+Release:19
 %define tar_version 1.78
 Summary:Generate a SUSE spec file for a CPAN module
 License:GPL+ or Artistic

++ cpanspec.patch ++
--- /var/tmp/diff_new_pack.q9B7rV/_old  2011-03-24 17:39:33.0 +0100
+++ /var/tmp/diff_new_pack.q9B7rV/_new  2011-03-24 17:39:33.0 +0100
@@ -1,6 +1,6 @@
 diff -ruN cpanspec-1.78-orig/cpanspec cpanspec-1.78/cpanspec
 --- cpanspec-1.78-orig/cpanspec2009-01-16 21:35:55.0 +0100
-+++ cpanspec-1.78/cpanspec 2011-02-01 14:18:48.0 +0100
 cpanspec-1.78/cpanspec 2011-02-20 01:55:34.0 +0100
 @@ -12,9 +12,6 @@
  #
  # $Id: cpanspec,v 1.67 2009/01/16 20:35:17 stevenpritchard Exp $
@@ -115,12 +115,12 @@
 +my ($m,$d);
 +if ($m=$packages->package($file) and $d=$m->distribution()) {
 +$source=$cpan . "/authors/id/" . $d->prefix();
++$source=~s/$version/\%{version}/;
 +} else {
 +warn "Failed to parse '$file' or find a module by that name in 
$pkgdetails, skipping...\n";
 +$source='';
 +return;
 +}
-+$source=~s/$version/\%{version}/;
 +}
 +
  sub build_rpm($) {
@@ -250,7 +250,8 @@
  }
 +return $summary="$mod Perl module";
 +}
-+
+ 
+-return(undef, undef);
 +sub get_author($) {
 +my $cont = shift;
 +my @lines=();
@@ -275,8 +276,7 @@
 +}
 +  
 +$author = join "\n", @lines; 
- 
--return(undef, undef);
++
 +# return...
 +return $author;
 +}
@@ -439,15 +439,21 @@
  
  my @doc=sort { $a cmp $b } grep {
  !/\//
-@@ -722,6 +784,7 @@
+@@ -722,17 +784,22 @@
  and $_ ne "MANIFEST.SKIP"
  and $_ ne "INSTALL"
  and $_ ne "SIGNATURE"
 +and $_ ne "META.json"
  and $_ ne "META.yml"
  and $_ ne "NINJA"
++and $_ ne "c"
  and $_ ne "configure"
-@@ -733,6 +796,8 @@
+ and $_ ne "config.guess"
+ and $_ ne "config.sub"
++and $_ ne "dist.ini"
+ and $_ ne "typemap"
+ and $_ ne "bin"
+ and $_ ne "lib"
  and $_ ne "t"
  and $_ ne "inc"
  and $_ ne "autobuild.sh"
@@ -456,7 +462,7 @@
  and $_ ne "pm_to_blib"
  and $_ ne "install.sh"
  } @files;
-@@ -947,45 +1012,61 @@
+@@ -947,45 +1014,63 @@
  }
  
  print $spec <= " . $requires{$dep}) if ($requires{$dep});
-@@ -1015,11 +1097,6 @@
+@@ -1015,11 +1101,6 @@
  printf $spec "%-16s%s\n", "Requires:", $dep;
  }
  
@@ -564,12 +570,10 @@
  
  for my $prov (@add_provides) {
  printf $spec "%-16s%s\n", "Provides:", $prov;
-@@ -1043,7 +1120,12 @@
+@@ -1043,7 +1124,10 @@
  END
  }
  
-+print $spec "BuildRoot:  \%{_tmppath}/\%{name}-\%{version}-build\n";
-+printf $spec "%-16s%s\n", "BuildArch:", "noarch" if ($noarch);
 +print $spec "%{perl_requires}\n";
 +
  my $buildpath=$path;
@@ -577,7 +581,7 @@
  $buildpath=~s/$version/\%{version}/;
  print $spec