Update to 1.1.2
This commit is contained in:
parent
031816810d
commit
e69f763764
2 changed files with 13 additions and 1 deletions
10
zmap-1.1.2-destdir-support.patch
Normal file
10
zmap-1.1.2-destdir-support.patch
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- zmap-1.1.2/zmap_conf_install.cmake.in 2014-01-27 17:22:34.656725241 +0800
|
||||
+++ zmap-1.1.2/zmap_conf_install.cmake.in.fix 2014-01-27 17:23:38.126873488 +0800
|
||||
@@ -1,6 +1,6 @@
|
||||
message(STATUS "Creating /etc/zmap")
|
||||
if (NOT EXISTS "/etc/zmap/")
|
||||
- file(MAKE_DIRECTORY "/etc/zmap")
|
||||
+ file(INSTALL DESTINATION "/etc/zmap")
|
||||
else()
|
||||
message(STATUS "/etc/zmap exists, skipping...")
|
||||
endif()
|
||||
|
|
@ -5,6 +5,7 @@ Summary: Network scanner for Internet-wide network studies
|
|||
License: ASL 2.0
|
||||
URL: https://zmap.io
|
||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz
|
||||
Patch0: zmap-1.1.2-destdir-support.patch
|
||||
BuildRequires: byacc
|
||||
BuildRequires: cmake
|
||||
BuildRequires: flex
|
||||
|
|
@ -33,6 +34,7 @@ scanning.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%cmake -DWITH_JSON=ON -DWITH_REDIS=ON
|
||||
|
|
@ -51,7 +53,7 @@ make install DESTDIR=%{buildroot}
|
|||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 24 2014 Christopher Meng <rpm@cicku.me> - 1.1.2-1
|
||||
* Mon Jan 27 2014 Christopher Meng <rpm@cicku.me> - 1.1.2-1
|
||||
- Update to 1.1.2
|
||||
|
||||
* Thu Dec 19 2013 Christopher Meng <rpm@cicku.me> - 1.1.1-1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue