Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 606239 Details for
Bug 850411
Introduce new systemd-rpm macros in tog-pegasus spec file
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Scriptlets replaced with new systemd macros
tog-pegasus.spec.patch (text/plain), 1.84 KB, created by
Lukáš Nykrýn
on 2012-08-22 12:29:48 UTC
(
hide
)
Description:
Scriptlets replaced with new systemd macros
Filename:
MIME Type:
Creator:
Lukáš Nykrýn
Created:
2012-08-22 12:29:48 UTC
Size:
1.84 KB
patch
obsolete
>diff --git a/tog-pegasus.spec b/tog-pegasus.spec >index 005e14c..ccb4432 100644 >--- a/tog-pegasus.spec >+++ b/tog-pegasus.spec >@@ -8,7 +8,7 @@ > > Name: tog-pegasus > Version: %{major_ver}.1 >-Release: 9%{?dist} >+Release: 10%{?dist} > Epoch: 2 > Summary: OpenPegasus WBEM Services for Linux > >@@ -345,6 +345,7 @@ fi > install -d -m 1750 -o root -g pegasus /var/run/tog-pegasus > restorecon /var/run/tog-pegasus > /sbin/ldconfig; >+%systemd_post tog-pegasus.service > if [ $1 -ge 1 ]; then > echo `date` >> /var/lib/Pegasus/log/install.log 2>&1 || :; > if [ $1 -eq 1 ] ; then >@@ -355,7 +356,6 @@ if [ $1 -ge 1 ]; then > /usr/share/Pegasus/scripts/genOpenPegasusSSLCerts > fi; > fi; >- /bin/systemctl daemon-reload >/dev/null 2>&1 || : > fi > if [ $1 -gt 1 ]; then > if [ -d /var/lib/Pegasus/prev_repository ]; then >@@ -370,21 +370,16 @@ fi > :; > > %preun >+%systemd_preun stop tog-pegasus.service > if [ $1 -eq 0 ]; then > # Package removal, not upgrade >- /bin/systemctl --no-reload disable tog-pegasus.service > /dev/null 2>&1 || : >- /bin/systemctl stop tog-pegasus.service > /dev/null 2>&1 || : > rm -rf /var/run/tog-pegasus > fi > :; > > %postun > /sbin/ldconfig >-/bin/systemctl daemon-reload >/dev/null 2>&1 || : >-if [ $1 -ge 1 ] ; then >- # Package upgrade, not uninstall >- /bin/systemctl try-restart tog-pegasus.service >/dev/null 2>&1 || : >-fi >+%systemd_postun_with_restart tog-pegasus.service > > %preun devel > if [ $1 -eq 0 ] ; then >@@ -439,6 +434,9 @@ fi > > > %changelog >+* Wed Aug 22 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 2:2.11.1-10 >+- Scriptlets replaced with new systemd macros (#850411) >+ > * Tue Jul 31 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.11.1-9 > - Fix security context of /var/run/tog-pegasus in post install scriptlet >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 850411
: 606239