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 612835 Details for
Bug 850397
Introduce new systemd-rpm macros in freeipa 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.68 KB, created by
Václav Pavlín
on 2012-09-14 12:27:02 UTC
(
hide
)
Description:
Patch replaces scriptlets with new systemd macros
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2012-09-14 12:27:02 UTC
Size:
1.68 KB
patch
obsolete
>diff --git a/freeipa.spec b/freeipa.spec >index dc5d453..f83c39d 100644 >--- a/freeipa.spec >+++ b/freeipa.spec >@@ -15,7 +15,7 @@ distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} > > Name: freeipa > Version: 3.0.0 >-Release: 0.7%{?dist} >+Release: 0.8%{?dist} > Summary: The Identity, Policy and Audit system > > Group: System Environment/Base >@@ -402,7 +402,7 @@ rm -rf %{buildroot} > %if ! %{ONLY_CLIENT} > %post server > # Use systemd scheme, update systemd as service units have changed >- /bin/systemctl --system daemon-reload 2>&1 || : >+%systemd_post ipa.service > if [ $1 -gt 1 ] ; then > # When upgrade is performed from SysV to systemd, ipa.service will be inactive > # due to https://bugzilla.redhat.com/show_bug.cgi?id=752846 >@@ -419,18 +419,10 @@ fi > /usr/sbin/ipa-ldap-updater --upgrade >/dev/null || : > > %preun server >-if [ $1 = 0 ]; then >-# Use systemd scheme >- /bin/systemctl --quiet stop ipa.service || : >- /bin/systemctl --quiet disable ipa.service || : >-fi >+%systemd_preun ipa.service > > %postun server >-if [ "$1" -ge "1" ]; then >-# Use systemd scheme >- /bin/systemctl --quiet is-active ipa.service >/dev/null && \ >- /bin/systemctl try-restart ipa.service >/dev/null 2>&1 || : >-fi >+%systemd_postun_with_restart ipa.service > > %pre server-selinux > if [ -s /etc/selinux/config ]; then >@@ -663,6 +655,9 @@ fi > %ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ca.crt > > %changelog >+* Fri Sep 14 2012 Václav PavlÃn <vpavlin@redhat.com> - 3.0.0-0.8 >+- Scriptlets replaced with new systemd macros (#850397) >+ > * Wed Sep 5 2012 Rob Crittenden <rcritten@redhat.com> - 3.0.0-0.7 > - Rebuild against samba4 beta8 >
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 850397
: 612835