summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Ružička <jakub.ruzicka@nic.cz>2021-04-09 18:36:25 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-05-19 17:22:11 +0200
commit53cabf94f8de41f740ed08456877f6b8b5889170 (patch)
treeaedc28dccf5389a01546f36413d91c777d91dfc3
parent60167856af243f5683840d7365493ed0b3fa6cd0 (diff)
suse: fix bird.spec to work on SUSE
SUSE is more strict about .spec. * use SPDX license id * add missing %ghost file directive
-rw-r--r--distro/pkg/rpm/bird.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/distro/pkg/rpm/bird.spec b/distro/pkg/rpm/bird.spec
index f56547bf..cd51ef51 100644
--- a/distro/pkg/rpm/bird.spec
+++ b/distro/pkg/rpm/bird.spec
@@ -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