diff --git a/ramond.spec b/ramond.spec index a041d05..1f49165 100644 --- a/ramond.spec +++ b/ramond.spec @@ -23,8 +23,7 @@ BuildRequires: libpcap-devel BuildRequires: libxml2-devel BuildRequires: make BuildRequires: sed -BuildRequires: systemd -%{?systemd_requires} +BuildRequires: systemd-rpm-macros # Do not find depenendecies in the documentation %global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_datadir}/doc @@ -65,7 +64,8 @@ install -m 0644 -t '%{buildroot}%{_unitdir}' '%{SOURCE1}' %systemd_postun_with_restart %{name}.service %files -%doc CHANGELOG LICENSE README THANKS +%license LICENSE +%doc CHANGELOG README THANKS %doc demo.pl ramond.conf.* %config(noreplace) %{_sysconfdir}/%{name}.conf %{_sbindir}/%{name} @@ -74,6 +74,7 @@ install -m 0644 -t '%{buildroot}%{_unitdir}' '%{SOURCE1}' %changelog * Thu Jan 23 2020 Petr Pisar - 0.5-14 - Fix building with GCC 10 +- Modernize a spec file * Fri Jul 26 2019 Fedora Release Engineering - 0.5-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild