Hello community, here is the log from the commit of package perl-Sub-Name for openSUSE:Factory checked in at Wed Aug 24 14:58:14 CEST 2011.
-------- --- perl-Sub-Name/perl-Sub-Name.changes 2010-12-01 14:54:51.000000000 +0100 +++ /mounts/work_src_done/STABLE/perl-Sub-Name/perl-Sub-Name.changes 2011-08-19 13:50:15.000000000 +0200 @@ -1,0 +2,10 @@ +Fri Aug 19 11:48:28 UTC 2011 - [email protected] + +- Fixed summary and description + +------------------------------------------------------------------- +Sat Apr 30 15:20:26 UTC 2011 - [email protected] + +- updated to 0.05 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sub-Name.spec ++++++ --- /var/tmp/diff_new_pack.JSQhjf/_old 2011-08-24 14:56:40.000000000 +0200 +++ /var/tmp/diff_new_pack.JSQhjf/_new 2011-08-24 14:56:40.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package perl-Sub-Name (Version 0.05) +# spec file for package perl-Sub-Name # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -15,48 +15,43 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: perl-Sub-Name -%define cpan_name Sub-Name -Summary: (re)name a sub Version: 0.05 -Release: 2 -License: GPL+ or Artistic -Group: Development/Libraries/Perl +Release: 16 +License: Artistic License; GPLv2+ +%define cpan_name Sub-Name +Summary: Assigns a new name to referenced sub Url: http://search.cpan.org/dist/Sub-Name/ -Source: http://www.cpan.org/modules/by-module/Sub/Sub-Name-%{version}.tar.gz +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/F/FL/FLORA/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +%{perl_requires} %description This module has only one function, which is also exported by default: subname NAME, CODEREF - Assigns a new name to referenced sub. If package specification is - omitted in the name, then the current package is used. The return value - is the sub. - - The name is only used for informative routines (caller, Carp, etc). You - won't be able to actually invoke the sub by the given name. To allow - that, you need to do glob-assignment yourself. - - Note that for anonymous closures (subs that reference lexicals declared - outside the sub itself) you can name each instance of the closure - differently, which can be very useful for debugging. - -Authors: --------- - Matthijs van Duin <[email protected]> + +Assigns a new name to referenced sub. If package specification is omitted in +the name, then the current package is used. The return value is the sub. + +The name is only used for informative routines (caller, Carp, etc). You won't +be able to actually invoke the sub by the given name. To allow that, you need +to do glob-assignment yourself. + +Note that for anonymous closures (subs that reference lexicals declared outside +the sub itself) you can name each instance of the closure differently, which +can be very useful for debugging. %prep %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check @@ -68,10 +63,10 @@ %perl_gen_filelist %clean -%{__rm} -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc Changes README %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
