diff --git a/ArpON.spec b/ArpON.spec index cfa14c7..98025cb 100644 --- a/ArpON.spec +++ b/ArpON.spec @@ -1,6 +1,6 @@ Name: ArpON Version: 3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: ARP handler inspection License: BSD @@ -22,19 +22,23 @@ attack. %setup -q -n %{name}-%{version}-ng %build -%{__cmake} . -%{__make} %{?_smp_mflags} CFLAGS="%{optflags}" +%cmake . +%{__make} %{?_smp_mflags} %install %{__install} -D -pm 755 src/arpon %{buildroot}%{_sbindir}/arpon %{__install} -D -pm 644 man8/arpon.8 %{buildroot}%{_mandir}/man8/arpon.8 %files -%doc AUTHOR CHANGELOG LICENSE doc/* +%license LICENSE +%doc AUTHOR CHANGELOG doc/* %{_sbindir}/arpon %{_mandir}/man8/arpon.8* %changelog +* Tue Apr 12 2016 Ville Skyttä - 3.0-2 +- Build with %%{optflags}, follow cmake guidelines, mark LICENSE as %%license + * Sat Apr 02 2016 Arun S A G - 3.0-1 - New generation of ArpON