X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=rhel%2Fopenvswitch.spec.in;h=18bc10c22fae1c9c711aa57af0667f05246d7464;hb=HEAD;hp=02857f42aa189c0ed7be93de092a90f3c1de6e84;hpb=1d5aaa61fa8ca68f487e8b578b7aa99a0bbd1f26;p=sliver-openvswitch.git diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in index 02857f42a..18bc10c22 100644 --- a/rhel/openvswitch.spec.in +++ b/rhel/openvswitch.spec.in @@ -19,6 +19,7 @@ Release: 1 Source: openvswitch-%{version}.tar.gz Buildroot: /tmp/openvswitch-rpm Requires: openvswitch-kmod, logrotate, python +BuildRequires: openssl-devel %description Open vSwitch provides standard network bridging functions and @@ -62,6 +63,7 @@ rm \ $RPM_BUILD_ROOT/usr/share/man/man8/ovs-l3ping.8 \ $RPM_BUILD_ROOT/usr/sbin/ovs-vlan-bug-workaround \ $RPM_BUILD_ROOT/usr/share/man/man8/ovs-vlan-bug-workaround.8 +(cd "$RPM_BUILD_ROOT" && rm -rf usr/lib) install -d -m 755 $RPM_BUILD_ROOT/var/lib/openvswitch