Don't ship tests as documentation

They're now included in a separate package.
epel9 imports/e9/perl-Algorithm-C3-0.11-5.el9
Paul Howarth 4 years ago
parent 6ef8178d2a
commit e904d55b97

@ -32,9 +32,9 @@ things like dependency resolution as well since it tends to do such a nice
job of preserving local precedence orderings. job of preserving local precedence orderings.
%package tests %package tests
Summary: Tests for %{name} Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness Requires: perl-Test-Harness
Requires: perl(Test::More) >= 0.47 Requires: perl(Test::More) >= 0.47
%description tests %description tests
@ -57,6 +57,7 @@ make %{?_smp_mflags}
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
# Install tests # Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name} mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name}
@ -71,7 +72,7 @@ make test
%files %files
%license LICENSE %license LICENSE
%doc Changes README t/ %doc Changes README
%{perl_vendorlib}/Algorithm/ %{perl_vendorlib}/Algorithm/
%{_mandir}/man3/Algorithm::C3.3* %{_mandir}/man3/Algorithm::C3.3*

Loading…
Cancel
Save