1.43 bump
- Updated source URL - Modernized the spec file
This commit is contained in:
parent
ce62fc3377
commit
f118834d80
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
Text-Diff-1.37.tar.gz
|
||||
/Text-Diff-1.41.tar.gz
|
||||
/Text-Diff-1.43.tar.gz
|
||||
|
||||
@ -1,14 +1,15 @@
|
||||
Name: perl-Text-Diff
|
||||
Version: 1.41
|
||||
Release: 12%{?dist}
|
||||
Version: 1.43
|
||||
Release: 1%{?dist}
|
||||
Summary: Perform diffs on files and record sets
|
||||
License: (GPL+ or Artistic) and (GPLv2+ or Artistic) and MIT
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Text-Diff/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-%{version}.tar.gz
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Text-Diff-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Algorithm::Diff) >= 1.19
|
||||
@ -24,10 +25,9 @@ BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(Test)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||
Requires: perl(Algorithm::Diff) >= 1.19
|
||||
|
||||
%{?perl_default_filter}
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Algorithm::Diff\\)$
|
||||
|
||||
@ -42,24 +42,28 @@ generally slower on larger files.
|
||||
%setup -q -n Text-Diff-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes LICENSE README
|
||||
%license LICENSE
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 24 2015 Petr Šabata <contyk@redhat.com> - 1.43-1
|
||||
- 1.43 bump
|
||||
- Updated source URL
|
||||
- Modernized the spec file
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user