1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 09:29:01 +00:00
AutoReqProv: no
to zenmap.spec.in. This keeps dependencies from being calculated
automatically. This is because we don't want RPM to say the package
depends on python(abi) = 2.4, say, when it doesn't really. To replace
the automatic dependency calculation I added an explicit dependency on
python >= 2.4.
This commit is contained in:
david
2007-11-16 19:35:38 +00:00
parent c743fd5353
commit 5ad8ce148d

View File

@@ -20,10 +20,17 @@ License: http://www.insecure.org/nmap/man/man-legal.html
Group: Applications/System
Source0: http://www.insecure.org/nmap/dist/nmap-%{version}.tgz
URL: http://www.insecure.org/nmap/
# The python dependency is filled in automatically.
Requires: nmap, gtk2, python-sqlite2
BuildArch: noarch
# Disable automatic dependency calculation because we want to provide
# packages for more than one version of Python. Without this, RPM will
# grep through the installed files and automatically add things like
# Requires: python(abi) = 2.4
# setup.py takes care of adjusting sys.path to point to wherever the
# modules were installed so it's not dependent on any particular ABI.
AutoReqProv: no
Requires: python >= 2.4, nmap, gtk2, python-sqlite2
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-root