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 607422 Details for
Bug 850048
Introduce new systemd-rpm macros in bitlbee 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 systemd macros with condition for F18
new-systemd-macros.patch (text/plain), 1.80 KB, created by
Václav Pavlín
on 2012-08-28 07:06:15 UTC
(
hide
)
Description:
Patch adds systemd macros with condition for F18
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2012-08-28 07:06:15 UTC
Size:
1.80 KB
patch
obsolete
>diff --git a/bitlbee.spec b/bitlbee.spec >index f299eb4..750350b 100644 >--- a/bitlbee.spec >+++ b/bitlbee.spec >@@ -1,7 +1,7 @@ > Summary: IRC to other chat networks gateway > Name: bitlbee > Version: 3.0.5 >-Release: 3%{?dist} >+Release: 4%{?dist} > License: GPLv2+ and MIT > Group: System Environment/Daemons > URL: http://www.bitlbee.org/ >@@ -135,6 +135,10 @@ getent passwd %{name} > /dev/null || %{_sbindir}/useradd -r -g %{name} -d %{_loc > exit 0 > > %post >+%if 0%{?fedora} >= 18 >+ %systemd_post bitlbee.service >+%endif >+ > %if 0%{?fedora} >= 15 > if [ $1 -eq 1 ]; then > # Package install, not upgrade >@@ -143,20 +147,28 @@ fi > %endif > > %preun >-%if 0%{?fedora} < 15 >-if [ $1 -eq 0 ]; then >- /sbin/service xinetd condrestart > /dev/null 2>&1 >-fi >+%if 0%{?fedora} >= 18 >+ %systemd_preun bitlbee.service > %else >-# Work around RHBZ #655116 >-if [ $1 -eq 0 ] ; then >+ %if 0%{?fedora} < 15 >+ if [ $1 -eq 0 ]; then >+ /sbin/service xinetd condrestart > /dev/null 2>&1 >+ fi >+ %else >+ # Work around RHBZ #655116 >+ if [ $1 -eq 0 ] ; then > # Package removal, not upgrade > /bin/systemctl disable bitlbee.service > /dev/null 2>&1 || : > /bin/systemctl stop bitlbee.service > /dev/null 2>&1 || : >-fi >+ fi >+ %endif > %endif > > %postun >+%if 0%{?fedora} >= 18 >+ %systemd_postun_with_restart bitlbee.service >+%endif >+ > %if 0%{?fedora} >= 15 > /bin/systemctl daemon-reload >/dev/null 2>&1 || : > if [ $1 -ge 1 ] ; then >@@ -198,6 +210,9 @@ rm -rf $RPM_BUILD_ROOT > %endif > > %changelog >+* Tue Aug 28 2012 Václav PavlÃn <vpavlin@redhat.com> - 3.0.5-4 >+- New systemd macros added with condition for F18 (#850048) >+ > * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.5-3 > - 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 850048
: 607422