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 606854 Details for
Bug 850036
Introduce new systemd-rpm macros in atop 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]
Patch replaces scriptlets with new systemd macros
new-systemd-macros.patch (text/plain), 1.39 KB, created by
Václav Pavlín
on 2012-08-24 12:33:49 UTC
(
hide
)
Description:
Patch replaces scriptlets with new systemd macros
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2012-08-24 12:33:49 UTC
Size:
1.39 KB
patch
obsolete
>diff --git a/atop.spec b/atop.spec >index 4d1aeb9..8d44550 100644 >--- a/atop.spec >+++ b/atop.spec >@@ -1,7 +1,7 @@ > %define _hardened_build 1 > Name: atop > Version: 1.26 >-Release: 8%{?dist} >+Release: 9%{?dist} > Summary: An advanced interactive monitor to view the load on system and process level > > Group: Applications/System >@@ -72,24 +72,13 @@ install -m 0644 %{SOURCE7} . > rm -rf $RPM_BUILD_ROOT > > %post >-if [ $1 -eq 1 ] ; then >- # Initial installation >- /bin/systemctl daemon-reload >/dev/null 2>&1 || : >-fi >+%systemd_post atop.service > > %preun >-if [ $1 -eq 0 ] ; then >- # Package removal, not upgrade >- /bin/systemctl --no-reload disable atop.service > /dev/null 2>&1 || : >- /bin/systemctl stop atop.service > /dev/null 2>&1 || : >-fi >+%systemd_preun atop.service > > %postun >-/bin/systemctl daemon-reload >/dev/null 2>&1 || : >-if [ $1 -ge 1 ] ; then >- # Package upgrade, not uninstall >- /bin/systemctl try-restart atop.service >/dev/null 2>&1 || : >-fi >+%systemd_postun_with_restart atop.service > > %triggerun -- atop < 1.26-1 > # Save the current service runlevel info >@@ -119,6 +108,9 @@ fi > %{_unitdir}/atop.service > > %changelog >+* Fri Aug 24 2012 Václav PavlÃn <vpavlin@redhat.com> - 1.26-9 >+- Scriptlets replaced with new systemd macros (#850036) >+ > * Tue Jul 24 2012 Jon Ciesla <limburgher@gmail.com> - 1.26-8 > - Unit file fix, BZ 840942. >
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 850036
: 606854