Christian Wittmer 2010-11-11 17:49:16 +00:00 committed by Git OBS Bridge
parent f4d769c667
commit e2cc3dcf2c
4 changed files with 84 additions and 47 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23fda93d7f6db3ef255cc56301aab4b4bafb6826ba3ddf6bbb11cd01524bd559
size 17357

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a79341f166344a1955ac969e999db611b43600ebf4e1437d18d7a6928f63fae
size 17102

View File

@ -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 Fri Oct 8 12:41:34 CEST 2010 - dmueller@suse.de
- update to 0.08: - update to 0.08:
- oops, accidentally included some experimental changes in that last - oops, accidentally included some experimental changes in that last
release, that break things release, that break things
- non-dev release - non-dev release
- re-enable the caching of the stash, since I can't reproduce the bug - re-enable the caching of the stash, since I can't reproduce the bug
at all at all
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 31 22:16:54 UTC 2010 - pascal.bleser@opensuse.org Tue Aug 31 22:16:54 UTC 2010 - pascal.bleser@opensuse.org
- update to 0.05: - update to 0.05:
* bump Test::More requirement for done_testing * bump Test::More requirement for done_testing
- changes from 0.04: - 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. * 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 * update %DB::sub on add_package_symbol

View File

@ -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 # norootforbuild
Name: perl-Package-Stash Name: perl-Package-Stash
Version: 0.08 %define cpan_name Package-Stash
Release: 0 Summary: Routines for manipulating stashes
Summary: Routines for Manipulating Stashes Version: 0.13
Source: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-%{version}.tar.gz Release: 1
URL: http://search.cpan.org/dist/Package-Stash/ License: GPL+ or Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: Perl License Url: http://search.cpan.org/dist/Package-Stash/
BuildRoot: %{_tmppath}/build-%{name}-%{version} #Source: http://www.cpan.org/modules/by-module/Package/Package-Stash-%{version}.tar.gz
Requires: perl = %{perl_version} Source: %{cpan_name}-%{version}.tar.bz2
BuildRequires: make perl BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31 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(Test::More) >= 0.88
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
Requires: perl(Scalar::Util) Requires: perl = %{perl_version}
Requires: perl(Scalar::Util)
%description %description
Manipulating stashes (Perl's symbol tables) is occasionally necessary, but 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 incredibly messy, and easy to get wrong. This module hides all of that
simple API. behind a simple API.
Authors:
--------
Jesse Luehrs <doy at tozt dot net>
%prep %prep
%setup -q -n "Package-Stash-%{version}" %setup -q -n %{cpan_name}-%{version}
%__sed -i '/^auto_install/d' Makefile.PL
%build %build
%__perl Makefile.PL PREFIX="%{_prefix}" %{__perl} Makefile.PL INSTALLDIRS=vendor
%__make %{?jobs:-j%{jobs}} %{__make} %{?_smp_mflags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist # do not perl_process_packlist (noarch)
# remove .packlist file
%check %{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
%if %suse_version>=1120 # remove perllocal.pod file
%__make test %{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%endif %perl_gen_filelist
%clean %clean
%__rm -rf "%{buildroot}" %{__rm} -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc Changes README LICENSE %doc Changes dist.ini LICENSE META.json README weaver.ini
%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}
# vim: set sw=3 ts=3 noet: %changelog