From e904d55b97da04351539c786d4a91fd655cfa3a6 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 3 Aug 2021 16:48:16 +0100 Subject: [PATCH] Don't ship tests as documentation They're now included in a separate package. --- perl-Algorithm-C3.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/perl-Algorithm-C3.spec b/perl-Algorithm-C3.spec index 36a9e11..8d0ecb2 100644 --- a/perl-Algorithm-C3.spec +++ b/perl-Algorithm-C3.spec @@ -32,9 +32,9 @@ things like dependency resolution as well since it tends to do such a nice job of preserving local precedence orderings. %package tests -Summary: Tests for %{name} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: perl-Test-Harness +Summary: Tests for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: perl-Test-Harness Requires: perl(Test::More) >= 0.47 %description tests @@ -57,6 +57,7 @@ make %{?_smp_mflags} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} + # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} @@ -71,7 +72,7 @@ make test %files %license LICENSE -%doc Changes README t/ +%doc Changes README %{perl_vendorlib}/Algorithm/ %{_mandir}/man3/Algorithm::C3.3*