SPEC cleanup.

This commit is contained in:
Christopher Meng 2014-04-24 17:43:41 +08:00
parent fb617b7c16
commit d19ba7a7ab

View File

@ -2,12 +2,9 @@ Name: nebula
Version: 0.2.3
Release: 7%{?dist}
Summary: Intrusion signature generator
Group: Applications/System
License: GPLv2
URL: http://sourceforge.net/projects/%{name}/
URL: http://nebula.carnivore.it/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel
%description
@ -24,15 +21,10 @@ from honeypots.
make %{?_smp_mflags} AM_CFLAGS=-D_GNU_SOURCE
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%clean
rm -rf $RPM_BUILD_ROOT
%make_install
%files
%defattr(-,root,root,-)
%doc COPYING ChangeLog AUTHORS
%doc AUTHORS ChangeLog COPYING
%{_bindir}/nebula
%{_bindir}/nebulaclient