From 680ace882d4d1e9292c0c1889e221b4ab849ba60 Mon Sep 17 00:00:00 2001 From: pmikova Date: Fri, 5 Apr 2019 10:49:12 +0200 Subject: [PATCH] Added comments to explain removal of chkconfig They should be enough to avoid re-adding of the dependency during patch backporting --- java-latest-openjdk.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java-latest-openjdk.spec b/java-latest-openjdk.spec index 205a0a1..f570163 100644 --- a/java-latest-openjdk.spec +++ b/java-latest-openjdk.spec @@ -847,6 +847,7 @@ OrderWithRequires: copy-jdk-configs Requires: cups-libs # Post requires alternatives to install tool alternatives Requires(post): %{_sbindir}/alternatives +# chkconfig does not contain alternatives anymore # Postun requires alternatives to uninstall tool alternatives Requires(postun): %{_sbindir}/alternatives # for optional support of kernel stream control, card reader and printing bindings @@ -871,6 +872,7 @@ Requires: %{name}%{?1}%{?_isa} = %{epoch}:%{version}-%{release} OrderWithRequires: %{name}-headless%{?1}%{?_isa} = %{epoch}:%{version}-%{release} # Post requires alternatives to install tool alternatives Requires(post): %{_sbindir}/alternatives +# chkconfig does not contain alternatives anymore # Postun requires alternatives to uninstall tool alternatives Requires(postun): %{_sbindir}/alternatives @@ -915,6 +917,7 @@ Provides: java-demo%{?1} = %{epoch}:%{version}-%{release} OrderWithRequires: %{name}-headless%{?1}%{?_isa} = %{epoch}:%{version}-%{release} # Post requires alternatives to install javadoc alternative Requires(post): %{_sbindir}/alternatives +# chkconfig does not contain alternatives anymore # Postun requires alternatives to uninstall javadoc alternative Requires(postun): %{_sbindir}/alternatives