mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
rhel: fix the fedora spec
When commitd0c961a99f
("lib/automake.mk: don't install runtime directories") landed, it broke RPM based builds since the requisite directories were no longer available. This commit adds those directories back when making RPMs so that the package manager can see them. Fixes:d0c961a99f
("lib/automake.mk: don't install runtime directories") Reported-by: Lance Richardson <lrichard@redhat.com> Tested-by: Lance Richardson <lrichard@redhat.com> Signed-off-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
committed by
Russell Bryant
parent
dcc5c13bd0
commit
2f4f43bfdd
@@ -230,6 +230,8 @@ make -f %{_datadir}/selinux/devel/Makefile
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
|
||||
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
|
||||
install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
|
||||
|
||||
install -p -D -m 0644 \
|
||||
|
Reference in New Issue
Block a user