]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
suse: fix bird.spec to work on SUSE
authorJakub Ružička <jakub.ruzicka@nic.cz>
Fri, 9 Apr 2021 16:36:25 +0000 (18:36 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 19 May 2021 15:22:11 +0000 (17:22 +0200)
SUSE is more strict about .spec.

* use SPDX license id
* add missing %ghost file directive

distro/pkg/rpm/bird.spec

index f56547bf0081db49057c75d43ce0fa4d0fa131a9..cd51ef51f202c3bfb21f5aaff73e4fb524afae9c 100644 (file)
@@ -6,7 +6,7 @@ Version:          {{ version }}
 Release:          cznic.{{ release }}%{?dist}
 Summary:          BIRD Internet Routing Daemon
 
-License:          GPLv2+
+License:          GPL-2.0-or-later
 URL:              https://bird.network.cz/
 Source0:          https://bird.network.cz/download/bird-%{version}.tar.gz
 Source1:          bird.service
@@ -100,7 +100,7 @@ exit 0
 %{_sbindir}/birdc
 %{_sbindir}/birdcl
 %dir %attr(0750,bird,bird) %{_localstatedir}/lib/bird
-%dir %attr(0750,bird,bird) %{_rundir}/bird
+%dir %attr(0750,bird,bird) %ghost %{_rundir}/bird
 
 %if 0%{!?_without_doc:1}
 %files doc