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