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/SPECS/perl-Test-TrailingSpace.spec

107 lines
3.4 KiB

Name: perl-Test-TrailingSpace
Version: 0.0301
Release: 5%{?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/Test-TrailingSpace-%{version}.tar.gz
BuildArch: noarch
# Build:
BuildRequires: coreutils
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(Module::Build) >= 0.28
# Run-time:
BuildRequires: perl(autodie)
BuildRequires: perl(File::Find::Object::Rule) >= 0.0301
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(warnings)
# Tests:
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib)
BuildRequires: perl(Test::Builder::Tester)
# Dependencies:
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This module is used to test for presence of trailing space.
%prep
%setup -qn Test-TrailingSpace-%{version}
%build
perl Build.PL --installdirs=vendor
./Build
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%{_fixperms} -c %{buildroot}
%check
./Build test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::TrailingSpace.3*
%changelog
* Thu Apr 18 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.0301-5
- Rebuilt for MSVSphere 8.9
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.0301-3
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Nov 2 2016 Paul Howarth <paul@city-fan.org> - 0.0301-1
- Update to 0.0301
- Skip "sample-data" in t/dogfood.t, which caused problems with parallel
testing
* Thu May 19 2016 Paul Howarth <paul@city-fan.org> - 0.0300-1
- Update to 0.0300
- Made abs_path_prune_re affect files as well; this way one can skip files
with offending extensions
- BR: perl-generators
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.0205-3
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0205-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Sep 09 2015 Petr Pisar <ppisar@redhat.com> - 0.0205-1
- 0.0205 bump
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0204-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.0204-3
- Perl 5.22 rebuild
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.0204-2
- Perl 5.20 rebuild
* Mon Jun 16 2014 Christopher Meng <rpm@cicku.me> - 0.0204-1
- Update to 0.0204
* 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.