From 92ce170ed58452fd9fd0cd331283900ced46320e Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Thu, 4 Oct 2018 16:27:57 -0400 Subject: [PATCH] remove non-free test files (never in binary rpm) --- .gitignore | 1 + perl-Clone.spec | 13 +++++++++++-- sources | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3cfdd27..13d79ad 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ Clone-0.31.tar.gz /Clone-0.36.tar.gz /Clone-0.38.tar.gz /Clone-0.39.tar.gz +/Clone-0.39-clean.tar.gz diff --git a/perl-Clone.spec b/perl-Clone.spec index eccea1e..fb94da1 100644 --- a/perl-Clone.spec +++ b/perl-Clone.spec @@ -1,10 +1,13 @@ Name: perl-Clone Version: 0.39 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Recursively copy perl data types License: GPL+ or Artistic URL: https://metacpan.org/release/Clone -Source0: https://cpan.metacpan.org/authors/id/G/GA/GARU/Clone-%{version}.tar.gz +# remove non-free test files +# rm -rf t/dclone.t t/tied.pl t/dump.pl +#Source0: https://cpan.metacpan.org/authors/id/G/GA/GARU/Clone-%%{version}.tar.gz +Source0: Clone-%{version}-clean.tar.gz # Build BuildRequires: coreutils BuildRequires: findutils @@ -47,6 +50,9 @@ arrays or hashes, pass them in by reference. %setup -q -n Clone-%{version} find . -type f -exec chmod -c -x {} + +# this test does not run without the non-free files +rm -rf t/04tie.t + %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} @@ -67,6 +73,9 @@ make test %{_mandir}/man3/Clone.3* %changelog +* Thu Oct 4 2018 Tom Callaway - 0.39-9 +- remove non-free test files (bz1600131) + * Fri Jul 13 2018 Fedora Release Engineering - 0.39-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 0852f80..4962072 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Clone-0.39.tar.gz) = 5e3feeff7646fb2ea075267962f7f7013186310974cdbb87f779ece0f56baf62e7dbb0afa94816e20675dc03bc5fbe271b9594e12ea441863b78860691822b6b +SHA512 (Clone-0.39-clean.tar.gz) = 647e45a2acbb2a6872f831943219af00c5fd7670fb8204255d3f33bbb151fbcf53ecdd090547e6e8ac55f5681e7d905d75964564875fa8a693568bdfb64882fd