num...@ovn.org writes:

> From: Numan Siddique <num...@ovn.org>
>
> network-scripts package has been removed from Fedora 41 [1].
>
> [1] - 
> https://fedoraproject.org/wiki/Releases/41/ChangeSet#Removing_network-scripts_package
>
> Signed-off-by: Numan Siddique <num...@ovn.org>
> ---

LGTM

Acked-by: Aaron Conole <acon...@redhat.com>

I think this change may also need to be backported to older branches.

>  rhel/openvswitch-fedora.spec.in | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
> index 715cbf7aa7..a98e07e60a 100644
> --- a/rhel/openvswitch-fedora.spec.in
> +++ b/rhel/openvswitch-fedora.spec.in
> @@ -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
> @@ -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
> @@ -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

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to