|
@@ -0,0 +1,106 @@
|
|
|
+Name: perl-UNIVERSAL-require
|
|
|
+Version: 0.13
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+Summary: Require() modules from a variable
|
|
|
+Group: Development/Libraries
|
|
|
+License: GPL+ or Artistic
|
|
|
+URL: http://search.cpan.org/dist/UNIVERSAL-require/
|
|
|
+Source0: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/UNIVERSAL-require-%{version}.tar.gz
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
+BuildArch: noarch
|
|
|
+BuildRequires: perl(Test::More)
|
|
|
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
+
|
|
|
+%if "%{_dist_release}" > "vl6"
|
|
|
+# Filter bogus provide for perl(UNIVERSAL) (rpm 4.9 onwards)
|
|
|
+%global __provides_exclude ^perl\\(UNIVERSAL\\)
|
|
|
+%else
|
|
|
+# Filter bogus provide for perl(UNIVERSAL) (prior to rpm 4.9)
|
|
|
+%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(UNIVERSAL)$/d'"
|
|
|
+%define __perl_provides %{provfilt}
|
|
|
+%endif
|
|
|
+
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
+%description
|
|
|
+%{summary}.
|
|
|
+
|
|
|
+%prep
|
|
|
+%setup -q -n UNIVERSAL-require-%{version}
|
|
|
+
|
|
|
+%build
|
|
|
+%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
+make
|
|
|
+
|
|
|
+%install
|
|
|
+rm -rf %{buildroot}
|
|
|
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
+find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
+chmod -R u+w %{buildroot}/*
|
|
|
+
|
|
|
+%check
|
|
|
+make test
|
|
|
+
|
|
|
+%clean
|
|
|
+rm -rf %{buildroot}
|
|
|
+
|
|
|
+%files
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%doc Changes
|
|
|
+%{perl_vendorlib}/UNIVERSAL/
|
|
|
+%{_mandir}/man3/UNIVERSAL::require.3pm*
|
|
|
+
|
|
|
+
|
|
|
+%changelog
|
|
|
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.13-1
|
|
|
+- initial build for Vine Linux
|
|
|
+
|
|
|
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-8
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
+
|
|
|
+* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-7
|
|
|
+- Perl mass rebuild
|
|
|
+
|
|
|
+* Thu Apr 14 2011 Paul Howarth <paul@city-fan.org> - 0.13-6
|
|
|
+- Tweak provides filter to work with rpm >= 4.9 too
|
|
|
+
|
|
|
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-5
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
+
|
|
|
+* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-4
|
|
|
+- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
+
|
|
|
+* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-3
|
|
|
+- Mass rebuild with perl-5.12.0
|
|
|
+
|
|
|
+* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.13-2
|
|
|
+- rebuild against perl 5.10.1
|
|
|
+
|
|
|
+* Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-1
|
|
|
+- update to new upstream release
|
|
|
+
|
|
|
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-6
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
+
|
|
|
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
+
|
|
|
+* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-4
|
|
|
+- Rebuild for perl 5.10 (again)
|
|
|
+
|
|
|
+* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-3
|
|
|
+- rebuild for new perl
|
|
|
+
|
|
|
+* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-2
|
|
|
+- license tag fix
|
|
|
+
|
|
|
+* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-1
|
|
|
+- bump to 0.11
|
|
|
+
|
|
|
+* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-2
|
|
|
+- get rid of false provide
|
|
|
+
|
|
|
+* Mon Sep 4 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-1
|
|
|
+- initial package for Fedora
|