diff --git a/.gitignore b/.gitignore index e69de29..101fd45 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Test-TrailingSpace-0.0203.tar.gz diff --git a/perl-Test-TrailingSpace.spec b/perl-Test-TrailingSpace.spec new file mode 100644 index 0000000..b3eb7d5 --- /dev/null +++ b/perl-Test-TrailingSpace.spec @@ -0,0 +1,44 @@ +%global pkgname Test-TrailingSpace + +Name: perl-Test-TrailingSpace +Version: 0.0203 +Release: 1%{?dist} +Summary: Test for trailing space in source files +License: MIT +URL: http://search.cpan.org/dist/Test-TrailingSpace/ +Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{pkgname}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(autodie) +BuildRequires: perl(File::Find::Object::Rule) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Builder::Tester) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module is used to test for lack of trailing space. + +%prep +%setup -qn %{pkgname}-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun May 26 2013 Christopher Meng - 0.0203-1 +- Initial Package. diff --git a/sources b/sources index e69de29..2c8cd26 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e96298ea96058ba344ecc8df13cef6b6 Test-TrailingSpace-0.0203.tar.gz