diff --git a/omping.spec b/omping.spec index d57a8e1..d4e8b03 100644 --- a/omping.spec +++ b/omping.spec @@ -1,10 +1,10 @@ Name: omping Version: 0.0.4 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Utility to test IP multicast functionality License: ISC -URL: http://fedorahosted.org/omping/ -Source0: http://fedorahosted.org/releases/o/m/omping/%{name}-%{version}.tar.gz +URL: https://github.com/jfriesse/omping +Source0: https://github.com/jfriesse/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc @@ -16,17 +16,23 @@ primarily in local network. %setup -q %build -make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS" +%set_build_flags +make %{?_smp_mflags} %install make DESTDIR="%{buildroot}" PREFIX="%{_prefix}" install %files -%doc AUTHORS COPYING +%doc AUTHORS +%license COPYING %{_bindir}/%{name} %{_mandir}/man8/* %changelog +* Wed Mar 20 2019 Jan Friesse - 0.0.4-18 +- Use license and set_build_flags macro +- Fix URL and source + * Fri Feb 01 2019 Fedora Release Engineering - 0.0.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild