diff --git a/burp.spec b/burp.spec index 2392277..7d34fc0 100644 --- a/burp.spec +++ b/burp.spec @@ -1,7 +1,7 @@ Name: burp Summary: A network-based backup and restore program Version: 1.4.36 -Release: 4%{?dist} +Release: 5%{?dist} License: AGPLv3 and BSD and GPLv2+ and LGPLv2+ URL: http://burp.grke.org/ Source0: https://github.com/grke/burp/archive/%{version}.tar.gz @@ -40,12 +40,16 @@ mkdir -p %{buildroot}%{_unitdir} install -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/ %else mkdir -p %{buildroot}%{_initddir} -install -p -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/ +install -p -m 0755 %{SOURCE1} %{buildroot}%{_initddir}/%{name} %endif %files %doc README CHANGELOG DONATIONS TODO CONTRIBUTORS UPGRADING -%license LICENSE +%if 0%{?rhel} <= 6 + %doc LICENSE +%else + %license LICENSE +%endif %{_sbindir}/* %{_mandir}/man8/* %if 0%{?fedora} >= 19 || 0%{?rhel} >= 7 @@ -78,6 +82,10 @@ fi %endif %changelog +* Wed May 13 2015 Andrew Niemantsverdriet - 1.4.36.5 +- Only use license with compatible operating systems +- Fixed typo _initrdir -> _initddir and made sure the file gets the correct name + * Wed May 13 2015 Andrew Niemantsverdriet - 1.4.36.4 - Made systemd-units a conditional BuildRequire