rpms/perl-Test-EOL/F-13 Test-EOL-0.8-old-EU::MM.patch, NONE, 1.1 perl-Test-EOL.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Test-EOL/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv22178/F-13

Modified Files:
	.cvsignore sources 
Added Files:
	Test-EOL-0.8-old-EU::MM.patch perl-Test-EOL.spec 
Log Message:
Initial import of perl-Test-EOL-0.9-1

Test-EOL-0.8-old-EU::MM.patch:
 Makefile.PL |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- NEW FILE Test-EOL-0.8-old-EU::MM.patch ---
--- Test-EOL-0.8/Makefile.PL	2010-06-11 00:06:27.000000000 +0100
+++ Test-EOL-0.8/Makefile.PL	2010-06-16 09:25:51.477819134 +0100
@@ -4,7 +4,7 @@
 
 
 
-use ExtUtils::MakeMaker 6.31;
+use ExtUtils::MakeMaker;
 
 
 
@@ -16,7 +16,7 @@
     'Test::More' => '0'
   },
   'CONFIGURE_REQUIRES' => {
-    'ExtUtils::MakeMaker' => '6.31'
+    'ExtUtils::MakeMaker' => '0'
   },
   'DISTNAME' => 'Test-EOL',
   'EXE_FILES' => [],
@@ -52,6 +52,9 @@
 delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
   unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
 
+delete $WriteMakefileArgs{LICENSE}
+  unless eval { ExtUtils::MakeMaker->VERSION(6.31) };
+
 WriteMakefile(%WriteMakefileArgs);
 
 


--- NEW FILE perl-Test-EOL.spec ---
# We don't really need ExtUtils::MakeMaker > 6.31
%global old_eumm %(%{__perl} -MExtUtils::MakeMaker -e 'printf "%d\\n", $ExtUtils::MakeMaker::VERSION < 6.31 ? 1 : 0;' 2>/dev/null || echo 0)

Name:		perl-Test-EOL
Version:	0.9
Release:	1%{?dist}
Summary:	Check the correct line endings in your project
Group:		Development/Libraries
License:	GPL+ or Artistic
URL:		http://search.cpan.org/dist/Test-EOL/
Source0:	http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Test-EOL-%{version}.tar.gz
Patch0:		Test-EOL-0.8-old-EU::MM.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch
BuildRequires:	perl(ExtUtils::MakeMaker)
BuildRequires:	perl(Test::More)
BuildRequires:	perl(Test::NoTabs)
BuildRequires:	perl(Test::Pod)
BuildRequires:	perl(Test::Pod::Coverage)
# Pod::Coverage::TrustPod not yet in EPEL
%if 0%{?fedora}
BuildRequires:	perl(Pod::Coverage::TrustPod)
%endif
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%{?perl_default_filter}

%description
This module scans your project/distribution for any perl files (scripts,
modules, etc.) with Windows line endings. It can also check for trailing
whitespace.

%prep
%setup -q -n Test-EOL-%{version}

# We don't really need ExtUtils::MakeMaker > 6.31
%if %{old_eumm}
%patch0 -p1
%endif

%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
%{_fixperms} %{buildroot}

%check
make test RELEASE_TESTING=1

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::EOL.3pm*

%changelog
* Wed Jun 16 2010 Paul Howarth <paul@xxxxxxxxxxxx> 0.9-1
- Update to 0.9 (fix warnings on very old perls - CPAN RT#58442)
- Use DESTDIR instead of PERL_INSTALL_ROOT
- Add %%{?perl_default_filter}

* Wed Jun 16 2010 Paul Howarth <paul@xxxxxxxxxxxx> 0.8-1
- Initial RPM version


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-EOL/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	28 Jun 2010 16:46:12 -0000	1.1
+++ .cvsignore	29 Jun 2010 10:02:32 -0000	1.2
@@ -0,0 +1 @@
+Test-EOL-0.9.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-EOL/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	28 Jun 2010 16:46:12 -0000	1.1
+++ sources	29 Jun 2010 10:02:32 -0000	1.2
@@ -0,0 +1 @@
+b3b4453d0caed2954a93585924ab15f2  Test-EOL-0.9.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux