Accepting request 1124120 from network:utilities
- 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/request/show/1124120 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netcontrol?expand=0&rev=22
This commit is contained in:
commit
18df6150ac
@ -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>
|
||||
|
||||
- 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)
|
||||
[+ 0001-xml-reader-fix-xml_getc-and-xml_ungetc.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
|
||||
- Check type while creating topology tree as well, not
|
||||
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].
|
||||
- Improved error handling, report several errors once
|
||||
- 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
|
||||
- Fixed arp ip target bonding option handling and expose
|
||||
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.
|
||||
- Automatically start port/slave/base interfeces when
|
||||
- Automatically start port/slave/base interfeces when
|
||||
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
|
||||
while configure and delete action, ifup and ifdown actions,
|
||||
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
|
||||
|
@ -33,39 +33,18 @@ Source0: %{name}-%{version}.tar.bz2
|
||||
Source1: baselibs.conf
|
||||
Patch1: 0001-xml-reader-fix-xml_getc-and-xml_ungetc.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: automake
|
||||
BuildRequires: libnl3-devel
|
||||
BuildRequires: libtool
|
||||
%else
|
||||
%if 0%{?suse_version} >= 1210
|
||||
BuildRequires: libnl-1_1-devel
|
||||
%else
|
||||
BuildRequires: libnl-devel
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: pkg-config
|
||||
%if 0%{?suse_version} >= 1230
|
||||
BuildRequires: pkgconfig
|
||||
Requires: sysconfig >= 0.80.0
|
||||
%else
|
||||
Requires: sysconfig >= 0.71.0
|
||||
%endif
|
||||
|
||||
%description
|
||||
A interim network configuration library, currently implementing the
|
||||
libnetcf interface for libvirt.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Olaf Kirch <okir@suse.de>
|
||||
Marius Tomaschewski <mt@suse.de>
|
||||
|
||||
%package -n libnetcontrol0
|
||||
|
||||
Summary: A network configuration library
|
||||
Group: Productivity/Networking/System
|
||||
|
||||
@ -75,15 +54,7 @@ libnetcf interface for libvirt.
|
||||
|
||||
The libnetcontrol0 package provides the shared library.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Olaf Kirch <okir@suse.de>
|
||||
Marius Tomaschewski <mt@suse.de>
|
||||
|
||||
%package -n libnetcontrol-devel
|
||||
|
||||
Summary: Development header and library files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libnetcontrol0 = %{version}
|
||||
@ -95,45 +66,31 @@ libnetcf interface for libvirt.
|
||||
The libnetcontrol-devel package contains libraries and header files
|
||||
required for development.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Olaf Kirch <okir@suse.de>
|
||||
Marius Tomaschewski <mt@suse.de>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="-W -Wall $RPM_OPT_FLAGS"
|
||||
%configure \
|
||||
%if 0%{?suse_version} >= 1230
|
||||
--enable-network-service \
|
||||
%endif
|
||||
--enable-pthreads \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libnetcontrol0
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun -n libnetcontrol0
|
||||
/sbin/ldconfig
|
||||
%post -n libnetcontrol0 -p /sbin/ldconfig
|
||||
%postun -n libnetcontrol0 -p /sbin/ldconfig
|
||||
|
||||
%files -n libnetcontrol0
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n libnetcontrol-devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING.LGPL COPYING.GPL ChangeLog.git
|
||||
%license COPYING.LGPL COPYING.GPL
|
||||
%doc README ChangeLog.git
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/netcontrol.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user