[jetty] Fix jetty being accidentaly enabled after update by default

Stanislav Ochotnicky sochotni at fedoraproject.org
Mon Jul 2 12:30:52 UTC 2012


commit 3ee5ac564b1805536233ae45c0880d7850c94402
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Wed Jun 13 14:43:48 2012 +0200

    Fix jetty being accidentaly enabled after update by default
    
    - Resolves: #831280

 jetty.spec |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/jetty.spec b/jetty.spec
index 6f162cc..c6c3bdc 100644
--- a/jetty.spec
+++ b/jetty.spec
@@ -44,7 +44,7 @@
 
 Name:           jetty
 Version:        8.1.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Java Webserver and Servlet Container
 
 Group:          Applications/Internet
@@ -836,9 +836,6 @@ groupdel %username &>/dev/null || :
 # to migrate them to systemd targets
 /usr/bin/systemd-sysv-convert --save jetty >/dev/null 2>&1 ||:
 
-# If the package is allowed to autostart:
-/bin/systemctl --no-reload enable jetty.service >/dev/null 2>&1 ||:
-
 # Run these because the SysV package being removed won't do them
 /sbin/chkconfig --del jetty >/dev/null 2>&1 || :
 /bin/systemctl try-restart jetty.service >/dev/null 2>&1 || :
@@ -1011,6 +1008,10 @@ groupdel %username &>/dev/null || :
 %doc %{_javadocdir}/%{name}
 
 %changelog
+* Wed Jun 13 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 8.1.4-2
+- Fix jetty being accidentaly enabled after update by default
+- Resolves: #831280
+
 * Tue May 29 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 8.1.4-1
 - Update to 8.1.4
 


More information about the scm-commits mailing list