psabata pushed to perl-Text-Diff (f22). "1.43 bump (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Aug 24 12:24:27 UTC 2015


From f118834d8025613e39ac4c47260e9f79d28e189a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Mon, 24 Aug 2015 14:16:36 +0200
Subject: 1.43 bump

- Updated source URL
- Modernized the spec file

diff --git a/.gitignore b/.gitignore
index b2bcfa8..1d5ed90 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Text-Diff-1.37.tar.gz
 /Text-Diff-1.41.tar.gz
+/Text-Diff-1.43.tar.gz
diff --git a/perl-Text-Diff.spec b/perl-Text-Diff.spec
index a944e99..d2505fa 100644
--- a/perl-Text-Diff.spec
+++ b/perl-Text-Diff.spec
@@ -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 at redhat.com> - 1.43-1
+- 1.43 bump
+- Updated source URL
+- Modernized the spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.41-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 95d696b..1045db7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-30d56e6dd5551ca16b8e16cc7299dc21  Text-Diff-1.41.tar.gz
+49ee558984cb85b81bbc8fe5cf7324c3  Text-Diff-1.43.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Text-Diff.git/commit/?h=f22&id=f118834d8025613e39ac4c47260e9f79d28e189a


More information about the perl-devel mailing list