mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
cannot use %configure macro anymore due to lame bug (spec file tries to use noarch-redhat-linux, but config.sub does not currently recognize that)
This commit is contained in:
parent
85ac68ce65
commit
7f0bbd3e3a
1 changed files with 16 additions and 1 deletions
|
|
@ -43,7 +43,22 @@ from Umit, an Nmap GUI created as part of the Google Summer of Code.
|
|||
%setup -q -n nmap-%{version}
|
||||
|
||||
%build
|
||||
%configure --without-openssl --with-zenmap PYTHON="%{__python}"
|
||||
# Cannot use configure macro because noarch-redhat-linux is not
|
||||
# recognized by the auto tools in the tarball. Upgrading to the
|
||||
# latest GNU CVS config.sub/config.guess on 3/15/08 didn't fix it. So
|
||||
# I'm using this approach, as is done by other projects, such as
|
||||
# http://mono.ximian.com/monobuild/snapshot/snapshot_packages/noarch/xsp/96614/xsp.spec
|
||||
# -Fyodor
|
||||
./configure --prefix=%{_prefix} \
|
||||
--libexecdir=%{_prefix}/lib \
|
||||
--bindir=%{_prefix}/bin \
|
||||
--datadir=%{_prefix}/share \
|
||||
--libdir=%{_prefix}/lib \
|
||||
--mandir=%{_prefix}/share/man \
|
||||
--infodir=%{_prefix}/share/info \
|
||||
--sysconfdir=%{_sysconfdir} \
|
||||
--without-openssl \
|
||||
--with-zenmap PYTHON="%{__python}"
|
||||
make build-zenmap DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue