Upgrade to 2.1.2

Resolves: RHBZ#2061796

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
This commit is contained in:
Fernando Fernandez Mancera 2022-06-30 12:29:56 +02:00
parent 6c4d40c529
commit 98e7aedb12
3 changed files with 31 additions and 5 deletions

3
.gitignore vendored
View File

@ -113,3 +113,6 @@
/nmstate-2.1.1.tar.gz
/nmstate-2.1.1.tar.gz.asc
/nmstate-vendor-2.1.1.tar.xz
/nmstate-2.1.2.tar.gz
/nmstate-2.1.2.tar.gz.asc
/nmstate-vendor-2.1.2.tar.xz

View File

@ -3,7 +3,7 @@
%define libname libnmstate
Name: nmstate
Version: 2.1.1
Version: 2.1.2
Release: 1%{?dist}
Summary: Declarative network manager API
License: LGPLv2+
@ -17,6 +17,7 @@ BuildRequires: python3-setuptools
BuildRequires: gnupg2
BuildRequires: rust-toolset
BuildRequires: pkg-config
BuildRequires: systemd
%description
Nmstate is a library with an accompanying command line tool that manages host
@ -55,6 +56,14 @@ Summary: C binding development files of nmstate
License: ASL 2.0
Requires: nmstate-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%package static
Summary: Static development files for nmstate
Group: Development/Libraries
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description static
Static C library bindings for nmstate.
%description libs
This package contains the C binding of nmstate.
@ -93,7 +102,11 @@ pushd rust
popd
%install
env SKIP_PYTHON_INSTALL=1 PREFIX=%{_prefix} LIBDIR=%{_libdir} %make_install
env SKIP_PYTHON_INSTALL=1 \
PREFIX=%{_prefix} \
LIBDIR=%{_libdir} \
SYSCONFDIR=%{_sysconfdir} \
%make_install
pushd rust/src/python
%py3_install
@ -103,10 +116,14 @@ popd
%files
%doc README.md
%doc examples/
%{_mandir}/man8/nmstate.service.8*
%{_mandir}/man8/nmstatectl.8*
%{_mandir}/man8/nmstate-autoconf.8*
%{_bindir}/nmstatectl
%{_bindir}/nmstate-autoconf
%{_unitdir}/nmstate.service
%dir %{_sysconfdir}/%{name}
%{_sysconfdir}/%{name}/README
%files -n python3-%{libname}
%license LICENSE
@ -123,6 +140,9 @@ popd
%{_includedir}/nmstate.h
%{_libdir}/pkgconfig/nmstate.pc
%files static
%{_libdir}/libnmstate.a
%post libs
/sbin/ldconfig
@ -130,6 +150,9 @@ popd
/sbin/ldconfig
%changelog
* Thu Jun 30 2022 Fernando Fernandez Mancera <ferferna@redhat.com> - 2.1.2-1
- Upgrade to 2.1.2
* Mon Jun 13 2022 Fernando Fernandez Mancera <ferferna@redhat.com> - 2.1.1-1
- Upgrade to 2.1.1

View File

@ -1,4 +1,4 @@
SHA512 (nmstate-2.1.1.tar.gz) = e3364cdfc380e231d5635ead506739ce301ef032de8fd965cb977bf897b1ec05b6d2f9263904a75badbeb431c5883ded1eec485a82967d9834d26a290f01e353
SHA512 (nmstate-2.1.1.tar.gz.asc) = 30660074830fadf9fac6586290aa592be210e403eea38fe5a38839a5bc7109e07f9191c9b651690de0768811f0dc5f896a5d454248fda830c4f251d2a7712bcb
SHA512 (nmstate-vendor-2.1.1.tar.xz) = 1ad596ca0691a7106100646828cde8b65aff9a1eedf09ca7f8f7a3b1893e37e761304e59ae77f43f8d2009fcdb96c4cd25f48c408c11dbcd8b3bda52afb7139d
SHA512 (nmstate-2.1.2.tar.gz) = 4c50350f3e9a26420ec90b476230ea2702545666c005cf0d7e95f912f6586248df07fb85e5f8f4972ae1704e5bc104d94377c58f47435c636e04638432c75da2
SHA512 (nmstate-2.1.2.tar.gz.asc) = a05e158ea6c2cebf8453efeaca30cf4cc0e518a065cb392fb49ade6d89df9d804aff3a09a769e77378b1013f70b1b355fc980934d06d217637dcab59f688aedc
SHA512 (nmstate-vendor-2.1.2.tar.xz) = d0b04e81d9a6e0e6bc35d7167eba7b300c54f8ee51d1fd0093284e2ccef5db9efdc57a48cb0d45c8c6330a8a13fc257fc3de6cb0bbc61109aaa7299b56a9f715
SHA512 (nmstate.gpg) = 91c6b1d8aef4944520d4bdd4e90121bbbbaf772444f5eb6081cee81e17b21b66798437cdc09a117c6fc77c54d798aaa30400857aa090cb2102b47841f45cf6eb