Blame SPECS/nmstate.spec

aa1b57
%?python_enable_dependency_generator
aa1b57
%define srcname nmstate
aa1b57
%define libname libnmstate
aa1b57
aa1b57
Name:           nmstate
9ba9be
Version:        0.4.0
9ba9be
Release:        3%{?dist}
aa1b57
Summary:        Declarative network manager API
aa1b57
License:        LGPLv2+
aa1b57
URL:            https://github.com/%{srcname}/%{srcname}
aa1b57
Source0:        %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
aa1b57
Source1:        %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.asc
04140e
Source2:        https://www.nmstate.io/nmstate.gpg
aa1b57
BuildArch:      noarch
aa1b57
BuildRequires:  python3-devel
aa1b57
BuildRequires:  python3-setuptools
aa1b57
BuildRequires:  gnupg2
aa1b57
Requires:       python3-setuptools
aa1b57
Requires:       python3-%{libname} = %{?epoch:%{epoch}:}%{version}-%{release}
aa1b57
aa1b57
%description
aa1b57
Nmstate is a library with an accompanying command line tool that manages host
aa1b57
networking settings in a declarative manner and aimed to satisfy enterprise
aa1b57
needs to manage host networking through a northbound declarative API and multi
aa1b57
provider support on the southbound.
aa1b57
aa1b57
aa1b57
%package -n python3-%{libname}
aa1b57
Summary:        nmstate Python 3 API library
1efb16
Requires:       NetworkManager-libnm >= 1:1.26.0
aa1b57
# Use Recommends for NetworkManager because only access to NM DBus is required,
aa1b57
# but NM could be running on a different host
aa1b57
Recommends:     NetworkManager
aa1b57
# Avoid automatically generated profiles
aa1b57
Recommends:     NetworkManager-config-server
aa1b57
# Use Suggests for NetworkManager-ovs and NetworkManager-team since it is only
aa1b57
# required for OVS and team support
aa1b57
Suggests:       NetworkManager-ovs
aa1b57
Suggests:       NetworkManager-team
9ba9be
Requires:       nispor
9ba9be
Requires:       python3dist(varlink)
aa1b57
04140e
%package -n nmstate-plugin-ovsdb
04140e
Summary:        nmstate plugin for OVS database manipulation
04140e
Requires:       python3-%{libname} = %{?epoch:%{epoch}:}%{version}-%{release}
04140e
# The python-openvswitch rpm pacakge is not in the same repo with nmstate,
04140e
# hence state it as Recommends, no requires.
04140e
Recommends:     python3dist(ovs)
aa1b57
aa1b57
%description -n python3-%{libname}
aa1b57
This package contains the Python 3 library for nmstate.
aa1b57
04140e
%description -n nmstate-plugin-ovsdb
04140e
This package contains the nmstate plugin for OVS database manipulation.
04140e
aa1b57
%prep
14e0a8
gpg2 --import --import-options import-export,import-minimal %{SOURCE2} > ./gpgkey-mantainers.gpg
14e0a8
gpgv2 --keyring ./gpgkey-mantainers.gpg %{SOURCE1} %{SOURCE0}
aa1b57
%autosetup -p1
aa1b57
aa1b57
%build
aa1b57
%py3_build
aa1b57
aa1b57
%install
aa1b57
%py3_install
aa1b57
aa1b57
%files
aa1b57
%doc README.md
aa1b57
%doc examples/
aa1b57
%{_mandir}/man8/nmstatectl.8*
aa1b57
%{python3_sitelib}/nmstatectl
aa1b57
%{_bindir}/nmstatectl
aa1b57
aa1b57
%files -n python3-%{libname}
aa1b57
%license LICENSE
aa1b57
%{python3_sitelib}/%{libname}
aa1b57
%{python3_sitelib}/%{srcname}-*.egg-info/
04140e
%exclude %{python3_sitelib}/%{libname}/plugins/nmstate_plugin_*
04140e
%exclude %{python3_sitelib}/%{libname}/plugins/__pycache__/nmstate_plugin_*
04140e
04140e
%files -n nmstate-plugin-ovsdb
04140e
%{python3_sitelib}/%{libname}/plugins/nmstate_plugin_ovsdb*
04140e
%{python3_sitelib}/%{libname}/plugins/__pycache__/nmstate_plugin_ovsdb*
aa1b57
aa1b57
%changelog
9ba9be
* Tue Oct 20 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.4.0-3
9ba9be
- Add nispor as a dependency for CI gating
9ba9be
9ba9be
* Tue Oct 20 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.4.0-2
9ba9be
- Rebuild for CI gating
9ba9be
- Remove old patches from the repository
9ba9be
9ba9be
* Mon Sep 14 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.4.0-1
9ba9be
- Upgrade to 0.4.0
9ba9be
- Sync. up with upstream spec file.
9ba9be
65926b
* Tue Aug 18 2020 Gris Ge <fge@redhat.com> - 0.3.4-12
65926b
- New patch: OVSDB: Allowing remove all OVS ports. RHBZ#1869345
65926b
65926b
* Tue Aug 18 2020 Gris Ge <fge@redhat.com> - 0.3.4-11
65926b
- OVSDB: Allowing remove all OVS ports. RHBZ#1869345
65926b
6b96d4
* Thu Aug 06 2020 Gris Ge <fge@redhat.com> - 0.3.4-10
6b96d4
- OVSDB: Preserv old external_ids. RHBZ#1866269
6b96d4
97e10a
* Tue Aug 04 2020 Gris Ge <fge@redhat.com> - 0.3.4-9
97e10a
- Fix converting memory only profile to persistent. RHBZ#1859844
97e10a
97e10a
* Mon Aug 03 2020 Gris Ge <fge@redhat.com> - 0.3.4-8
97e10a
- Fix failure when adding ovs bond to existing bridge. RHBZ#1858758
97e10a
58157e
* Thu Jul 30 2020 Gris Ge <fge@redhat.com> - 0.3.4-7
58157e
- Remove existing inactivate NM profiles. RHBZ#1862025
58157e
7b1ef6
* Wed Jul 29 2020 Gris Ge <fge@redhat.com> - 0.3.4-6
7b1ef6
- New build to retrigger the CI gating.
7b1ef6
7b1ef6
* Wed Jul 29 2020 Gris Ge <fge@redhat.com> - 0.3.4-5
7b1ef6
- Use new patch. RHBZ#1861668
7b1ef6
7b1ef6
* Wed Jul 29 2020 Gris Ge <fge@redhat.com> - 0.3.4-4
7b1ef6
- Ignore unknown interface. RHBZ#1861668
7b1ef6
96886b
* Tue Jul 28 2020 Gris Ge <fge@redhat.com> - 0.3.4-3
96886b
- Add support NetworkManaged exteranl managed interface. RHBZ#1861263
96886b
96886b
* Tue Jul 28 2020 Gris Ge <fge@redhat.com> - 0.3.4-2
96886b
- Hide MTU for OVS patch port. RHBZ#1858762
96886b
1efb16
* Sat Jul 25 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.4-1
1efb16
- Upgrade to 0.3.4
1efb16
1efb16
* Fri Jul 24 2020 Gris Ge <fge@redhat.com> - 0.3.3-3
1efb16
- Allowing child been marked absent. RHBZ#1859148
1efb16
04140e
* Mon Jul 06 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.3-2
04140e
- Fix bug 1850698
04140e
04140e
* Thu Jul 02 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.3-1
04140e
- Upgrade to 0.3.3
04140e
04140e
* Mon Jun 29 2020 Gris Ge <fge@redhat.com> - 0.3.2-6
04140e
- Improve performance by remove unneeded calls. RHBZ#1820009
04140e
04140e
* Mon Jun 29 2020 Gris Ge <fge@redhat.com> - 0.3.2-5
04140e
- Sort the pretty state with priority. RHBZ#1806474
04140e
04140e
* Mon Jun 29 2020 Gris Ge <fge@redhat.com> - 0.3.2-4
04140e
- Canonicalize IP address. RHBZ#1816612
04140e
04140e
* Mon Jun 29 2020 Gris Ge <fge@redhat.com> - 0.3.2-3
04140e
- Improve VLAN MTU error message. RHBZ#1788763
04140e
04140e
* Mon Jun 29 2020 Gris Ge <fge@redhat.com> - 0.3.2-2
04140e
- Fix bug 1850698
04140e
04140e
* Mon Jun 15 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.2-1
04140e
- Upgrade to 0.3.2
04140e
- Sync. up with upstream spec file
04140e
04140e
* Thu Jun 11 2020 Gris Ge <fge@redhat.com> - 0.3.1-1
04140e
- Upgrade to 0.3.1
04140e
14e0a8
* Wed May 13 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.0-1
14e0a8
- Upgrade to 0.3.0
14e0a8
- Sync. up with upstream spec file.
14e0a8
- Update signature verification.
14e0a8
14e0a8
* Tue Mar 31 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.9-1
14e0a8
- Upgrade to 0.2.9
14e0a8
aa1b57
* Wed Mar 25 2020 Gris Ge <fge@redhat.com> - 0.2.6-6
aa1b57
- Support 3+ DNS name server(IPv4 only or IPv6 only). RHBZ #1816043
aa1b57
aa1b57
* Fri Mar 20 2020 Gris Ge <fge@redhat.com> - 0.2.6-5
aa1b57
- Support static DNS with DHCP. RHBZ #1815112
aa1b57
aa1b57
* Thu Mar 12 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.6-4.8
aa1b57
- Fix bond mac and options regression. RHBZ #1809330
aa1b57
aa1b57
* Mon Mar 09 2020 Gris Ge <fge@redhat.com> - 0.2.6-3.8
aa1b57
- Fix change bond mode. RHBZ #1809330
aa1b57
aa1b57
* Mon Mar 02 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.6-2.7
aa1b57
- Fix cmd stuck when trying to create ovs-bond. RHBZ #1806249.
aa1b57
aa1b57
* Tue Feb 25 2020 Gris Ge <fge@redhat.com> - 0.2.6-1
aa1b57
- Upgrade to 0.2.6
aa1b57
aa1b57
* Thu Feb 20 2020 Gris Ge <fge@redhat.com> - 0.2.5-1
aa1b57
- Upgrade to 0.2.5
aa1b57
aa1b57
* Thu Feb 13 2020 Gris Ge <fge@redhat.com> - 0.2.4-2
aa1b57
- Fix failure when editing existing OVS interface. RHBZ #1786935
aa1b57
aa1b57
* Thu Feb 13 2020 Gris Ge <fge@redhat.com> - 0.2.4-1
aa1b57
- Upgrade to 0.2.4
aa1b57
aa1b57
* Wed Feb 05 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.3-1
aa1b57
- Upgrade to 0.2.3
aa1b57
aa1b57
* Tue Feb 04 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.2-3
aa1b57
- Fix the incorrect source
aa1b57
aa1b57
* Tue Feb 04 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.2-2
aa1b57
- Upgrade to 0.2.2
aa1b57
aa1b57
* Wed Jan 22 2020 Gris Ge <fge@redhat.com> - 0.2.0-3.1
aa1b57
- Fix the memeory leak of NM.Client. RHBZ #1784707
aa1b57
aa1b57
* Mon Dec 02 2019 Gris Ge <fge@redhat.com> - 0.2.0-2
aa1b57
- Fix the incorrect source tarbal.
aa1b57
aa1b57
* Mon Dec 02 2019 Gris Ge <fge@redhat.com> - 0.2.0-1
aa1b57
- Upgrade to nmstate 0.2.0
aa1b57
aa1b57
* Mon Dec 02 2019 Gris Ge <fge@redhat.com> - 0.1.1-4
aa1b57
- Fix the problem found by CI gating.
aa1b57
aa1b57
* Mon Dec 02 2019 Gris Ge <fge@redhat.com> - 0.1.1-3
aa1b57
- Bump dist number as RHEL 8.1.1 took 0.1.1-2.
aa1b57
aa1b57
* Mon Dec 02 2019 Gris Ge <fge@redhat.com> - 0.1.1-2
aa1b57
- Upgrade to nmstate 0.1.1.
aa1b57
aa1b57
* Tue Sep 10 2019 Gris Ge <fge@redhat.com> - 0.0.8-15
aa1b57
- Detach slaves without deleting them: RHBZ #1749632
aa1b57
aa1b57
* Fri Sep 06 2019 Gris Ge <fge@redhat.com> - 0.0.8-14
aa1b57
- Preserve (dynamic) IPv6 address base on MAC address: RHBZ #1748825
aa1b57
aa1b57
* Fri Sep 06 2019 Gris Ge <fge@redhat.com> - 0.0.8-13
aa1b57
- Prioritize master interfaces activaction: RHBZ #1749314
aa1b57
aa1b57
* Mon Sep 02 2019 Gris Ge <fge@redhat.com> - 0.0.8-12
aa1b57
- Fix slave activatoin race: RHBZ #1741440
aa1b57
aa1b57
* Mon Sep 02 2019 Gris Ge 
aa1b57
- Add NetworkManager-config-server dependency: Fix RHBZ #1740085
aa1b57
aa1b57
* Thu Aug 15 2019 Gris Ge <fge@redhat.com> - 0.0.8-10
aa1b57
- Fix RHBZ #1740125
aa1b57
aa1b57
* Wed Aug 14 2019 Gris Ge <fge@redhat.com> - 0.0.8-9
aa1b57
- Fix RHBZ #1741049
aa1b57
aa1b57
* Wed Aug 14 2019 Gris Ge <fge@redhat.com> - 0.0.8-8
aa1b57
- Fix RHBZ #1740584
aa1b57
aa1b57
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-7
aa1b57
- Fix RHBZ #1740554
aa1b57
aa1b57
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-6
aa1b57
- Bump release tag as CNV took the -5.
aa1b57
aa1b57
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-5
aa1b57
- Bump release tag as CNV took the -4.
aa1b57
aa1b57
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-4
aa1b57
- Disable reapply on ipv6 to fix bug 1738101.
aa1b57
aa1b57
* Fri Jul 26 2019 Gris Ge <fge@redhat.com> - 0.0.8-3
aa1b57
- Fix the license to meet Fedora/RHEL guideline.
aa1b57
aa1b57
* Fri Jul 26 2019 Gris Ge <fge@redhat.com> - 0.0.8-2
aa1b57
- Relicense to LGPL2.1+.
aa1b57
aa1b57
* Fri Jul 26 2019 Gris Ge <fge@redhat.com> - 0.0.8-1
aa1b57
- Upgrade to 0.0.8.
aa1b57
aa1b57
* Fri Jun 14 2019 Gris Ge <fge@redhat.com> - 0.0.7-1
aa1b57
- Upgrade to 0.0.7.
aa1b57
aa1b57
* Mon Apr 22 2019 Gris Ge <fge@redhat.com> - 0.0.5-3
aa1b57
- Add missing runtime dependency.
aa1b57
aa1b57
* Thu Mar 21 2019 Gris Ge <fge@redhat.com> - 0.0.5-2
aa1b57
- Rebuild to enable CI testing.
aa1b57
aa1b57
* Mon Mar 18 2019 Gris Ge <fge@redhat.com> - 0.0.5-1
aa1b57
- Initial release