Browse code

Bug 1966871: [Package Uninstall Faiulre][zookeeper]

Change-Id: Ib97c4710757b76662304131a9d7cdf6ba0aa095c
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3862
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>

harishspqr authored on 2017/09/26 05:14:45
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Highly reliable distributed coordination
2 2
 Name:           zookeeper
3 3
 Version:        3.4.10
4
-Release:        4%{?dist}
4
+Release:        5%{?dist}
5 5
 URL:            http://zookeeper.apache.org/
6 6
 License:        Apache License, Version 2.0
7 7
 Group:          Applications/System
... ...
@@ -64,7 +64,6 @@ getent passwd zookeeper >/dev/null || /usr/sbin/useradd --comment "ZooKeeper" --
64 64
 if [ $1 -eq 1 ] ; then
65 65
     # Initial installation
66 66
     # Enabled by default per "runs once then goes away" exception
67
-    source %{_sysconfdir}/profile.d/java-exports.sh
68 67
     bash %{_prefix}/sbin/update-zookeeper-env.sh \
69 68
        --prefix=%{_prefix} \
70 69
        --conf-dir=%{_sysconfdir}/zookeeper \
... ...
@@ -77,7 +76,6 @@ fi
77 77
  
78 78
 %preun
79 79
 if [ $1 -eq 0 ] ; then
80
-source %{_sysconfdir}/profile.d/java-exports.sh
81 80
 bash %{_prefix}/sbin/update-zookeeper-env.sh \
82 81
        --prefix=%{_prefix} \
83 82
        --conf-dir=%{_sysconfdir}/zookeeper \
... ...
@@ -106,6 +104,8 @@ fi
106 106
 %{_prefix}
107 107
 
108 108
 %changelog
109
+*   Mon Sep 25 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.4.10-5
110
+-   Removed the java-export.sh script reference.
109 111
 *   Thu Jun 01 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.4.10-4
110 112
 -   Renamed openjdk to openjdk8.
111 113
 *   Wed May 31 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.4.10-3