|
|
|
@ -1,24 +1,23 @@
|
|
|
|
|
Name: perl-Encode-Newlines
|
|
|
|
|
Version: 0.04
|
|
|
|
|
Version: 0.05
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Normalize line ending sequences
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/Encode-Newlines/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/A/AU/AUDREYT/Encode-Newlines-%{version}.tar.gz
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Encode-Newlines-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(inc::Module::Install)
|
|
|
|
|
BuildRequires: perl(Module::Install::Metadata)
|
|
|
|
|
BuildRequires: perl(Module::Install::WriteAll)
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Run-time
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
BuildRequires: perl(Encode::Encoding)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(parent)
|
|
|
|
|
# Tests
|
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
@ -32,10 +31,6 @@ normalizing line endings.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Encode-Newlines-%{version}
|
|
|
|
|
|
|
|
|
|
# Remove bundled libraries
|
|
|
|
|
rm -r inc
|
|
|
|
|
sed -i -e '/^inc\// d' MANIFEST
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
@ -49,10 +44,14 @@ find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jan 12 2016 Petr Pisar <ppisar@redhat.com> - 0.05-1
|
|
|
|
|
- 0.05 bump
|
|
|
|
|
|
|
|
|
|
* Mon Nov 30 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.04-1
|
|
|
|
|
- Initial release
|
|
|
|
|