[packages/perl-threads] no examples subdir, verbose files
glen
glen at pld-linux.org
Thu Jun 11 13:55:44 CEST 2015
commit 920665c505a69ec45df821c29605e7320450a12d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jun 11 14:55:40 2015 +0300
no examples subdir, verbose files
perl-threads.spec | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/perl-threads.spec b/perl-threads.spec
index 462804c..f58287a 100644
--- a/perl-threads.spec
+++ b/perl-threads.spec
@@ -1,7 +1,7 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
+
%define pdir threads
%include /usr/lib/rpm/macros.perl
Summary: threads - Perl interpreter-based threads
@@ -16,8 +16,6 @@ Source0: http://www.cpan.org/modules/by-authors/id/J/JD/JDHEDDEN/threads-%{versi
URL: http://search.cpan.org/dist/threads/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
-%if %{with tests}
-%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -45,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -55,6 +53,6 @@ rm -rf $RPM_BUILD_ROOT
%doc Changes README
%{perl_vendorarch}/threads.pm
%dir %{perl_vendorarch}/auto/threads
-%attr(755,root,root) %{perl_vendorarch}/auto/threads/*.so
-%{_mandir}/man3/*
+%attr(755,root,root) %{perl_vendorarch}/auto/threads/threads.so
+%{_mandir}/man3/threads.3pm*
%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-threads.git/commitdiff/920665c505a69ec45df821c29605e7320450a12d
More information about the pld-cvs-commit
mailing list