Accepting request 519298 from home:BinLiu:branches:network:ha-clustering:Factory

3) remove macro tpmfiles_create define from corosync.spec.

OBS-URL: https://build.opensuse.org/request/show/519298
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=106
This commit is contained in:
Bin Liu 2017-08-29 09:54:18 +00:00 committed by Git OBS Bridge
parent d1c555f69a
commit 81c78de08e
2 changed files with 1 additions and 5 deletions

View File

@ -25,7 +25,7 @@ Thu Aug 3 02:49:21 UTC 2017 - bliu@suse.com
Modified:corosync.spec Modified:corosync.spec
1) as in openSUSE:factory, there are %define, but bcond_with coudld be toggled by osc command , change %define to %bcond_with and %bcond_without 1) as in openSUSE:factory, there are %define, but bcond_with coudld be toggled by osc command , change %define to %bcond_with and %bcond_without
2) change service_del_postun to service_del_preun, since service_del_postun is not a right macro 2) change service_del_postun to service_del_preun, since service_del_postun is not a right macro
3) remove "||:" from tpmfiles_create if tmpfiles_create not defined, and add to the line when it is called. 3) remove macro tpmfiles_create define from corosync.spec.
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -32,10 +32,6 @@
%bcond_without qdevices %bcond_without qdevices
%bcond_without qnetd %bcond_without qnetd
%if !%{defined tmpfiles_create}
%define tmpfiles_create systemd-tmpfiles --create
%endif
%if 0%{?sles_version} == 12 %if 0%{?sles_version} == 12
%ifnarch s390 s390x %ifnarch s390 s390x
%define buildib 1 %define buildib 1