Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 613992 Details for
Bug 850168
Introduce new systemd-rpm macros in ipvsadm spec file
Home
New
Search
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.rh90 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.40 KB, created by
Václav Pavlín
on 2012-09-18 12:13:31 UTC
(
hide
)
Description:
Patch replaces scriptlets with new systemd macros
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2012-09-18 12:13:31 UTC
Size:
1.40 KB
patch
obsolete
>diff --git a/ipvsadm.spec b/ipvsadm.spec >index 3022a7c..48f60f1 100644 >--- a/ipvsadm.spec >+++ b/ipvsadm.spec >@@ -1,7 +1,7 @@ > Summary: Utility to administer the Linux Virtual Server > Name: ipvsadm > Version: 1.26 >-Release: 6%{?dist} >+Release: 7%{?dist} > License: GPLv2+ > Group: Applications/System > URL: http://www.linuxvirtualserver.org/software/ipvs.html >@@ -51,24 +51,13 @@ rm -rf %{buildroot} > > > %post >-if [ $1 -eq 1 ] ; then >- # Initial installation >- /bin/systemctl daemon-reload >/dev/null 2>&1 || : >-fi >+%systemd_post ipvsadm.service > > %preun >-if [ $1 -eq 0 ] ; then >- # Package removal, not upgrade >- /bin/systemctl --no-reload disable ipvsadm.service > /dev/null 2>&1 || : >- /bin/systemctl stop ipvsadm.service > /dev/null 2>&1 || : >-fi >+%systemd_preun ipvsadm.service > > %postun >-/bin/systemctl daemon-reload >/dev/null 2>&1 || : >-if [ $1 -ge 1 ] ; then >- # Package upgrade, not uninstall >- /bin/systemctl try-restart ipvsadm.service >/dev/null 2>&1 || : >-fi >+%systemd_postun_with_restart ipvsadm.service > > %triggerun -- ipvsadm < 1.26-4 > # Save the current service runlevel info >@@ -94,6 +83,9 @@ fi > > > %changelog >+* Tue Sep 18 2012 Václav PavlÃn <vpavlin@redhat.com> - 1.26-7 >+- Scriptlets replaced with new systemd macros (#850168) >+ > * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-6 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild >
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 850168
: 613992