Compare commits

...

9 Commits
rawhide ... f8

Author SHA1 Message Date
Fedora Release Engineering d758f22ff1 dist-git conversion 2010-07-29 07:45:18 +00:00
Bill Nottingham bb0cde548f Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 02:12:31 +00:00
corsepiu 7a9cafbf3a Fix date. 2008-09-16 01:48:28 +00:00
corsepiu 02d9d7e14f - Upstream update. 2008-09-16 01:46:12 +00:00
corsepiu d9770fdf1a - Upstream update. 2008-08-26 03:16:47 +00:00
corsepiu 01e32daf52 Fix typo in changelog. 2008-01-10 16:54:44 +00:00
corsepiu 99d2a04d52 - Use unversioneed BR: perl(version) to circumvent perl vs. rpm versioning
conflicts
2008-01-10 16:49:23 +00:00
corsepiu 1d413a71d5 Import 2007-11-21 22:49:51 +00:00
Jason ティビツ 39a66b53f0 Initialize branch F-8 for perl-Perl-MinimumVersion 2007-11-21 18:30:13 +00:00
5 changed files with 86 additions and 21 deletions

View File

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
Perl-MinimumVersion-1.19.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: perl-Perl-MinimumVersion
# $Id$
NAME := perl-Perl-MinimumVersion
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -0,0 +1,84 @@
Name: perl-Perl-MinimumVersion
Version: 1.19
Release: 1%{?dist}
Summary: Find a minimum required version of perl for Perl code
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Perl-MinimumVersion/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Perl-MinimumVersion-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl(List::Util) >= 1.19
BuildRequires: perl(PPI) >= 1.118
BuildRequires: perl(Test::Script) >= 1.02
BuildRequires: perl(version)
BuildRequires: perl(File::Find::Rule) >= 0.30
BuildRequires: perl(File::Find::Rule::Perl) >= 1.04
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(Test::More) >= 0.47
# For improved tests
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
# n/a in Fedora
# BuildRequires: perl(Pod::Simple) >= 3.07
BuildRequires: perl(Pod::Simple)
BuildRequires: perl(Test::MinimumVersion) >= 0.008
%description
Find a minimum required version of perl for Perl code
%prep
%setup -q -n Perl-MinimumVersion-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%clean
rm -rf $RPM_BUILD_ROOT
%check
make test AUTOMATED_TESTING=1
%files
%defattr(-,root,root,-)
%doc Changes LICENSE
%{_bindir}/*
%{perl_vendorlib}/Perl
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
* Tue Sep 16 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.19-1
- Upstream update.
* Mon Aug 25 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.18-1
- Upstream update.
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.15-5
- Rebuild for perl 5.10 (again)
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.15-4
- correct List::Util version, perl 5.10.0 has 1.19
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.15-3
- rebuild for new perl
* Thu Jan 10 2008 Ralf Corsépius <rc040203@freenet.de> - 0.15.2
- Use unversioned BR: perl(version) to circumvent perl vs. rpm versioning
conflicts
* Tue Nov 20 2007 Ralf Corsépius <rc040203@freenet.de> - 0.15-1
- Initial version.

View File

@ -0,0 +1 @@
dfce4d3fbb12bc6a23fdaf78b1195a3f Perl-MinimumVersion-1.19.tar.gz