Compare commits
No commits in common. "765fd1a41e88798f7d8c6fba30c965bff6c6439f" and "d332723380c9a764e2107ab0c8d3f05a78bc49c3" have entirely different histories.
765fd1a41e
...
d332723380
BIN
libteam-1.31.tar.gz
Normal file
BIN
libteam-1.31.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
38
libteam.spec
38
libteam.spec
@ -1,10 +1,10 @@
|
|||||||
Name: libteam
|
Name: libteam
|
||||||
Version: 1.32
|
Version: 1.31
|
||||||
Release: 3
|
Release: 2
|
||||||
Summary: User-space counterpart library for team network
|
Summary: User-space counterpart library for team network
|
||||||
License: LGPL-2.0-or-later
|
License: LGPLv2+
|
||||||
URL: https://www.libteam.org
|
URL: http://www.libteam.org
|
||||||
Source: https://www.libteam.org/files/libteam-%{version}.tar.gz
|
Source: http://www.libteam.org/files/libteam-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: libteam-fix-error-options-in-doc.patch
|
Patch0: libteam-fix-error-options-in-doc.patch
|
||||||
|
|
||||||
@ -38,7 +38,6 @@ is use with the legacy network service.
|
|||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Document of %{name}
|
Summary: Document of %{name}
|
||||||
BuildArch: noarch
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: %{name}-doc = %{version}-%{release}
|
Provides: %{name}-doc = %{version}-%{release}
|
||||||
Obsoletes: %{name}-doc < %{version}-%{release}
|
Obsoletes: %{name}-doc < %{version}-%{release}
|
||||||
@ -50,9 +49,9 @@ This package contains the document of %{name}
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure
|
||||||
%make_build
|
make %{?_smp_mflags}
|
||||||
%make_build html
|
make html
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p _tmpdoc1/examples
|
mkdir -p _tmpdoc1/examples
|
||||||
@ -60,7 +59,6 @@ rm examples/python/*.py
|
|||||||
cp -p examples/*.c _tmpdoc1/examples
|
cp -p examples/*.c _tmpdoc1/examples
|
||||||
|
|
||||||
%make_install
|
%make_install
|
||||||
%delete_la
|
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d
|
||||||
install -p teamd/dbus/teamd.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/
|
install -p teamd/dbus/teamd.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/
|
||||||
@ -75,6 +73,9 @@ done
|
|||||||
|
|
||||||
install -p -m 755 utils/bond2team $RPM_BUILD_ROOT%{_bindir}/bond2team
|
install -p -m 755 utils/bond2team $RPM_BUILD_ROOT%{_bindir}/bond2team
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/teamd.conf
|
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/teamd.conf
|
||||||
@ -90,6 +91,8 @@ install -p -m 755 utils/bond2team $RPM_BUILD_ROOT%{_bindir}/bond2team
|
|||||||
%{_includedir}/team.h
|
%{_includedir}/team.h
|
||||||
%{_libdir}/libteam.so
|
%{_libdir}/libteam.so
|
||||||
%{_libdir}/pkgconfig/libteam.pc
|
%{_libdir}/pkgconfig/libteam.pc
|
||||||
|
%{_libdir}/*.a
|
||||||
|
%{_libdir}/*.la
|
||||||
%{_includedir}/teamdctl.h
|
%{_includedir}/teamdctl.h
|
||||||
%{_libdir}/libteamdctl.so
|
%{_libdir}/libteamdctl.so
|
||||||
%{_libdir}/pkgconfig/libteamdctl.pc
|
%{_libdir}/pkgconfig/libteamdctl.pc
|
||||||
@ -104,6 +107,7 @@ install -p -m 755 utils/bond2team $RPM_BUILD_ROOT%{_bindir}/bond2team
|
|||||||
%doc _tmpdoc1/examples
|
%doc _tmpdoc1/examples
|
||||||
%doc doc/api
|
%doc doc/api
|
||||||
%doc teamd/example_configs teamd/redhat/example_ifcfgs/
|
%doc teamd/example_configs teamd/redhat/example_ifcfgs/
|
||||||
|
%doc _tmpdoc2/examples
|
||||||
%{_mandir}/man1/bond2team.1*
|
%{_mandir}/man1/bond2team.1*
|
||||||
%{_mandir}/man5/teamd.conf.5*
|
%{_mandir}/man5/teamd.conf.5*
|
||||||
%{_mandir}/man8/teamd.8*
|
%{_mandir}/man8/teamd.8*
|
||||||
@ -111,18 +115,6 @@ install -p -m 755 utils/bond2team $RPM_BUILD_ROOT%{_bindir}/bond2team
|
|||||||
%{_mandir}/man8/teamnl.8*
|
%{_mandir}/man8/teamnl.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Nov 01 2024 xuguangmin <xuguangmin@kylinos.cn> - 1.32-3
|
|
||||||
- List non-existent files.
|
|
||||||
|
|
||||||
* Tue Sep 03 2024 Funda Wang <fundawang@yeah.net> - 1.32-2
|
|
||||||
- cleanup spec
|
|
||||||
|
|
||||||
* Fri Dec 15 2023 fuanan <fuanan3@h-partners.com> - 1.32-1
|
|
||||||
- update version to 1.32
|
|
||||||
|
|
||||||
* Thu Sep 21 2023 zhangruifang <zhangruifang1@h-partners.com> - 1.31-3
|
|
||||||
- fix an issue about teamd is using 100% cpu usage (of 1 core)
|
|
||||||
|
|
||||||
* Thu Sep 8 2022 yixiangzhike <yixiangzhike007@163.com> - 1.31-2
|
* Thu Sep 8 2022 yixiangzhike <yixiangzhike007@163.com> - 1.31-2
|
||||||
- fix error options in doc
|
- fix error options in doc
|
||||||
|
|
||||||
@ -132,7 +124,7 @@ install -p -m 755 utils/bond2team $RPM_BUILD_ROOT%{_bindir}/bond2team
|
|||||||
* Thu Oct 29 2020 wangchen <wangchen137@huawei.com> - 1.30-2
|
* Thu Oct 29 2020 wangchen <wangchen137@huawei.com> - 1.30-2
|
||||||
- Remove python2
|
- Remove python2
|
||||||
|
|
||||||
* Thu Jul 16 2020 Hugel <gengqihu1@huawei.com> - 1.30-1
|
*Thu Jul 16 2020 Hugel <gengqihu1@huawei.com> - 1.30-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user