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

Revision 8708, 7.4 KB checked in by daisuke, 8 years ago (diff)

perl-*: rebuild with perl 5.16

  • update: Data-OptList?, Log-Dispatch,Log-Log4perl,

Package-Stash, Package-Stash-XS, Sub-Install

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