Compare commits

..

1 Commits
master ... f29

Author SHA1 Message Date
Michal Ruprich
fe94fc05bf Resolves: #1611589 - Need to use {} around the environment variables in unit files 2018-12-10 12:27:35 +01:00

View File

@ -7,9 +7,10 @@
Name: quagga
Version: 1.2.4
Release: 11%{?dist}
Release: 4%{?dist}
Summary: Routing daemon
License: GPLv2+
Group: System Environment/Daemons
URL: http://www.quagga.net
Source0: http://download.savannah.gnu.org/releases/quagga/%{name}-%{version}.tar.gz
Source1: quagga-filter-perl-requires.sh
@ -23,12 +24,11 @@ BuildRequires: git
BuildRequires: c-ares-devel
BuildRequires: gcc
Requires: net-snmp ncurses c-ares
Requires(post): systemd
Requires(preun): systemd
Requires(post): systemd /sbin/install-info
Requires(preun): systemd /sbin/install-info
Requires(postun): systemd
Provides: routingdaemon = %{version}-%{release}
Obsoletes: quagga-sysvinit
Conflicts: frr
Patch0001: 0001-service-file-braces.patch
@ -50,12 +50,14 @@ Quagga is a fork of GNU Zebra.
%package contrib
Summary: Contrib tools for quagga
Group: System Environment/Daemons
%description contrib
Contributed/3rd party tools which may be of use with quagga.
%package devel
Summary: Header and object files for quagga development
Group: System Environment/Daemons
Requires: %{name} = %{version}-%{release}
%description devel
@ -141,6 +143,11 @@ usermod -a -G %vty_group quagga
%systemd_post ospf6d.service
%systemd_post ripngd.service
ls %{_infodir}/%{name}.inf* > /dev/null 2>&1
if [ $? -eq 0 ]; then
install-info %{_infodir}/quagga.info %{_infodir}/dir || :
fi
# Create dummy files if they don't exist so basic functions can be used.
if [ ! -e %{_sysconfdir}/quagga/zebra.conf ]; then
echo "hostname `hostname`" > %{_sysconfdir}/quagga/zebra.conf
@ -163,6 +170,11 @@ fi
%systemd_postun_with_restart ospf6d.service
%systemd_postun_with_restart ripngd.service
ls %{_infodir}/%{name}.inf* > /dev/null 2>&1
if [ $? -eq 0 ]; then
install-info --delete %{_infodir}/quagga.info %{_infodir}/dir || :
fi
%preun
%systemd_preun zebra.service
%systemd_preun isisd.service
@ -213,27 +225,6 @@ fi
%{_includedir}/quagga/ospfd/*.h
%changelog
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jul 21 2019 Michal Ruprich <mruprich@redhat.com> - 1.2.4-10
- Adding conflict with frr
* Mon Jun 10 22:13:22 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.4-9
- Rebuild for RPM 4.15
* Mon Jun 10 15:42:05 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.4-8
- Rebuild for RPM 4.15
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.4-7
- Rebuild for readline 8.0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 1.2.4-5
- Rebuilt for libcrypt.so.2 (#1666033)
* Mon Dec 10 2018 Michal Ruprich <mruprich@redhat.com> - 1.2.4-4
- Resolves: #1611589 - Need to use {} around the environment variables in unit files