source: projects/specs/trunk/p/perl-UNIVERSAL-require/perl-UNIVERSAL-require-vl.spec @ 9022

Revision 9022, 3.5 KB checked in by inagaki, 10 years ago (diff)

2014-10-25 Ryoichi INAGAKI <ryo1@…>

  • perl modules: rebuilt and update


Line 
1Name:           perl-UNIVERSAL-require
2Summary:        Require() modules from a variable
3Version:        0.17
4Release:        1%{?_dist_release}
5
6Group:          Development/Libraries
7License:        GPL+ or Artistic
8URL:            http://search.cpan.org/dist/UNIVERSAL-require/
9Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/UNIVERSAL-require-%{version}.tar.gz
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12BuildArch:      noarch
13BuildRequires:  perl(ExtUtils::MakeMaker)
14BuildRequires:  perl(Test::More)
15Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16
17%if "%{_dist_release}" > "vl6"
18# Filter bogus provide for perl(UNIVERSAL) (rpm 4.9 onwards)
19%global __provides_exclude ^perl\\(UNIVERSAL\\)
20%else
21# Filter bogus provide for perl(UNIVERSAL) (prior to rpm 4.9)
22%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(UNIVERSAL)$/d'"
23%define __perl_provides %{provfilt}
24%endif
25
26Vendor:         Project Vine
27Distribution:   Vine Linux
28
29%description
30%{summary}.
31
32%prep
33%setup -q -n UNIVERSAL-require-%{version}
34
35%build
36%{__perl} Makefile.PL INSTALLDIRS=vendor
37make
38
39%install
40rm -rf %{buildroot}
41make pure_install PERL_INSTALL_ROOT=%{buildroot}
42find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
43find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
44chmod -R u+w %{buildroot}/*
45
46%check
47make test
48
49%clean
50rm -rf %{buildroot}
51
52%files
53%defattr(-,root,root,-)
54%doc Changes
55%{perl_vendorlib}/UNIVERSAL/
56%{_mandir}/man3/UNIVERSAL::require.3pm*
57
58
59%changelog
60* Sat Oct 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.17-1
61- updated to 0,17
62- built with perl 5.16.3
63
64* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.13-1
65- initial build for Vine Linux
66
67* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-8
68- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
69
70* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-7
71- Perl mass rebuild
72
73* Thu Apr 14 2011 Paul Howarth <paul@city-fan.org> - 0.13-6
74- Tweak provides filter to work with rpm >= 4.9 too
75
76* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-5
77- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
78
79* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-4
80- Rebuild to fix problems with vendorarch/lib (#661697)
81
82* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-3
83- Mass rebuild with perl-5.12.0
84
85* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.13-2
86- rebuild against perl 5.10.1
87
88* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-1
89- update to new upstream release
90
91* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-6
92- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
93
94* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
95- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
96
97* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-4
98- Rebuild for perl 5.10 (again)
99
100* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-3
101- rebuild for new perl
102
103* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-2
104- license tag fix
105
106* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-1
107- bump to 0.11
108
109* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-2
110- get rid of false provide
111
112* Mon Sep  4 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-1
113- initial package for Fedora
Note: See TracBrowser for help on using the repository browser.