kaptk2 pushed to burp (f22). "Only use license with compatible operating systems (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed May 13 22:27:02 UTC 2015


From 8555eb33b49773fb80a2326e118a5dc450723723 Mon Sep 17 00:00:00 2001
From: Andrew Niemantsverdriet <andrewniemants at gmail.com>
Date: Wed, 13 May 2015 15:28:28 -0600
Subject: Only use license with compatible operating systems

- Fixed typo _initrdir -> _initddir and made sure the file gets the correct name

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 <andrewniemants at gmail.com> - 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 <andrewniemants at gmail.com> - 1.4.36.4
 - Made systemd-units a conditional BuildRequire
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/burp.git/commit/?h=f22&id=8555eb33b49773fb80a2326e118a5dc450723723


More information about the scm-commits mailing list