remove non-free test files (never in binary rpm)

This commit is contained in:
Tom Callaway 2018-10-04 16:27:57 -04:00
parent dd566055f6
commit 92ce170ed5
3 changed files with 13 additions and 3 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <spot@fedoraproject.org> - 0.39-9
- remove non-free test files (bz1600131)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (Clone-0.39.tar.gz) = 5e3feeff7646fb2ea075267962f7f7013186310974cdbb87f779ece0f56baf62e7dbb0afa94816e20675dc03bc5fbe271b9594e12ea441863b78860691822b6b
SHA512 (Clone-0.39-clean.tar.gz) = 647e45a2acbb2a6872f831943219af00c5fd7670fb8204255d3f33bbb151fbcf53ecdd090547e6e8ac55f5681e7d905d75964564875fa8a693568bdfb64882fd