- spec-cleaner run
- Fix EOF handling in xml-reader to avoid `virsh iface-*` commands - Do not report error in ncf_if_xml_state when interface - Refresh config handle earlier in ncf_define, fixed a - Automatically start port/slave/base interfeces when version (fate#306765). OBS-URL: https://build.opensuse.org/package/show/network:utilities/netcontrol?expand=0&rev=39
This commit is contained in:
parent
9b8ad7d63f
commit
6e822bcb2b
@ -1,7 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 7 21:48:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- spec-cleaner run
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 21 15:06:25 UTC 2023 - Clemens Famulla-Conrad <cfamullaconrad@suse.com>
|
Fri Jul 21 15:06:25 UTC 2023 - Clemens Famulla-Conrad <cfamullaconrad@suse.com>
|
||||||
|
|
||||||
- Fix EOF handling in xml-reader to avoid `virsh iface-*` commands
|
- Fix EOF handling in xml-reader to avoid `virsh iface-*` commands
|
||||||
hang on aarch64 (bsc#1213349)
|
hang on aarch64 (bsc#1213349)
|
||||||
[+ 0001-xml-reader-fix-xml_getc-and-xml_ungetc.patch,
|
[+ 0001-xml-reader-fix-xml_getc-and-xml_ungetc.patch,
|
||||||
+ 0002-xml-reader-allow-uppercase-for-lt-gt-and-amp-expansi.patch]
|
+ 0002-xml-reader-allow-uppercase-for-lt-gt-and-amp-expansi.patch]
|
||||||
@ -131,7 +136,7 @@ Mon Jul 2 11:00:33 UTC 2012 - mt@suse.de
|
|||||||
interface operstate to better match ifstatus results
|
interface operstate to better match ifstatus results
|
||||||
- Check type while creating topology tree as well, not
|
- Check type while creating topology tree as well, not
|
||||||
only if the interface specific data exists.
|
only if the interface specific data exists.
|
||||||
- Do not report error in ncf_if_xml_state when interface
|
- Do not report error in ncf_if_xml_state when interface
|
||||||
does not exists any more [has been stopped/removed].
|
does not exists any more [has been stopped/removed].
|
||||||
- Improved error handling, report several errors once
|
- Improved error handling, report several errors once
|
||||||
- Expose a lot of error details to the caller
|
- Expose a lot of error details to the caller
|
||||||
@ -140,9 +145,9 @@ Mon Jul 2 11:00:33 UTC 2012 - mt@suse.de
|
|||||||
- Fetch mac address from system when not in the config
|
- Fetch mac address from system when not in the config
|
||||||
- Fixed arp ip target bonding option handling and expose
|
- Fixed arp ip target bonding option handling and expose
|
||||||
errors while trying to add not unique slave interface.
|
errors while trying to add not unique slave interface.
|
||||||
- Refresh config handle earlier in ncf_define, fixed a
|
- Refresh config handle earlier in ncf_define, fixed a
|
||||||
double free in regression test it does.
|
double free in regression test it does.
|
||||||
- Automatically start port/slave/base interfeces when
|
- Automatically start port/slave/base interfeces when
|
||||||
stating a bridge/bond/vlan.
|
stating a bridge/bond/vlan.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
@ -205,7 +210,7 @@ Wed Jul 6 19:03:28 UTC 2011 - mt@suse.de
|
|||||||
- version 0.2.1, fixing config cleanup of depending interfaces
|
- version 0.2.1, fixing config cleanup of depending interfaces
|
||||||
while configure and delete action, ifup and ifdown actions,
|
while configure and delete action, ifup and ifdown actions,
|
||||||
adding several checks and removing patch level from the API
|
adding several checks and removing patch level from the API
|
||||||
version (fate#306765).
|
version (fate#306765).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 1 11:17:17 UTC 2011 - mt@suse.de
|
Fri Jul 1 11:17:17 UTC 2011 - mt@suse.de
|
||||||
|
@ -33,39 +33,18 @@ Source0: %{name}-%{version}.tar.bz2
|
|||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch1: 0001-xml-reader-fix-xml_getc-and-xml_ungetc.patch
|
Patch1: 0001-xml-reader-fix-xml_getc-and-xml_ungetc.patch
|
||||||
Patch2: 0002-xml-reader-allow-uppercase-for-lt-gt-and-amp-expansi.patch
|
Patch2: 0002-xml-reader-allow-uppercase-for-lt-gt-and-amp-expansi.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%if 0%{?suse_version} >= 1310
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libnl3-devel
|
BuildRequires: libnl3-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
%else
|
BuildRequires: pkgconfig
|
||||||
%if 0%{?suse_version} >= 1210
|
|
||||||
BuildRequires: libnl-1_1-devel
|
|
||||||
%else
|
|
||||||
BuildRequires: libnl-devel
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkg-config
|
|
||||||
%if 0%{?suse_version} >= 1230
|
|
||||||
Requires: sysconfig >= 0.80.0
|
Requires: sysconfig >= 0.80.0
|
||||||
%else
|
|
||||||
Requires: sysconfig >= 0.71.0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A interim network configuration library, currently implementing the
|
A interim network configuration library, currently implementing the
|
||||||
libnetcf interface for libvirt.
|
libnetcf interface for libvirt.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Olaf Kirch <okir@suse.de>
|
|
||||||
Marius Tomaschewski <mt@suse.de>
|
|
||||||
|
|
||||||
%package -n libnetcontrol0
|
%package -n libnetcontrol0
|
||||||
|
|
||||||
Summary: A network configuration library
|
Summary: A network configuration library
|
||||||
Group: Productivity/Networking/System
|
Group: Productivity/Networking/System
|
||||||
|
|
||||||
@ -75,15 +54,7 @@ libnetcf interface for libvirt.
|
|||||||
|
|
||||||
The libnetcontrol0 package provides the shared library.
|
The libnetcontrol0 package provides the shared library.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Olaf Kirch <okir@suse.de>
|
|
||||||
Marius Tomaschewski <mt@suse.de>
|
|
||||||
|
|
||||||
%package -n libnetcontrol-devel
|
%package -n libnetcontrol-devel
|
||||||
|
|
||||||
Summary: Development header and library files
|
Summary: Development header and library files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libnetcontrol0 = %{version}
|
Requires: libnetcontrol0 = %{version}
|
||||||
@ -95,45 +66,31 @@ libnetcf interface for libvirt.
|
|||||||
The libnetcontrol-devel package contains libraries and header files
|
The libnetcontrol-devel package contains libraries and header files
|
||||||
required for development.
|
required for development.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Olaf Kirch <okir@suse.de>
|
|
||||||
Marius Tomaschewski <mt@suse.de>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="-W -Wall $RPM_OPT_FLAGS"
|
|
||||||
%configure \
|
%configure \
|
||||||
%if 0%{?suse_version} >= 1230
|
|
||||||
--enable-network-service \
|
--enable-network-service \
|
||||||
%endif
|
|
||||||
--enable-pthreads \
|
--enable-pthreads \
|
||||||
--disable-static
|
--disable-static
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libnetcontrol0
|
%post -n libnetcontrol0 -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
%postun -n libnetcontrol0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libnetcontrol0
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libnetcontrol0
|
%files -n libnetcontrol0
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files -n libnetcontrol-devel
|
%files -n libnetcontrol-devel
|
||||||
%defattr(-,root,root,-)
|
%license COPYING.LGPL COPYING.GPL
|
||||||
%doc README COPYING.LGPL COPYING.GPL ChangeLog.git
|
%doc README ChangeLog.git
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/pkgconfig/netcontrol.pc
|
%{_libdir}/pkgconfig/netcontrol.pc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user