Fixed systemd support

Resolves: #875632
This commit is contained in:
Jan Safranek 2012-11-12 10:48:16 +01:00
parent 5fb03f20da
commit efaf5fd154
2 changed files with 1659 additions and 1 deletions

1653
net-snmp-5.7.2-systemd.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@
Summary: A collection of SNMP protocol tools and libraries
Name: net-snmp
Version: 5.7.2
Release: 3%{?dist}
Release: 4%{?dist}
Epoch: 1
License: BSD
@ -35,6 +35,7 @@ Patch3: net-snmp-5.6-multilib.patch
Patch4: net-snmp-5.5-apsl-copying.patch
Patch5: net-snmp-5.5-perl-linking.patch
Patch6: net-snmp-5.6-test-debug.patch
Patch7: net-snmp-5.7.2-systemd.patch
Requires(post): chkconfig
Requires(preun): chkconfig
@ -195,6 +196,7 @@ The net-snmp-sysvinit package provides SysV init scripts for Net-SNMP daemons.
# non-default directory - so leave the rpath there.
#%patch5 -p1 -b .perl-linking
%patch6 -p1
%patch7 -p1 -b .systemd
%ifarch sparc64 s390 s390x
# disable failing test - see https://bugzilla.redhat.com/show_bug.cgi?id=680697
@ -487,6 +489,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_initrddir}/snmptrapd
%changelog
* Mon Nov 12 2012 Jan Safranek <jsafrane@redhat.com> - 1:5.7.2-4
- Fixed systemd support (#875632).
* Mon Oct 29 2012 Jan Safranek <jsafrane@redhat.com> - 1:5.7.2-3
- Added direct dependency on perl-devel with architectute in
net-snmp-devel package to pull proper dependencies.