diff --git a/coreutils.spec b/coreutils.spec index 74f35e5..10be566 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -135,6 +135,9 @@ fi %{_mandir}/man*/* %changelog +* Wed Aug 26 2020 chenbo pan - 8.32-2 +- fix patch error + * Wed Jul 29 2020 Liquor - 8.32-1 - update to 8.32 diff --git a/skip-the-tests-that-require-selinux-if-selinux-is-di.patch b/skip-the-tests-that-require-selinux-if-selinux-is-di.patch index 3146424..013700c 100644 --- a/skip-the-tests-that-require-selinux-if-selinux-is-di.patch +++ b/skip-the-tests-that-require-selinux-if-selinux-is-di.patch @@ -20,7 +20,7 @@ index 739ba33..d536dec 100644 || skip_ "this system lacks SELinux support" + # Judge the selinux is enabled or not -+ selinuxenabled; [ $? = 1] && skip_ "SELinux is disabled" ++ selinuxenabled; [ $? = 1 ] && skip_ "SELinux is disabled" + # Independent of whether SELinux is enabled system-wide, # the current file system may lack SELinux support.