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 846188 Details for
Bug 857376
Introduce new systemd-rpm macros in PackageKit 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]
Replace scriptlets, add packagekit.service, fix paths
0001-Replace-direct-systemctl-call-with-systemd-rpm-macro.patch (text/plain), 2.16 KB, created by
Václav Pavlín
on 2014-01-06 16:49:16 UTC
(
hide
)
Description:
Replace scriptlets, add packagekit.service, fix paths
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2014-01-06 16:49:16 UTC
Size:
2.16 KB
patch
obsolete
>From c622bb6251cc04ca51e738cb15efd76ee7669768 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= <vpavlin@redhat.com> >Date: Mon, 6 Jan 2014 17:46:10 +0100 >Subject: [PATCH] Replace direct systemctl call with systemd-rpm macros > (#857376) > >--- > PackageKit.spec | 19 +++++++++++++++---- > 1 file changed, 15 insertions(+), 4 deletions(-) > >diff --git a/PackageKit.spec b/PackageKit.spec >index c885206..d072b80 100644 >--- a/PackageKit.spec >+++ b/PackageKit.spec >@@ -6,7 +6,7 @@ > Summary: Package management service > Name: PackageKit > Version: 0.8.15 >-Release: 3%{?dist} >+Release: 4%{?dist} > License: GPLv2+ and LGPLv2+ > URL: http://www.packagekit.org > Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz >@@ -231,10 +231,16 @@ popd > /dev/null > %find_lang %name > > %post >-systemctl enable packagekit-offline-update.service &> /dev/null || : >+%systemd_post packagekit-offline-update.service packagekit.service > > %post glib -p /sbin/ldconfig > >+%preun >+%systemd_preun packagekit-offline-update.service packagekit.service >+ >+%postun >+%systemd_postun_with_restart packagekit-offline-update.service packagekit.service >+ > %postun glib -p /sbin/ldconfig > > %files -f %{name}.lang >@@ -284,8 +290,8 @@ systemctl enable packagekit-offline-update.service &> /dev/null || : > %{_libdir}/packagekit-plugins/*.so > %{_libdir}/girepository-1.0/PackageKitPlugin-1.0.typelib > %{_datadir}/dbus-1/interfaces/*.xml >-/usr/lib/systemd/system/packagekit-offline-update.service >-/usr/lib/systemd/system/packagekit.service >+%{_unitdir}/packagekit-offline-update.service >+%{_unitdir}/packagekit.service > %{_libexecdir}/pk-*offline-update > %if 0%{?rhel} == 0 > %{_libdir}/packagekit-backend/libpk_backend_hawkey.so >@@ -334,6 +340,11 @@ systemctl enable packagekit-offline-update.service &> /dev/null || : > %{_datadir}/gtk-doc/html/PackageKit > > %changelog >+* Mon Jan 06 2014 Václav PavlÃn <vpavlin@redhat.com> - 0.8.15-4 >+- Replace systemctl call with systemd-rpm macros and missing >+ macros (#857376) >+- Use macros instead of hardcoded paths >+ > * Fri Dec 20 2013 Richard Hughes <rhughes@redhat.com> - 0.8.15-3 > - Remove the internal requires of PackageKit-backend. > >-- >1.8.4.2 >
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 857376
:
836283
|
836288
|
836306
| 846188