[perl-ClamAV-Client: 3/7] Don't use the %{__perl} macro
Mathieu Bridon
bochecha at fedoraproject.org
Wed Jan 23 04:17:16 UTC 2013
commit 6702df363b6bc6cf0c1ba39461bd688c9c641063
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Tue Jan 22 11:35:41 2013 +0800
Don't use the %{__perl} macro
This was suggested by Petr during the review.
perl-ClamAV-Client.spec | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/perl-ClamAV-Client.spec b/perl-ClamAV-Client.spec
index ddada5b..9472124 100644
--- a/perl-ClamAV-Client.spec
+++ b/perl-ClamAV-Client.spec
@@ -10,7 +10,7 @@ BuildArch: noarch
BuildRequires: perl(Module::Build)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@@ -26,7 +26,7 @@ full functionality of the clamd client/server protocol is supported.
%build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
./Build
@@ -47,5 +47,7 @@ full functionality of the clamd client/server protocol is supported.
%changelog
+- Replace usage of the %%{__perl} macro by the plain perl command.
+
* Tue Jan 15 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 0.11-1
- Initial package for Fedora, with help from cpanspec.
More information about the scm-commits
mailing list