Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
fe94fc05bf |
41
quagga.spec
41
quagga.spec
@ -7,9 +7,10 @@
|
|||||||
|
|
||||||
Name: quagga
|
Name: quagga
|
||||||
Version: 1.2.4
|
Version: 1.2.4
|
||||||
Release: 11%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Routing daemon
|
Summary: Routing daemon
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
|
Group: System Environment/Daemons
|
||||||
URL: http://www.quagga.net
|
URL: http://www.quagga.net
|
||||||
Source0: http://download.savannah.gnu.org/releases/quagga/%{name}-%{version}.tar.gz
|
Source0: http://download.savannah.gnu.org/releases/quagga/%{name}-%{version}.tar.gz
|
||||||
Source1: quagga-filter-perl-requires.sh
|
Source1: quagga-filter-perl-requires.sh
|
||||||
@ -23,12 +24,11 @@ BuildRequires: git
|
|||||||
BuildRequires: c-ares-devel
|
BuildRequires: c-ares-devel
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
Requires: net-snmp ncurses c-ares
|
Requires: net-snmp ncurses c-ares
|
||||||
Requires(post): systemd
|
Requires(post): systemd /sbin/install-info
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd /sbin/install-info
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
Provides: routingdaemon = %{version}-%{release}
|
Provides: routingdaemon = %{version}-%{release}
|
||||||
Obsoletes: quagga-sysvinit
|
Obsoletes: quagga-sysvinit
|
||||||
Conflicts: frr
|
|
||||||
|
|
||||||
Patch0001: 0001-service-file-braces.patch
|
Patch0001: 0001-service-file-braces.patch
|
||||||
|
|
||||||
@ -50,12 +50,14 @@ Quagga is a fork of GNU Zebra.
|
|||||||
|
|
||||||
%package contrib
|
%package contrib
|
||||||
Summary: Contrib tools for quagga
|
Summary: Contrib tools for quagga
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
|
||||||
%description contrib
|
%description contrib
|
||||||
Contributed/3rd party tools which may be of use with quagga.
|
Contributed/3rd party tools which may be of use with quagga.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header and object files for quagga development
|
Summary: Header and object files for quagga development
|
||||||
|
Group: System Environment/Daemons
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -141,6 +143,11 @@ usermod -a -G %vty_group quagga
|
|||||||
%systemd_post ospf6d.service
|
%systemd_post ospf6d.service
|
||||||
%systemd_post ripngd.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.
|
# Create dummy files if they don't exist so basic functions can be used.
|
||||||
if [ ! -e %{_sysconfdir}/quagga/zebra.conf ]; then
|
if [ ! -e %{_sysconfdir}/quagga/zebra.conf ]; then
|
||||||
echo "hostname `hostname`" > %{_sysconfdir}/quagga/zebra.conf
|
echo "hostname `hostname`" > %{_sysconfdir}/quagga/zebra.conf
|
||||||
@ -163,6 +170,11 @@ fi
|
|||||||
%systemd_postun_with_restart ospf6d.service
|
%systemd_postun_with_restart ospf6d.service
|
||||||
%systemd_postun_with_restart ripngd.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
|
%preun
|
||||||
%systemd_preun zebra.service
|
%systemd_preun zebra.service
|
||||||
%systemd_preun isisd.service
|
%systemd_preun isisd.service
|
||||||
@ -213,27 +225,6 @@ fi
|
|||||||
%{_includedir}/quagga/ospfd/*.h
|
%{_includedir}/quagga/ospfd/*.h
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Resolves: #1611589 - Need to use {} around the environment variables in unit files
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user