Skip to content

Commit

Permalink
ipsec: Install ovs-monitor-ipsec in script directory
Browse files Browse the repository at this point in the history
In commit d5cc46e ("ipsec: Use @python@ directly instead of
"/usr/bin/env python"") ovs-monitor-ipsec is installed in bin directory,
but it's supposed to be installed in script directory.

This commit removes also the manual copy of "ovs-monitor-ipsec" in spec file
since it's installed directly in "make install".

Fixes: d5cc46e ("ipsec: Use @python@ directly instead of "/usr/bin/env python"")
Signed-off-by: Timothy Redaelli <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
drizzt authored and blp committed Nov 12, 2018
1 parent 1d81117 commit 81b2866
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion ipsec/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# notice and this notice are preserved. This file is offered as-is,
# without warranty of any kind.

bin_SCRIPTS += ipsec/ovs-monitor-ipsec
scripts_SCRIPTS += ipsec/ovs-monitor-ipsec
EXTRA_DIST += ipsec/ovs-monitor-ipsec.in
FLAKE8_PYFILES += ipsec/ovs-monitor-ipsec.in
CLEANFILES += ipsec/ovs-monitor-ipsec
4 changes: 0 additions & 4 deletions rhel/openvswitch-fedora.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,6 @@ install -p -D -m 0755 \
rhel/usr_share_openvswitch_scripts_ovs-systemd-reload \
$RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-systemd-reload

install -m 0755 \
ipsec/ovs-monitor-ipsec \
$RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-monitor-ipsec

# remove unpackaged files
rm -f $RPM_BUILD_ROOT%{_bindir}/ovs-parse-backtrace \
$RPM_BUILD_ROOT%{_sbindir}/ovs-vlan-bug-workaround \
Expand Down

0 comments on commit 81b2866

Please sign in to comment.