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 613661 Details for
Bug 850135
Introduce new systemd-rpm macros in gpsd 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.12 KB, created by
Václav Pavlín
on 2012-09-17 13:41:08 UTC
(
hide
)
Description:
Patch replaces scriptlets with new systemd macros
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2012-09-17 13:41:08 UTC
Size:
1.12 KB
patch
obsolete
>diff --git a/gpsd.spec b/gpsd.spec >index 241f014..e973c62 100644 >--- a/gpsd.spec >+++ b/gpsd.spec >@@ -1,6 +1,6 @@ > Name: gpsd > Version: 3.5 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: Service daemon for mediating access to a GPS > > Group: System Environment/Daemons >@@ -146,19 +146,16 @@ rm -rf %{buildroot} > > > %post >-/bin/systemctl daemon-reload &> /dev/null >-if [ -f %{_initrddir}/%{name} ] && /sbin/chkconfig --level 3 %{name}; then >- /bin/systemctl enable %{name}.service &> /dev/null >-fi >+%systemd_post %{name}.service > : > > %preun >-if [ $1 = 0 ]; then >- /bin/systemctl --no-reload disable %{name}.service &> /dev/null >- /bin/systemctl stop %{name}.service &> /dev/null >-fi >+%systemd_preun %{name}.service > : > >+%postun >+%systemd_postun_with_restart %{name}.service >+ > %post libs -p /sbin/ldconfig > > >@@ -232,6 +229,9 @@ fi > > > %changelog >+* Mon Sep 17 2012 Václav PavlÃn <vpavlin@redhat.com> - 3.5-3 >+- Scriptlets replaced with new systemd macros (#850135) >+ > * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5-2 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild >
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 850135
: 613661