Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sapstartsrv-resource-agents for 
openSUSE:Factory checked in at 2021-04-29 22:46:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sapstartsrv-resource-agents (Old)
 and      /work/SRC/openSUSE:Factory/.sapstartsrv-resource-agents.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sapstartsrv-resource-agents"

Thu Apr 29 22:46:29 2021 rev:4 rq:889204 version:0.9.0+git.1619681975.ad20a04

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/sapstartsrv-resource-agents/sapstartsrv-resource-agents.changes
  2021-04-01 14:19:17.092153754 +0200
+++ 
/work/SRC/openSUSE:Factory/.sapstartsrv-resource-agents.new.1947/sapstartsrv-resource-agents.changes
        2021-04-29 22:53:02.669989564 +0200
@@ -1,0 +2,7 @@
+Thu Apr 22 13:05:47 UTC 2021 - [email protected]
+
+- remove deprecated option "syslog" from the sapping.service and
+  sappong.service files.
+  (bsc#1185152)
+
+-------------------------------------------------------------------
@@ -20,0 +28,4 @@
+- Simplified Cluster FS architecture for S/4HANA and NetWeaver
+  It controls the instance specific sapstartsrv process which
+  provides the API to start, stop and check a SAP instance.
+  (jsc#ECO-3341, jsc#SLE-16935, jsc#SLE-17440)

Old:
----
  sapstartsrv-resource-agents-0.9.0+git.1617199081.815e7ba.tar.gz

New:
----
  sapstartsrv-resource-agents-0.9.0+git.1619681975.ad20a04.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sapstartsrv-resource-agents.spec ++++++
--- /var/tmp/diff_new_pack.GrEk5q/_old  2021-04-29 22:53:03.057987836 +0200
+++ /var/tmp/diff_new_pack.GrEk5q/_new  2021-04-29 22:53:03.061987819 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sapstartsrv-resource-agents
 #
-# Copyright (c) 2020 SUSE LLC.
+# Copyright (c) 2020-2021 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,22 +23,16 @@
 Name:           sapstartsrv-resource-agents
 License:        GPL-2.0
 Group:          Productivity/Clustering/HA
-AutoReqProv:    on
 Summary:        Resource agent for SAP instance specific sapstartsrv service
-Version:        0.9.0+git.1617199081.815e7ba
+Version:        0.9.0+git.1619681975.ad20a04
 Release:        0
-Url:            https://github.com/SUSE/SAPStartSrv-resourceAgent
-
-BuildArch:      noarch
-
+URL:            https://github.com/SUSE/SAPStartSrv-resourceAgent
 Source0:        %{name}-%{version}.tar.gz
-
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
-Requires:       pacemaker > 1.1.1
+BuildArch:      noarch
+BuildRequires:  resource-agents
 Requires:       resource-agents
+Requires:       pacemaker > 1.1.1
 Requires:       python3
-BuildRequires:  resource-agents
 %if %{with test}
 BuildRequires:  python3-mock
 BuildRequires:  python3-pytest
@@ -46,7 +40,7 @@
 
 %define raname SAPStartSrv
 %define srvname sapservices-move
-%define ocf_dir /usr/lib/ocf
+%define ocf_dir %{_prefix}/lib/ocf
 
 %description
 This is a resource agent for the instance specific SAP start framework.
@@ -66,17 +60,17 @@
 gzip man/*
 
 %install
-mkdir -p %{buildroot}%{ocf_dir}/resource.d/suse
-mkdir -p %{buildroot}%{_mandir}/man7
-mkdir -p %{buildroot}%{_mandir}/man8
-mkdir -p %{buildroot}%{_sbindir}
-mkdir -p %{buildroot}%{_unitdir}
-
-install -m 0755 ra/%{raname}.in 
%{buildroot}%{ocf_dir}/resource.d/suse/%{raname}
+install -D -m 0755 ra/%{raname}.in 
%{buildroot}%{ocf_dir}/resource.d/suse/%{raname}
+install -d %{buildroot}%{_mandir}/man7
+install -d %{buildroot}%{_mandir}/man8
 install -m 0444 man/*.7.gz %{buildroot}%{_mandir}/man7
 install -m 0444 man/*.8.gz %{buildroot}%{_mandir}/man8
-install -m 0644 sbin/%{srvname}.in %{buildroot}%{_sbindir}/%{srvname}
+install -D -m 0644 sbin/%{srvname}.in %{buildroot}%{_sbindir}/%{srvname}
+install -d %{buildroot}%{_unitdir}
 install -m 0644 service/* %{buildroot}%{_unitdir}
+ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcsapping
+ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcsappong
+
 sed -i 's+@PYTHON@+%{_bindir}/python3+' 
%{buildroot}%{ocf_dir}/resource.d/suse/%{raname}
 sed -i 's+@PYTHON@+%{_bindir}/python3+' %{buildroot}%{_sbindir}/%{srvname}
 
@@ -85,18 +79,30 @@
 pytest tests
 %endif
 
+%pre
+%service_add_pre sapping.service sappong.service
+
+%post
+%service_add_post sapping.service sappong.service
+
+%preun
+%service_del_preun sapping.service sappong.service
+
+%postun
+%service_del_postun sapping.service sappong.service
+
 %files
 %defattr(-,root,root)
-%doc README.md
 %license LICENSE
+%doc README.md
 %{_mandir}/man7/*.7.gz
 %{_mandir}/man8/*.8.gz
 %dir %{ocf_dir}
 %dir %{ocf_dir}/resource.d
-%defattr(755,root,root,-)
 %dir %{ocf_dir}/resource.d/suse
-%{_sbindir}*
-%{ocf_dir}/resource.d/suse/*
+%defattr(755,root,root,-)
+%{ocf_dir}/resource.d/suse/%{raname}
+%{_sbindir}/*
 %defattr(644,root,root,-)
 %{_unitdir}/*
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.GrEk5q/_old  2021-04-29 22:53:03.097987658 +0200
+++ /var/tmp/diff_new_pack.GrEk5q/_new  2021-04-29 22:53:03.097987658 +0200
@@ -5,7 +5,7 @@
     <param name="exclude">.git</param>
     <param name="filename">sapstartsrv-resource-agents</param>
     <param name="versionformat">0.9.0+git.%ct.%h</param>
-    <param name="revision">815e7bad18de9ccccdd9566c1167c646cb5e09af</param>
+    <param name="revision">ad20a04897921e678909b6da9d87ffdae9b32293</param>
   </service>
 
   <service name="recompress" mode="disabled">

++++++ sapstartsrv-resource-agents-0.9.0+git.1617199081.815e7ba.tar.gz -> 
sapstartsrv-resource-agents-0.9.0+git.1619681975.ad20a04.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.0+git.1617199081.815e7ba/sapstartsrv-resource-agents.changes
 
new/sapstartsrv-resource-agents-0.9.0+git.1619681975.ad20a04/sapstartsrv-resource-agents.changes
--- 
old/sapstartsrv-resource-agents-0.9.0+git.1617199081.815e7ba/sapstartsrv-resource-agents.changes
    2021-03-31 15:58:01.000000000 +0200
+++ 
new/sapstartsrv-resource-agents-0.9.0+git.1619681975.ad20a04/sapstartsrv-resource-agents.changes
    2021-04-29 09:39:35.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Thu Apr 22 13:05:47 UTC 2021 - [email protected]
+
+- remove deprecated option "syslog" from the sapping.service and
+  sappong.service files.
+  (bsc#1185152)
+
+-------------------------------------------------------------------
 Wed Mar 31 09:43:09 UTC 2021 - [email protected]
 
 - prevent sapping.service from running a second time after a
@@ -18,4 +25,8 @@
 -------------------------------------------------------------------
 Wed Sep 16 09:33:32 UTC 2020 - Xabier Arbulu <[email protected]>
 
+- Simplified Cluster FS architecture for S/4HANA and NetWeaver
+  It controls the instance specific sapstartsrv process which
+  provides the API to start, stop and check a SAP instance.
+  (jsc#ECO-3341, jsc#SLE-16935, jsc#SLE-17440)
 - Include python version to the resource agent 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.0+git.1617199081.815e7ba/sapstartsrv-resource-agents.spec
 
new/sapstartsrv-resource-agents-0.9.0+git.1619681975.ad20a04/sapstartsrv-resource-agents.spec
--- 
old/sapstartsrv-resource-agents-0.9.0+git.1617199081.815e7ba/sapstartsrv-resource-agents.spec
       2021-03-31 15:58:01.000000000 +0200
+++ 
new/sapstartsrv-resource-agents-0.9.0+git.1619681975.ad20a04/sapstartsrv-resource-agents.spec
       2021-04-29 09:39:35.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sapstartsrv-resource-agents
 #
-# Copyright (c) 2020 SUSE LLC.
+# Copyright (c) 2020-2021 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,22 +23,16 @@
 Name:           sapstartsrv-resource-agents
 License:        GPL-2.0
 Group:          Productivity/Clustering/HA
-AutoReqProv:    on
 Summary:        Resource agent for SAP instance specific sapstartsrv service
 Version:        0
 Release:        0
-Url:            https://github.com/SUSE/SAPStartSrv-resourceAgent
-
-BuildArch:      noarch
-
+URL:            https://github.com/SUSE/SAPStartSrv-resourceAgent
 Source0:        %{name}-%{version}.tar.gz
-
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
-Requires:       pacemaker > 1.1.1
+BuildArch:      noarch
+BuildRequires:  resource-agents
 Requires:       resource-agents
+Requires:       pacemaker > 1.1.1
 Requires:       python3
-BuildRequires:  resource-agents
 %if %{with test}
 BuildRequires:  python3-mock
 BuildRequires:  python3-pytest
@@ -46,7 +40,7 @@
 
 %define raname SAPStartSrv
 %define srvname sapservices-move
-%define ocf_dir /usr/lib/ocf
+%define ocf_dir %{_prefix}/lib/ocf
 
 %description
 This is a resource agent for the instance specific SAP start framework.
@@ -66,17 +60,17 @@
 gzip man/*
 
 %install
-mkdir -p %{buildroot}%{ocf_dir}/resource.d/suse
-mkdir -p %{buildroot}%{_mandir}/man7
-mkdir -p %{buildroot}%{_mandir}/man8
-mkdir -p %{buildroot}%{_sbindir}
-mkdir -p %{buildroot}%{_unitdir}
-
-install -m 0755 ra/%{raname}.in 
%{buildroot}%{ocf_dir}/resource.d/suse/%{raname}
+install -D -m 0755 ra/%{raname}.in 
%{buildroot}%{ocf_dir}/resource.d/suse/%{raname}
+install -d %{buildroot}%{_mandir}/man7
+install -d %{buildroot}%{_mandir}/man8
 install -m 0444 man/*.7.gz %{buildroot}%{_mandir}/man7
 install -m 0444 man/*.8.gz %{buildroot}%{_mandir}/man8
-install -m 0644 sbin/%{srvname}.in %{buildroot}%{_sbindir}/%{srvname}
+install -D -m 0644 sbin/%{srvname}.in %{buildroot}%{_sbindir}/%{srvname}
+install -d %{buildroot}%{_unitdir}
 install -m 0644 service/* %{buildroot}%{_unitdir}
+ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcsapping
+ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcsappong
+
 sed -i 's+@PYTHON@+%{_bindir}/python3+' 
%{buildroot}%{ocf_dir}/resource.d/suse/%{raname}
 sed -i 's+@PYTHON@+%{_bindir}/python3+' %{buildroot}%{_sbindir}/%{srvname}
 
@@ -85,18 +79,30 @@
 pytest tests
 %endif
 
+%pre
+%service_add_pre sapping.service sappong.service
+
+%post
+%service_add_post sapping.service sappong.service
+
+%preun
+%service_del_preun sapping.service sappong.service
+
+%postun
+%service_del_postun sapping.service sappong.service
+
 %files
 %defattr(-,root,root)
-%doc README.md
 %license LICENSE
+%doc README.md
 %{_mandir}/man7/*.7.gz
 %{_mandir}/man8/*.8.gz
 %dir %{ocf_dir}
 %dir %{ocf_dir}/resource.d
-%defattr(755,root,root,-)
 %dir %{ocf_dir}/resource.d/suse
-%{_sbindir}*
-%{ocf_dir}/resource.d/suse/*
+%defattr(755,root,root,-)
+%{ocf_dir}/resource.d/suse/%{raname}
+%{_sbindir}/*
 %defattr(644,root,root,-)
 %{_unitdir}/*
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.0+git.1617199081.815e7ba/service/sapping.service
 
new/sapstartsrv-resource-agents-0.9.0+git.1619681975.ad20a04/service/sapping.service
--- 
old/sapstartsrv-resource-agents-0.9.0+git.1617199081.815e7ba/service/sapping.service
        2021-03-31 15:58:01.000000000 +0200
+++ 
new/sapstartsrv-resource-agents-0.9.0+git.1619681975.ad20a04/service/sapping.service
        2021-04-29 09:39:35.000000000 +0200
@@ -6,8 +6,6 @@
 [Service]
 Type=oneshot
 ExecStart=/usr/sbin/sapservices-move --hide
-StandardOutput=syslog
-StandardError=syslog
 
 [Install]
 WantedBy=multi-user.target
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.0+git.1617199081.815e7ba/service/sappong.service
 
new/sapstartsrv-resource-agents-0.9.0+git.1619681975.ad20a04/service/sappong.service
--- 
old/sapstartsrv-resource-agents-0.9.0+git.1617199081.815e7ba/service/sappong.service
        2021-03-31 15:58:01.000000000 +0200
+++ 
new/sapstartsrv-resource-agents-0.9.0+git.1619681975.ad20a04/service/sappong.service
        2021-04-29 09:39:35.000000000 +0200
@@ -6,8 +6,6 @@
 [Service]
 Type=oneshot
 ExecStart=/usr/sbin/sapservices-move --unhide
-StandardOutput=syslog
-StandardError=syslog
 
 [Install]
 WantedBy=multi-user.target

Reply via email to