From 5f87a54d2f73fb26f29b444e4614b7da2a1f8d72ea9b831ea88daf5ffc67fcef Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Wed, 16 Sep 2020 11:25:27 +0000 Subject: [PATCH] Accepting request 834723 from home:oertel:branches:Base:System - use libexecdir for net-snmp agent config OBS-URL: https://build.opensuse.org/request/show/834723 OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=99 --- s390-tools.changes | 5 +++++ s390-tools.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/s390-tools.changes b/s390-tools.changes index b90f475..1a1ccd6 100644 --- a/s390-tools.changes +++ b/s390-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 15 18:46:04 CEST 2020 - ro@suse.de + +- use libexecdir for net-snmp agent config + ------------------------------------------------------------------- Fri Jul 24 21:17:36 UTC 2020 - Mark Post diff --git a/s390-tools.spec b/s390-tools.spec index ed42ab9..a99a385 100644 --- a/s390-tools.spec +++ b/s390-tools.spec @@ -1,7 +1,7 @@ # # spec file for package s390-tools # -# Copyright (c) 2001-2020 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -420,8 +420,8 @@ grep -v -E 'osasnmp|*\.conf$' %{_builddir}/%{name}-filelist >%{_builddir}/%{name grep osasnmp[^-] %{_builddir}/%{name}-filelist >%{_builddir}/%{name}.osasnmp touch boot/zipl/active_devices.txt -mkdir -p usr/lib/net-snmp/agents -cd usr/lib/net-snmp/agents +mkdir -p ./%{_libexecdir}/net-snmp/agents +cd ./%{_libexecdir}/net-snmp/agents cat <osasnmpd #!/bin/sh PIDFILE=%{_localstatedir}/run/osasnmpd.pid @@ -605,7 +605,7 @@ fi %files -n osasnmpd -f %{_builddir}/%{name}.osasnmp %defattr(-,root,root) -%{_prefix}/lib/net-snmp/agents/osasnmpd +%{_libexecdir}/net-snmp/agents/osasnmpd %files zdsfs %defattr(-,root,root)