add openEuler in the conditional branch

This commit is contained in:
songnannan 2020-04-09 21:41:44 +08:00
parent f8dc26bd4e
commit 87c034f350

View File

@ -20,7 +20,7 @@ Requires: gawk \
Name: initscripts Name: initscripts
Summary: Basic support for legacy System V init scripts Summary: Basic support for legacy System V init scripts
Version: 10.01 Version: 10.01
Release: 6 Release: 7
License: GPLv2 License: GPLv2
@ -74,7 +74,7 @@ Obsoletes: %{name} < 9.82-2
# Downstream patches for RHEL -- patches that we keep only in RHEL for various # Downstream patches for RHEL -- patches that we keep only in RHEL for various
# --------------------------- reasons, but are not enabled in Fedora: # --------------------------- reasons, but are not enabled in Fedora:
%if %{defined rhel} || %{defined centos} %if %{defined rhel} || %{defined centos} || !%{openEuler}
#Patch200: example200.patch #Patch200: example200.patch
%endif %endif
@ -361,6 +361,9 @@ fi
# ============================================================================= # =============================================================================
%changelog %changelog
* Thu Apr 9 2020 songnannan <songnannan2@huawei.com> - 10.01-7
- add openEuler in the conditional branch
* Thu Mar 5 2020 openEuler Buildteam <buildteam@openeuler.org> - 10.01-6 * Thu Mar 5 2020 openEuler Buildteam <buildteam@openeuler.org> - 10.01-6
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA