Blame SPECS/nmstate.spec

245567
%?python_enable_dependency_generator
245567
%define srcname nmstate
245567
%define libname libnmstate
245567
245567
Name:           nmstate
245567
Version:        0.0.8
245567
Release:        15%{?dist}
245567
Summary:        Declarative network manager API
245567
License:        LGPLv2+
245567
URL:            https://github.com/%{srcname}/%{srcname}
245567
Source0:        %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
245567
Source1:        %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.asc
245567
Source2:        gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.gpg
245567
Patch1:         BZ_1738101-Exclude-ipv6-changes-from-reapply.patch
245567
Patch2:         BZ_1740554_rollback_to_ipv6_disabled.patch
245567
Patch3:         BZ_1740584-Ignore-not-active-failure-when-deactivate.patch
245567
Patch4:         BZ_1741049_vlan_interface_should_activated_after_base.patch
245567
Patch5:         BZ_1740125_Increase-main-loop-timeout.patch
245567
Patch6:         BZ_1741440_Fix_Activation_Race_of_Slave.patch
245567
Patch7:         BZ_1749314_Prioritize-master-interfaces-activaction.patch
245567
Patch8:         BZ_1748825_Change-DHCPv4-client-ID-to-MAC-address.patch
245567
Patch9:         BZ_1748825_Enforce-IPv6-RA-and-DHCPv6-address-base-on-MAC.patch
245567
Patch10:        BZ_1749632_Detach-slaves-without-deleting-them.patch
245567
BuildArch:      noarch
245567
BuildRequires:  python3-devel
245567
BuildRequires:  python3-setuptools
245567
BuildRequires:  gnupg2
245567
Requires:       python3-setuptools
245567
Requires:       python3-%{libname} = %{?epoch:%{epoch}:}%{version}-%{release}
245567
Requires:       NetworkManager-config-server
245567
245567
%description
245567
NMState is a library with an accompanying command line tool that manages host
245567
networking settings in a declarative manner and aimed to satisfy enterprise
245567
needs to manage host networking through a northbound declarative API and multi
245567
provider support on the southbound.
245567
245567
245567
%package -n python3-%{libname}
245567
Summary:        nmstate Python 3 API library
245567
Requires:       NetworkManager-libnm
245567
# Use Recommends for NetworkManager because only access to NM DBus is required,
245567
# but NM could be running on a different host
245567
Recommends:     NetworkManager
245567
# Use Suggests for NetworkManager-ovs since it is only required for OVS support
245567
Suggests:       NetworkManager-ovs
245567
245567
245567
%description -n python3-%{libname}
245567
This package contains the Python 3 library for nmstate.
245567
245567
%prep
245567
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
245567
%autosetup -p1
245567
245567
%build
245567
%py3_build
245567
245567
%install
245567
%py3_install
245567
245567
%files
245567
%doc README.md
245567
%doc examples/
245567
%{python3_sitelib}/nmstatectl
245567
%{_bindir}/nmstatectl
245567
245567
%files -n python3-%{libname}
245567
%license LICENSE
245567
%{python3_sitelib}/%{libname}
245567
%{python3_sitelib}/%{srcname}-*.egg-info/
245567
245567
%changelog
245567
* Tue Sep 10 2019 Gris Ge <fge@redhat.com> - 0.0.8-15
245567
- Detach slaves without deleting them: RHBZ #1749632
245567
245567
* Fri Sep 06 2019 Gris Ge <fge@redhat.com> - 0.0.8-14
245567
- Preserve (dynamic) IPv6 address base on MAC address: RHBZ #1748825
245567
245567
* Fri Sep 06 2019 Gris Ge <fge@redhat.com> - 0.0.8-13
245567
- Prioritize master interfaces activaction: RHBZ #1749314
245567
245567
* Mon Sep 02 2019 Gris Ge <fge@redhat.com> - 0.0.8-12
245567
- Fix slave activatoin race: RHBZ #1741440
245567
245567
* Mon Sep 02 2019 Gris Ge 
245567
- Add NetworkManager-config-server dependency: Fix RHBZ #1740085
245567
245567
* Thu Aug 15 2019 Gris Ge <fge@redhat.com> - 0.0.8-10
245567
- Fix RHBZ #1740125
245567
245567
* Wed Aug 14 2019 Gris Ge <fge@redhat.com> - 0.0.8-9
245567
- Fix RHBZ #1741049
245567
245567
* Wed Aug 14 2019 Gris Ge <fge@redhat.com> - 0.0.8-8
245567
- Fix RHBZ #1740584
245567
245567
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-7
245567
- Fix RHBZ #1740554
245567
245567
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-6
245567
- Bump release tag as CNV took the -5.
245567
245567
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-5
245567
- Bump release tag as CNV took the -4.
245567
245567
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-4
245567
- Disable reapply on ipv6 to fix bug 1738101.
245567
245567
* Fri Jul 26 2019 Gris Ge <fge@redhat.com> - 0.0.8-3
245567
- Fix the license to meet Fedora/RHEL guideline.
245567
245567
* Fri Jul 26 2019 Gris Ge <fge@redhat.com> - 0.0.8-2
245567
- Relicense to LGPL2.1+.
245567
245567
* Fri Jul 26 2019 Gris Ge <fge@redhat.com> - 0.0.8-1
245567
- Upgrade to 0.0.8.
245567
245567
* Fri Jun 14 2019 Gris Ge <fge@redhat.com> - 0.0.7-1
245567
- Upgrade to 0.0.7.
245567
245567
* Mon Apr 22 2019 Gris Ge <fge@redhat.com> - 0.0.5-3
245567
- Add missing runtime dependency.
245567
245567
* Thu Mar 21 2019 Gris Ge <fge@redhat.com> - 0.0.5-2
245567
- Rebuild to enable CI testing.
245567
245567
* Mon Mar 18 2019 Gris Ge <fge@redhat.com> - 0.0.5-1
245567
- Initial release