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 606246 Details for
Bug 850022
Introduce new systemd-rpm macros in aiccu 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.25 KB, created by
Václav Pavlín
on 2012-08-22 12:47:01 UTC
(
hide
)
Description:
Patch replaces scriptlets with new systemd macros
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2012-08-22 12:47:01 UTC
Size:
1.25 KB
patch
obsolete
>diff --git a/aiccu.spec b/aiccu.spec >index 650da8c..58800a8 100644 >--- a/aiccu.spec >+++ b/aiccu.spec >@@ -9,7 +9,7 @@ > Summary: SixXS Automatic IPv6 Connectivity Client Utility > Name: aiccu > Version: 2007.01.15 >-Release: 15%{?dist} >+Release: 16%{?dist} > License: BSD > Group: System Environment/Daemons > URL: http://www.sixxs.net/tools/aiccu/ >@@ -58,20 +58,13 @@ mkdir -p $RPM_BUILD_ROOT%{_unitdir} > install -p %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/ > > %post >-if [ "$1" = "1" ]; then >- /bin/systemctl --daemon-reload >/dev/null 2>&1 || : >-fi >+%systemd_post aiccu.service > > %preun >-if [ "$1" = "0" ]; then >- /bin/systemctl disable aiccu.service >/dev/null 2>&1 || : >- /bin/systemctl stop aiccu.service >/dev/null 2>&1 || : >-fi >+%systemd_preun aiccu.service > > %postun >-if [ "$1" -ge 1 ]; then >- /bin/systemctl try-restart aiccu.service >/dev/null 2>&1 || : >-fi >+%systemd_postun_with_restart aiccu.service > > %clean > make clean >@@ -87,6 +80,9 @@ make clean > %{_unitdir}/aiccu.service > > %changelog >+* Wed Aug 22 2012 Václav PavlÃn <vpavlin@redhat.com> - 2007.01.15-16 >+- Scriptlets replaced with new systemd macros (#850022) >+ > * Mon Aug 6 2012 Conrad Meyer <konrad@tylerc.org> - 2007.01.15-15 > - Nix systemd restart as per discussion on #844607 >
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 850022
:
606246
|
607211