[packages/perl-Net-FastCGI] - add BR: perl-Test-HexString - fix permissions of example files
adwol
adwol at pld-linux.org
Sun Jan 10 17:07:04 CET 2016
commit 475d2ca7145a9f0f0d97a919767f24cd48df9ce0
Author: Adam Osuchowski <adwol at pld-linux.org>
Date: Sun Jan 10 17:06:18 2016 +0100
- add BR: perl-Test-HexString
- fix permissions of example files
perl-Net-FastCGI.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/perl-Net-FastCGI.spec b/perl-Net-FastCGI.spec
index 10a477d..ac946c1 100644
--- a/perl-Net-FastCGI.spec
+++ b/perl-Net-FastCGI.spec
@@ -17,6 +17,9 @@ Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.ta
URL: http://search.cpan.org/dist/Net-FastCGI/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-HexString
+%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -64,4 +67,5 @@ rm -rf $RPM_BUILD_ROOT
%{perl_vendorlib}/Net/FastCGI.pm
%{perl_vendorlib}/Net/FastCGI
%{_mandir}/man3/Net::FastCGI*.3pm*
-%{_examplesdir}/%{name}-%{version}
+%dir %{_examplesdir}/%{name}-%{version}
+%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*.pl
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-FastCGI.git/commitdiff/475d2ca7145a9f0f0d97a919767f24cd48df9ce0
More information about the pld-cvs-commit
mailing list