!34 [sync] PR-33: cleanup spec
From: @openeuler-sync-bot Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
0944fa3bac
24
libteam.spec
24
libteam.spec
@ -1,10 +1,10 @@
|
|||||||
Name: libteam
|
Name: libteam
|
||||||
Version: 1.32
|
Version: 1.32
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: User-space counterpart library for team network
|
Summary: User-space counterpart library for team network
|
||||||
License: LGPLv2+
|
License: LGPL-2.0-or-later
|
||||||
URL: http://www.libteam.org
|
URL: https://www.libteam.org
|
||||||
Source: http://www.libteam.org/files/libteam-%{version}.tar.gz
|
Source: https://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,6 +38,7 @@ 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}
|
||||||
@ -49,9 +50,9 @@ This package contains the document of %{name}
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
make html
|
%make_build html
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p _tmpdoc1/examples
|
mkdir -p _tmpdoc1/examples
|
||||||
@ -59,6 +60,7 @@ 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/
|
||||||
@ -73,9 +75,6 @@ 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
|
||||||
@ -91,8 +90,6 @@ 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
|
||||||
@ -115,6 +112,9 @@ install -p -m 755 utils/bond2team $RPM_BUILD_ROOT%{_bindir}/bond2team
|
|||||||
%{_mandir}/man8/teamnl.8*
|
%{_mandir}/man8/teamnl.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Fri Dec 15 2023 fuanan <fuanan3@h-partners.com> - 1.32-1
|
||||||
- update version to 1.32
|
- update version to 1.32
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user