SPECS: net-snmp.spec - verbose libs, ghost soname symlinks - not linked wit...
glen
glen at pld-linux.org
Fri May 16 01:54:18 CEST 2008
Author: glen Date: Thu May 15 23:54:18 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- verbose libs, ghost soname symlinks
- not linked with rpm if rpm hrmib export configured (which is true for th)
- rel 14
---- Files affected:
SPECS:
net-snmp.spec (1.117 -> 1.118)
---- Diffs:
================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.117 SPECS/net-snmp.spec:1.118
--- SPECS/net-snmp.spec:1.117 Sat May 3 23:14:16 2008
+++ SPECS/net-snmp.spec Fri May 16 01:54:13 2008
@@ -29,7 +29,7 @@
Summary(uk.UTF-8): Набір утиліт для протоколу SNMP від UC-Davis
Name: net-snmp
Version: 5.4.1
-Release: 12
+Release: 14
License: BSD-like
Group: Networking/Daemons
Source0: http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -73,7 +73,7 @@
BuildRequires: python-setuptools
%endif
%if %{with rpm}
-BuildRequires: rpm-devel >= 4.0
+BuildRequires: rpm
BuildRequires: rpm-perlprov >= 3.0.3-16
%endif
BuildRequires: rpmbuild(macros) >= 1.268
@@ -164,7 +164,6 @@
Requires: libwrap-devel
%{?with_lm_sensors:Requires: lm_sensors-devel >= 3.0.1}
Requires: openssl-devel >= 0.9.7c
-%{?with_rpm:Requires: rpm-devel}
Obsoletes: ucd-snmp-devel
%description devel
@@ -532,6 +531,8 @@
ar d $a DynaLoader.a
fi
done
+%else
+rm -f $RPM_BUILD_ROOT%{_libdir}/libsnmp.a
%endif
%clean
@@ -595,15 +596,32 @@
%files libs
%defattr(644,root,root,755)
%dir %{_sysconfdir}/snmp
-%attr(755,root,root) %{_libdir}/libnet*.so.*.*
+%attr(755,root,root) %{_libdir}/libnetsnmp.so.*.*
+%attr(755,root,root) %{_libdir}/libnetsnmpagent.so.*.*
+%attr(755,root,root) %{_libdir}/libnetsnmphelpers.so.*.*
+%attr(755,root,root) %{_libdir}/libnetsnmpmibs.so.*.*
+%attr(755,root,root) %{_libdir}/libnetsnmptrapd.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnetsnmp.so.15
+%attr(755,root,root) %ghost %{_libdir}/libnetsnmpagent.so.15
+%attr(755,root,root) %ghost %{_libdir}/libnetsnmphelpers.so.15
+%attr(755,root,root) %ghost %{_libdir}/libnetsnmpmibs.so.15
+%attr(755,root,root) %ghost %{_libdir}/libnetsnmptrapd.so.15
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/mib2c
%attr(755,root,root) %{_bindir}/mib2c-update
%attr(755,root,root) %{_bindir}/net-snmp-config
-%attr(755,root,root) %{_libdir}/libnet*[a-z].so
-%{_libdir}/libnet*.la
+%attr(755,root,root) %{_libdir}/libnetsnmp.so
+%attr(755,root,root) %{_libdir}/libnetsnmpagent.so
+%attr(755,root,root) %{_libdir}/libnetsnmphelpers.so
+%attr(755,root,root) %{_libdir}/libnetsnmpmibs.so
+%attr(755,root,root) %{_libdir}/libnetsnmptrapd.so
+%{_libdir}/libnetsnmp.la
+%{_libdir}/libnetsnmpagent.la
+%{_libdir}/libnetsnmphelpers.la
+%{_libdir}/libnetsnmpmibs.la
+%{_libdir}/libnetsnmptrapd.la
%{_includedir}/net-snmp
%{_datadir}/snmp/mib2c*
%{_mandir}/man1/mib2c.1*
@@ -751,6 +769,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.118 2008-05-15 23:54:13 glen
+- verbose libs, ghost soname symlinks
+- not linked with rpm if rpm hrmib export configured (which is true for th)
+- rel 14
+
Revision 1.117 2008-05-03 21:14:16 hawk
- fixed build with lm_sensors 3.x
- R/BR lm_sensors >= 3.0.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/net-snmp.spec?r1=1.117&r2=1.118&f=u
More information about the pld-cvs-commit
mailing list