|
|
|
@ -1,25 +1,29 @@
|
|
|
|
|
Name: perl-Test-TrailingSpace
|
|
|
|
|
Version: 0.0301
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Version: 0.0302
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Test for trailing space in source files
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://metacpan.org/release/Test-TrailingSpace
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-TrailingSpace-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build:
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(Module::Build) >= 0.28
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(autodie)
|
|
|
|
|
BuildRequires: perl(File::Find::Object::Rule) >= 0.0301
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
|
BuildRequires: perl(IPC::Open3)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Test::Builder::Tester)
|
|
|
|
|
# Dependencies:
|
|
|
|
@ -32,15 +36,16 @@ This module is used to test for presence of trailing space.
|
|
|
|
|
%setup -qn Test-TrailingSpace-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
|
./Build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
./Build test
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
@ -49,6 +54,12 @@ perl Build.PL --installdirs=vendor
|
|
|
|
|
%{_mandir}/man3/Test::TrailingSpace.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 26 2019 Paul Howarth <paul@city-fan.org> - 0.0302-1
|
|
|
|
|
- Update to 0.0302
|
|
|
|
|
- Now at https://github.com/shlomif/perl-test-trailingspace
|
|
|
|
|
- Convert to https://metacpan.org/pod/Dist::Zilla::PluginBundle::SHLOMIF
|
|
|
|
|
- Switch to ExtUtils::MakeMaker flow
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|