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 662969 Details for
Bug 850322
Introduce new systemd-rpm macros in speech-dispatcher 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
macro.patch (text/plain), 1.54 KB, created by
Lukáš Nykrýn
on 2012-12-13 13:42:29 UTC
(
hide
)
Description:
Patch replaces scriptlets with new systemd macros
Filename:
MIME Type:
Creator:
Lukáš Nykrýn
Created:
2012-12-13 13:42:29 UTC
Size:
1.54 KB
patch
obsolete
>diff --git a/speech-dispatcher.spec b/speech-dispatcher.spec >index 808eb9d..9f134e9 100644 >--- a/speech-dispatcher.spec >+++ b/speech-dispatcher.spec >@@ -3,7 +3,7 @@ > > Name: speech-dispatcher > Version: 0.7.1 >-Release: 9%{?dist} >+Release: 10%{?dist} > Summary: To provide a high-level device independent layer for speech synthesis > Group: System Environment/Libraries > >@@ -127,26 +127,14 @@ rm -rf %{buildroot} > > %post > /sbin/ldconfig >-if [ $1 -eq 1 ] ; then >- # Initial installation >- /bin/systemctl daemon-reload >/dev/null 2>&1 || : >-fi >+%systemd_post speech-dispatcherd.service > > %postun > /sbin/ldconfig >- >-/bin/systemctl daemon-reload >/dev/null 2>&1 || : >-if [ $1 -ge 1 ] ; then >- # Package upgrade, not uninstall >- /bin/systemctl try-restart speech-dispatcherd.service >/dev/null 2>&1 || : >-fi >+%systemd_postun_with_restart speech-dispatcherd.service > > %preun >-if [ $1 -eq 0 ] ; then >- # Package removal, not upgrade >- /bin/systemctl --no-reload disable speech-dispatcherd.service > /dev/null 2>&1 || : >- /bin/systemctl stop speech-dispatcherd.service > /dev/null 2>&1 || : >-fi >+%systemd_preun speech-dispatcherd.service > > %triggerun -- speech-dispatcherd < 0.7.1-6 > # Save the current service runlevel info >@@ -209,6 +197,9 @@ fi > %{python_sitearch}/speechd* > > %changelog >+* Thu Dec 13 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 0.7.1-10 >+- Scriptlets replaced with new systemd macros (#850322) >+ > * Thu Nov 29 2012 Bastien Nocera <bnocera@redhat.com> 0.7.1-9 > - Move RPM hacks to source patches >
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 850322
: 662969