|
|
@ -1,25 +1,29 @@
|
|
|
|
Name: perl-Test-TrailingSpace
|
|
|
|
Name: perl-Test-TrailingSpace
|
|
|
|
Version: 0.0301
|
|
|
|
Version: 0.0302
|
|
|
|
Release: 10%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Test for trailing space in source files
|
|
|
|
Summary: Test for trailing space in source files
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://metacpan.org/release/Test-TrailingSpace
|
|
|
|
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
|
|
|
|
BuildArch: noarch
|
|
|
|
# Build:
|
|
|
|
# Build:
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(Module::Build) >= 0.28
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
# Run-time:
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(autodie)
|
|
|
|
BuildRequires: perl(autodie)
|
|
|
|
BuildRequires: perl(File::Find::Object::Rule) >= 0.0301
|
|
|
|
BuildRequires: perl(File::Find::Object::Rule) >= 0.0301
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
|
|
|
|
BuildRequires: perl(IPC::Open3)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Test::Builder::Tester)
|
|
|
|
BuildRequires: perl(Test::Builder::Tester)
|
|
|
|
# Dependencies:
|
|
|
|
# Dependencies:
|
|
|
@ -32,15 +36,16 @@ This module is used to test for presence of trailing space.
|
|
|
|
%setup -qn Test-TrailingSpace-%{version}
|
|
|
|
%setup -qn Test-TrailingSpace-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
./Build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
@ -49,6 +54,12 @@ perl Build.PL --installdirs=vendor
|
|
|
|
%{_mandir}/man3/Test::TrailingSpace.3*
|
|
|
|
%{_mandir}/man3/Test::TrailingSpace.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|