Skip to content

Commit

Permalink
fedora: Don't generate network-scripts-openvswitch for ver > 40.
Browse files Browse the repository at this point in the history
network-scripts package has been removed from Fedora 41 [1].

[1] - https://fedoraproject.org/wiki/Releases/41/ChangeSet#Removing_network-scripts_package

Acked-by: Aaron Conole <[email protected]>
Signed-off-by: Numan Siddique <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
numansiddique authored and igsilya committed Feb 5, 2025
1 parent 481bc09 commit ed13350
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rhel/openvswitch-fedora.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ License: ASL 2.0
This provides shared library, libopenswitch.so and the openvswitch header
files needed to build an external application.

%if 0%{?rhel} > 7 || 0%{?fedora} > 28
%if 0%{?rhel} > 7 || (0%{?fedora} > 28 && 0%{?fedora} < 41)
%package -n network-scripts-%{name}
Summary: Open vSwitch legacy network service support
License: ASL 2.0
Expand Down Expand Up @@ -436,7 +436,7 @@ fi
%exclude %{_libdir}/*.la
%exclude %{_libdir}/*.a

%if 0%{?rhel} > 7 || 0%{?fedora} > 28
%if 0%{?rhel} > 7 || (0%{?fedora} > 28 && 0%{?fedora} < 41)
%files -n network-scripts-%{name}
%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
Expand All @@ -463,7 +463,7 @@ fi
%{_unitdir}/ovs-vswitchd.service
%{_unitdir}/ovs-delete-transient-ports.service
%{_datadir}/openvswitch/scripts/openvswitch.init
%if ! (0%{?rhel} > 7 || 0%{?fedora} > 28)
%if ! (0%{?rhel} > 7 || (0%{?fedora} > 28 && 0%{?fedora} < 41))
%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
%endif
Expand Down

0 comments on commit ed13350

Please sign in to comment.