source: projects/specs/trunk/p/perl-Package-Stash/perl-Package-Stash-vl.spec @ 12120

Revision 12120, 7.6 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Name:           perl-Package-Stash
2Version:        0.38
3Release:        1%{?_dist_release}
4Summary:        Routines for manipulating stashes
5Group:          Development/Libraries
6License:        GPL+ or Artistic
7URL:            http://search.cpan.org/dist/Package-Stash/
8Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-%{version}.tar.gz
9Patch0:         Package-Stash-0.32-EU::MM-version.patch
10Patch1:         Package-Stash-0.32-old-Test::More.patch
11Patch2:         Package-Stash-0.31-no-Test::Requires.patch
12Patch3:         Package-Stash-0.32-no-Test::LeakTrace.patch
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
14
15Vendor:        Project Vine
16Distribution:  Vine Linux
17
18BuildArch:      noarch
19#BuildRequires: perl(Carp)
20#BuildRequires: perl(Dist::CheckConflicts) >= 0.02
21#BuildRequires: perl(ExtUtils::MakeMaker)
22#BuildRequires: perl(Scalar::Util)
23#BuildRequires: perl(Package::DeprecationManager)
24#BuildRequires: perl(Package::Stash::XS) >= 0.24
25#BuildRequires: perl(Pod::Coverage::TrustPod)
26Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
27# For performance and consistency
28#Requires:      perl(Package::Stash::XS)
29# Not found by rpm auto-provides
30Provides:       perl(Package::Stash::Conflicts) = 0
31
32%description
33Manipulating stashes (Perl's symbol tables) is occasionally necessary, but
34incredibly messy, and easy to get wrong. This module hides all of that behind
35a simple API.
36
37%prep
38%setup -q -n Package-Stash-%{version}
39
40%build
41perl Makefile.PL INSTALLDIRS=vendor
42make %{?_smp_mflags}
43
44%install
45rm -rf %{buildroot}
46make pure_install DESTDIR=%{buildroot}
47find %{buildroot} -type f -name .packlist -exec rm -f {} \;
48find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
49%{_fixperms} %{buildroot}
50
51%check
52#make test AUTHOR_TESTING=1 RELEASE_TESTING=1
53
54%clean
55rm -rf %{buildroot}
56
57%files
58%defattr(-,root,root,-)
59%license LICENSE
60%doc Changes README
61%{_bindir}/package-stash-conflicts
62%{perl_vendorlib}/Package/
63%{_mandir}/man1/*
64%{_mandir}/man3/Package::Stash.3pm*
65%{_mandir}/man3/Package::Stash::PP.3pm*
66
67%changelog
68* Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.38-1
69- new upstream release.
70- rebuilt with perl-5.26.
71
72* Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.36-1
73- update to 0.36
74
75* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.33-1
76- initial build for Vine Linux
77
78* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 0.33-2
79- Fedora 17 mass rebuild
80
81* Thu Sep 29 2011 Paul Howarth <paul@city-fan.org> - 0.33-1
82- Update to 0.33
83  - Add conflict on MooseX::Method::Signatures 0.36
84- BR: perl(Carp)
85
86* Tue Sep  6 2011 Paul Howarth <paul@city-fan.org> - 0.32-1
87- Update to 0.32
88  - Bring the behavior of has_symbol for nonexistant scalars into line with the
89    XS version
90  - Invalid package names (for instance, Foo:Bar) are not allowed
91  - Invalid stash entry names (anything containing ::) are not allowed
92- Update patches to apply cleanly
93- Bump perl(Package::Stash::XS) version requirement to 0.24
94
95* Tue Aug  9 2011 Paul Howarth <paul@city-fan.org> - 0.31-1
96- Update to 0.31
97  - Fix ->add_symbol('$foo', qr/sdlfk/) on 5.12+
98  - Fix ->add_symbol('$foo', \v1.2.3) on 5.10+
99- Update patch for old Test::More versions
100- Update patch for no Test::Requires
101
102* Thu Jul 21 2011 Paul Howarth <paul@city-fan.org> - 0.30-2
103- Perl mass rebuild
104
105* Thu Jul 21 2011 Paul Howarth <paul@city-fan.org> - 0.30-1
106- Update to 0.30
107  - Fix compiler detection in Makefile.PL
108- Update patch for old ExtUtils::MakeMaker versions
109- Drop usage of macros for commands
110- Drop redundant %%{?perl_default_filter}
111- perl(Pod::Coverage::TrustPod) now available everywhere
112
113* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.29-2
114- Perl mass rebuild
115
116* Wed Apr  6 2011 Paul Howarth <paul@city-fan.org> - 0.29-1
117- Update to 0.29
118  - Really skip the package-stash-conflict script in the compile test
119
120* Wed Mar 30 2011 Paul Howarth <paul@city-fan.org> - 0.28-1
121- Update to 0.28
122  - META.json fixes
123- Update patch for old ExtUtils::MakeMaker versions to apply cleanly
124
125* Mon Mar 28 2011 Paul Howarth <paul@city-fan.org> - 0.27-1
126- Update to 0.27
127  - Skip the package-stash-conflicts script in the compile test
128
129* Sat Mar  5 2011 Paul Howarth <paul@city-fan.org> - 0.26-1
130- Update to 0.26
131  - Make the namespace cache lazy and weak, in case the stash is deleted
132  - However, this doesn't work on 5.8, so disable the namespace caching
133    entirely there
134- Update patches to apply cleanly
135- Bump perl(Package::Stash::XS) version requirement to 0.22
136- Bump perl(Dist::CheckConflicts) version requirement to 0.02
137
138* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-2
139- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
140
141* Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 0.25-1
142- Update to 0.25 (make the leak tests author-only, since some smokers run
143  release tests)
144- Update patches to apply cleanly
145- Bump perl(Package::Stash::XS) version requirement to 0.21
146- Drop buildreq perl(Test::Exception), no longer needed
147
148* Tue Jan 18 2011 Paul Howarth <paul@city-fan.org> - 0.24-1
149- Update to 0.24 (reinstate Test::Requires dependency)
150
151* Wed Jan 12 2011 Paul Howarth <paul@city-fan.org> - 0.23-1
152- Update to 0.23
153  - Lower perl prereq to 5.8.1
154  - Make the leak tests release-only
155- Update patches to apply cleanly
156- Add patch to skip memory leak tests if we don't have Test::LeakTrace
157
158* Thu Jan  6 2011 Paul Howarth <paul@city-fan.org> - 0.22-1
159- Update to 0.22 (bump Package::Stash::XS version requirement since a bug was
160  fixed there)
161- Update patches for old ExtUtils::MakeMaker and Test::More versions
162- BR/R perl(Package::Stash::XS) >= 0.19
163- Content-free manpages for package-stash-conflicts and
164  Package::Stash::Conflicts dropped upstream
165
166* Tue Jan  4 2011 Paul Howarth <paul@city-fan.org> - 0.20-1
167- Update to 0.20
168  - Methods were renamed for brevity: s/_package//
169  - Convert Package::Stash into a module which loads either the XS or pure perl
170    implementation, depending on what's available
171  - Use Test::Fatal instead of Test::Exception
172  - Use Dist::CheckConflicts
173  - Silence deprecation warnings for the method renaming for now
174- New script and manpage: package-stash-conflicts
175- New modules and manpages: Package::Stash::Conflicts and Package::Stash::PP
176- New build requirements:
177  - perl(Dist::CheckConflicts)
178  - perl(Package::DeprecationManager)
179  - perl(Package::Stash::XS)
180  - perl(Test::LeakTrace)
181  - perl(Test::Requires)
182  - perl(Test::Script)
183- Update patches for old ExtUtils::MakeMaker and Test::More versions
184- Add new patch to work around absence of Test::Requires in EPEL-4
185- Require perl(Package::Stash::XS) for performance and consistency
186- Manually provide perl(Package::Stash::Conflicts), hidden from auto-provides
187
188* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-2
189- Rebuild to fix problems with vendorarch/lib (#661697)
190
191* Mon Sep 20 2010 Paul Howarth <paul@city-fan.org> - 0.08-1
192- Update to 0.08 (re-enable the caching of the stash)
193- Update patch for old ExtUtils::MakeMaker and Test::More versions
194
195* Wed Jun 16 2010 Paul Howarth <paul@city-fan.org> - 0.05-1
196- Update to 0.05
197  - Bump Test::More requirement for done_testing
198  - Update packaging stuff
199- BR: perl(Test::EOL) and perl(Test::NoTabs)
200- Unify spec for all active branches, adding patches for back-compatibility
201
202* Mon Jun 14 2010 Paul Howarth <paul@city-fan.org> - 0.04-1
203- Update to 0.04 (get_package_symbol now doesn't autovivify stash entries; a
204  new method get_or_add_package_symbol can now be used for that behavior)
205
206* Mon Jun 14 2010 Paul Howarth <paul@city-fan.org> - 0.03-2
207- Incorporate package review suggestions (#602597)
208  - Use %%{?perl_default_filter}
209  - Use DESTDIR instead of PERL_INSTALL_ROOT
210
211* Mon Jun  7 2010 Paul Howarth <paul@city-fan.org> - 0.03-1
212- Initial RPM version
Note: See TracBrowser for help on using the repository browser.