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 610019 Details for
Bug 850093
Introduce new systemd-rpm macros in dlm 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.37 KB, created by
Václav Pavlín
on 2012-09-05 12:47:43 UTC
(
hide
)
Description:
Patch replaces scriptlets with new systemd macros
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2012-09-05 12:47:43 UTC
Size:
1.37 KB
patch
obsolete
>diff --git a/dlm.spec b/dlm.spec >index 140c11f..4bf359b 100644 >--- a/dlm.spec >+++ b/dlm.spec >@@ -1,6 +1,6 @@ > Name: dlm > Version: 3.99.5 >-Release: 6%{?dist} >+Release: 7%{?dist} > License: GPLv2 and GPLv2+ and LGPLv2+ > # For a breakdown of the licensing, see README.license > Group: System Environment/Kernel >@@ -53,21 +53,13 @@ install -Dm 0644 init/dlm.service %{buildroot}%{_unitdir}/dlm.service > install -Dm 0644 init/dlm.sysconfig %{buildroot}/etc/sysconfig/dlm > > %post >-if [ $1 -eq 1 ] ; then >- /bin/systemctl daemon-reload >/dev/null 2>&1 || : >-fi >+%systemd_post dlm.service > > %preun >-if [ $1 -eq 0 ] ; then >- /bin/systemctl --no-reload disable dlm.service > /dev/null 2>&1 || : >- /bin/systemctl stop dlm.service > /dev/null 2>&1 || : >-fi >+%systemd_preun dlm.service > > %postun >-/bin/systemctl daemon-reload >/dev/null 2>&1 || : >-if [ $1 -ge 1 ] ; then >- /bin/systemctl try-restart dlm.service >/dev/null 2>&1 || : >-fi >+%systemd_postun_with_restart dlm.service > > %files > %defattr(-,root,root,-) >@@ -116,6 +108,9 @@ developing applications that use %{name}. > %{_libdir}/pkgconfig/*.pc > > %changelog >+* Wed Sep 05 2012 Václav PavlÃn <vpavlin@redhat.com> - 3.99.5-7 >+- Scriptlets replaced with new systemd macros (#850093) >+ > * Tue Aug 28 2012 David Teigland <teigland@redhat.com> - 3.99.5-6 > - only fedora requires kernel-modules-extra >
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 850093
: 610019