forked from pool/s390-tools
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
This commit is contained in:
parent
58e312617d
commit
5f87a54d2f
@ -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 <mpost@suse.com>
|
Fri Jul 24 21:17:36 UTC 2020 - Mark Post <mpost@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package s390-tools
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
grep osasnmp[^-] %{_builddir}/%{name}-filelist >%{_builddir}/%{name}.osasnmp
|
||||||
|
|
||||||
touch boot/zipl/active_devices.txt
|
touch boot/zipl/active_devices.txt
|
||||||
mkdir -p usr/lib/net-snmp/agents
|
mkdir -p ./%{_libexecdir}/net-snmp/agents
|
||||||
cd usr/lib/net-snmp/agents
|
cd ./%{_libexecdir}/net-snmp/agents
|
||||||
cat <<EOT >osasnmpd
|
cat <<EOT >osasnmpd
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
PIDFILE=%{_localstatedir}/run/osasnmpd.pid
|
PIDFILE=%{_localstatedir}/run/osasnmpd.pid
|
||||||
@ -605,7 +605,7 @@ fi
|
|||||||
|
|
||||||
%files -n osasnmpd -f %{_builddir}/%{name}.osasnmp
|
%files -n osasnmpd -f %{_builddir}/%{name}.osasnmp
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_prefix}/lib/net-snmp/agents/osasnmpd
|
%{_libexecdir}/net-snmp/agents/osasnmpd
|
||||||
|
|
||||||
%files zdsfs
|
%files zdsfs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user