[nikto] Don't rpm-provide perl JSON modules (#885143)

Paul Howarth pghmcfc at fedoraproject.org
Thu Jan 17 10:05:20 UTC 2013


commit 0fdda81f47ea5fc04e87911d6db11c15ea0a33ca
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Jan 17 10:04:38 2013 +0000

    Don't rpm-provide perl JSON modules (#885143)

 nikto.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/nikto.spec b/nikto.spec
index 5bc6203..92ca1f3 100644
--- a/nikto.spec
+++ b/nikto.spec
@@ -2,7 +2,7 @@ Name:           nikto
 #Handle the old versioning system 2.01, 2.02, 2.03 ...
 Epoch:          1
 Version:        2.1.5
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Web server scanner
 
 Group:          Applications/Internet
@@ -17,6 +17,8 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       nmap
 
+# We don't provide any perl modules
+%global __provides_exclude_from %{_datadir}/nikto/plugins/JSON-PP.pm
 
 %description
 Nikto is a web server scanner which performs comprehensive tests against web
@@ -76,6 +78,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jan 17 2013 Paul Howarth <paul at city-fan.org> - 1:2.1.5-4
+- don't rpm-provide perl JSON modules (#885143)
+
 * Thu Oct 04 2012 Michal Ambroz <rebus AT seznam.cz> - 1:2.1.5-3
 - add databases directory
 - omit initialization of SSL untill it is pushed to libwhiskers


More information about the scm-commits mailing list