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 613633 Details for
Bug 850130
Introduce new systemd-rpm macros in glusterfs 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 adds systemctl preset call with condition for F18 and RHEL7
new-systemd-macros.patch (text/plain), 1.40 KB, created by
Václav Pavlín
on 2012-09-17 11:27:19 UTC
(
hide
)
Description:
Patch adds systemctl preset call with condition for F18 and RHEL7
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2012-09-17 11:27:19 UTC
Size:
1.40 KB
patch
obsolete
>diff --git a/glusterfs.spec b/glusterfs.spec >index 899f504..68a9f62 100644 >--- a/glusterfs.spec >+++ b/glusterfs.spec >@@ -28,11 +28,15 @@ > %if ( 0%{?fedora} && 0%{?fedora} > 16 ) || ( 0%{?rhel} && 0%{?rhel} > 6 ) > %global _with_systemd true > %endif >+%if ( 0%{?fedora} && 0%{?fedora} > 17 ) || ( 0%{?rhel} && 0%{?rhel} > 6 ) >+%global _with_presets true >+%endif >+ > > Summary: Cluster File System > Name: glusterfs > Version: 3.3.0 >-Release: 8%{?dist} >+Release: 9%{?dist} > License: GPLv3+ and (GPLv2 or LGPLv3+) > Group: System Environment/Base > Vendor: Red Hat >@@ -58,7 +62,11 @@ BuildRequires: systemd-units > Requires(post): systemd-units > Requires(preun): systemd-units > Requires(postun): systemd-units >+%if 0%{?_with_presets:1} >+%define _init_enable() /bin/systemctl preset %1.service ; >+%else > %define _init_enable() /bin/systemctl enable %1.service ; >+%endif > %define _init_disable() /bin/systemctl disable %1.service ; > %define _init_restart() /bin/systemctl try-restart %1.service ; > %define _init_stop() /bin/systemctl stop %1.service ; >@@ -904,6 +912,9 @@ fi > > > %changelog >+* Mon Sep 17 2012 Václav PavlÃn <vpavlin@redhat.com> - 3.3.0-9 >+- Scriptlets replaced with new systemd macros (#850130) >+ > * Wed Sep 13 2012 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.3.0-8 > - fix for glusterfs SEGV, BZ 856704, revised >
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 850130
:
613631
| 613633