From e2cc3dcf2c2bdebdd600bc013a75d024125b66117a48b340b628da65adf3af56 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Thu, 11 Nov 2010 17:49:16 +0000 Subject: [PATCH] update to 0.13, noarch pkg OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Package-Stash?expand=0&rev=5 --- Package-Stash-0.08.tar.gz | 3 -- Package-Stash-0.13.tar.bz2 | 3 ++ perl-Package-Stash.changes | 28 ++++++++--- perl-Package-Stash.spec | 97 +++++++++++++++++++++++--------------- 4 files changed, 84 insertions(+), 47 deletions(-) delete mode 100644 Package-Stash-0.08.tar.gz create mode 100644 Package-Stash-0.13.tar.bz2 diff --git a/Package-Stash-0.08.tar.gz b/Package-Stash-0.08.tar.gz deleted file mode 100644 index 951898f..0000000 --- a/Package-Stash-0.08.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23fda93d7f6db3ef255cc56301aab4b4bafb6826ba3ddf6bbb11cd01524bd559 -size 17357 diff --git a/Package-Stash-0.13.tar.bz2 b/Package-Stash-0.13.tar.bz2 new file mode 100644 index 0000000..70aa8ac --- /dev/null +++ b/Package-Stash-0.13.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a79341f166344a1955ac969e999db611b43600ebf4e1437d18d7a6928f63fae +size 17102 diff --git a/perl-Package-Stash.changes b/perl-Package-Stash.changes index 03eee74..f676446 100644 --- a/perl-Package-Stash.changes +++ b/perl-Package-Stash.changes @@ -1,19 +1,35 @@ +------------------------------------------------------------------- +Thu Nov 11 17:46:28 UTC 2010 - chris@computersalat.de + +- update to 0.13 + - revert the vivification changes for now, to get an actual release out + with Test::Fatal +- 0.12-TRIAL 2010-10-27 + - actually include the conflict stuff in the release (bah) +- 0.11-TRIAL 2010-10-27 + - conflict on mx-role-withoverloading too +- 0.10-TRIAL 2010-10-27 + - only do the weird ISA special-casing on perl versions where it's broken +- 0.09-TRIAL 2010-10-27 + - clean up the vivication code a lot, make it behave more sanely + - use Test::Fatal instead of Test::Exception (Justin Hunter) +- noarch pkg + ------------------------------------------------------------------- Fri Oct 8 12:41:34 CEST 2010 - dmueller@suse.de - update to 0.08: - - oops, accidentally included some experimental changes in that last - release, that break things - - non-dev release - - re-enable the caching of the stash, since I can't reproduce the bug - at all + - oops, accidentally included some experimental changes in that last + release, that break things + - non-dev release + - re-enable the caching of the stash, since I can't reproduce the bug + at all ------------------------------------------------------------------- Tue Aug 31 22:16:54 UTC 2010 - pascal.bleser@opensuse.org - update to 0.05: * bump Test::More requirement for done_testing - - changes from 0.04: * get_package_symbol now doesn't autovivify stash entries. A new method get_or_add_package_symbol can now be used for that behavior. * update %DB::sub on add_package_symbol diff --git a/perl-Package-Stash.spec b/perl-Package-Stash.spec index 0ee6de1..151bcea 100644 --- a/perl-Package-Stash.spec +++ b/perl-Package-Stash.spec @@ -1,56 +1,77 @@ +# +# spec file for package perl-Package-Stash (Version 0.13) +# +# Copyright (c) 2010 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + # norootforbuild -Name: perl-Package-Stash -Version: 0.08 -Release: 0 -Summary: Routines for Manipulating Stashes -Source: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-%{version}.tar.gz -URL: http://search.cpan.org/dist/Package-Stash/ -Group: Development/Libraries/Perl -License: Perl License -BuildRoot: %{_tmppath}/build-%{name}-%{version} -Requires: perl = %{perl_version} -BuildRequires: make perl -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31 +Name: perl-Package-Stash +%define cpan_name Package-Stash +Summary: Routines for manipulating stashes +Version: 0.13 +Release: 1 +License: GPL+ or Artistic +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Package-Stash/ +#Source: http://www.cpan.org/modules/by-module/Package/Package-Stash-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 -BuildRequires: perl(Scalar::Util) -BuildRequires: perl(Test::Exception) BuildRequires: perl(Scalar::Util) -Requires: perl(Scalar::Util) +Requires: perl = %{perl_version} +Requires: perl(Scalar::Util) %description Manipulating stashes (Perl's symbol tables) is occasionally necessary, but -incredibly messy, and easy to get wrong. This module hides all of that behind a -simple API. +incredibly messy, and easy to get wrong. This module hides all of that +behind a simple API. + +Authors: +-------- + Jesse Luehrs %prep -%setup -q -n "Package-Stash-%{version}" -%__sed -i '/^auto_install/d' Makefile.PL +%setup -q -n %{cpan_name}-%{version} %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?jobs:-j%{jobs}} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install -%perl_process_packlist - -%check -%if %suse_version>=1120 -%__make test -%endif +# do not perl_process_packlist (noarch) +# remove .packlist file +%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch +# remove perllocal.pod file +%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_gen_filelist %clean -%__rm -rf "%{buildroot}" +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-,root,root) -%doc Changes README LICENSE -%dir %{perl_vendorlib}/Package -%{perl_vendorlib}/Package/Stash.pm -%dir %{perl_vendorarch}/auto/Package -%{perl_vendorarch}/auto/Package/Stash -%doc %{perl_man3dir}/Package::Stash.%{perl_man3ext}%{ext_man} -/var/adm/perl-modules/%{name} +%files -f %{name}.files +%defattr(-,root,root,-) +%doc Changes dist.ini LICENSE META.json README weaver.ini -# vim: set sw=3 ts=3 noet: +%changelog