From: Elan Ruusamäe Date: Sun, 28 Aug 2016 14:35:06 +0000 (+0300) Subject: cleanups X-Git-Tag: auto/th/libteam-1.26-3~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=ac41c7a5bb6d47379e86902402de3393ef50fb63;p=packages%2Flibteam.git cleanups --- diff --git a/libteam.spec b/libteam.spec index ab90e53..06e8ffe 100644 --- a/libteam.spec +++ b/libteam.spec @@ -1,14 +1,12 @@ Summary: Library for controlling team network device Summary(pl.UTF-8): Biblioteka do sterowania grupowymi urządzeniami sieciowymi Name: libteam -#%define _snap 20160809 Version: 1.26 Release: 2 License: LGPL v2.1+ Group: Libraries Source0: http://libteam.org/files/%{name}-%{version}.tar.gz # Source0-md5: f8529a3bfee28500bef5faff6aeb0063 -#Source0: %{name}-%{_snap}.zip Source1: teamd.sysconfig Source2: teamd-lvl1-service-generator Source3: teamd-lvl2-service-generator @@ -92,7 +90,7 @@ Statyczna biblioteka libteam. %package -n teamd Group: Networking/Admin Summary: Team network device control daemon -Requires: libteam = %{version}-%{release} +Requires: %{name} = %{version}-%{release} %description -n teamd The teamd package contains team network device control daemon. @@ -136,9 +134,8 @@ install %{SOURCE7} $RPM_BUILD_ROOT%{systemdunitdir} %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %post -n teamd /sbin/ldconfig @@ -152,6 +149,13 @@ export NORESTART="yes" /sbin/ldconfig %systemd_reload +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/teamnl +%attr(755,root,root) %{_libdir}/libteam.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libteam.so.5 +%{_mandir}/man8/teamnl.8* + %files -n teamd %defattr(644,root,root,755) %doc README teamd/example_configs @@ -171,13 +175,6 @@ export NORESTART="yes" %{_mandir}/man8/teamd.8* %{_mandir}/man8/teamdctl.8* -%files -%defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/teamnl -%attr(755,root,root) %{_libdir}/libteam.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libteam.so.5 -%{_mandir}/man8/teamnl.8* - %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libteam.so