summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2018-10-04 04:00:00 +0200
committerRenato Westphal <renato@opensourcerouting.org>2018-10-27 20:16:12 +0200
commit7cad61cb02ee54867a6bcd611d876242081afca0 (patch)
tree300a4d9de23ad4e7618a7961ed03941d51a2e051 /redhat
parentyang: add a module translator for ietf-rip.yang (diff)
downloadfrr-7cad61cb02ee54867a6bcd611d876242081afca0.tar.xz
frr-7cad61cb02ee54867a6bcd611d876242081afca0.zip
redhat: Added libyang dependencies to package
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 1395af5df..101504d85 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -162,6 +162,7 @@ BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: readline-devel
BuildRequires: texinfo
+BuildRequires: libyang >= 0.16.7
%if 0%{?rhel} && 0%{?rhel} < 7
#python27-devel is available from ius community repo for RedHat/CentOS 6
BuildRequires: python27-devel
@@ -370,6 +371,7 @@ rm -f %{buildroot}%{_sbindir}/frr
# kill bogus libtool files
rm -vf %{buildroot}%{_libdir}/frr/modules/*.la
rm -vf %{buildroot}%{_libdir}/*.la
+rm -vf %{buildroot}%{_libdir}/frr/libyang_plugins/*.la
# install /etc sources
%if "%{initsystem}" == "systemd"
@@ -564,6 +566,7 @@ fi
%doc */*.sample* COPYING
%doc doc/mpls
%doc README.md
+/usr/share/yang/*.yang
%if 0%{?frr_user:1}
%dir %attr(751,%{frr_user},%{frr_user}) %{configdir}
%dir %attr(750,%{frr_user},%{frr_user}) %{_localstatedir}/log/frr
@@ -621,6 +624,7 @@ fi
%{_libdir}/frr/modules/bgpd_rpki.so
%endif
%{_libdir}/frr/modules/zebra_irdp.so
+%{_libdir}/frr/libyang_plugins/frr_user_types.so
%{_bindir}/*
%config(noreplace) %{configdir}/[!v]*.conf*
%config(noreplace) %attr(750,%{frr_user},%{frr_user}) %{configdir}/daemons