You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Test-TrailingSpace/perl-Test-TrailingSpace.spec

51 lines
1.4 KiB

%global pkgname Test-TrailingSpace
Name: perl-Test-TrailingSpace
Version: 0.0203
Release: 3%{?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
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0203-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0203-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sun May 26 2013 Christopher Meng <rpm@cicku.me> - 0.0203-1
- Initial Package.