0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-18 01:54:08 +00:00

suse: fix bird.spec to work on SUSE

SUSE is more strict about .spec.

* use SPDX license id
* add missing %ghost file directive
This commit is contained in:
Jakub Ružička 2021-04-09 18:36:25 +02:00 committed by Ondrej Zajicek (work)
parent 60167856af
commit 53cabf94f8

View File

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