Bug 850265 - Introduce new systemd-rpm macros in pcsc-lite-ccid spec file
Introduce new systemd-rpm macros in pcsc-lite-ccid spec file
Product: Fedora
Classification: Fedora
Component: pcsc-lite-ccid (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bob Relyea
Fedora Extras Quality Assurance
Depends On:
Blocks: 850016
  Show dependency treegraph
Reported: 2012-08-21 09:58 EDT by Lukáš Nykrýn
Modified: 2013-02-28 15:52 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-02-28 15:52:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Lukáš Nykrýn 2012-08-21 09:58:15 EDT
Fedora 18 changes the way how to work with services in spec files. It introduces new macros - %systemd_post, %systemd_preun and %systemd_postun; which replace scriptlets from Fedora 17 and older (see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd, https://bugzilla.redhat.com/show_bug.cgi?id=850016).
Comment 1 Kalev Lember 2013-02-28 15:52:33 EST
I don't think these are suitable for pcsc-lite-ccid.

In the ccid package, we only provide a plugin that a daemon from another package uses, and we need to restart that daemon on package upgrades / uninstall. There don't appear to be suitable rpm macros for this.

Note You need to log in before you can comment on or make changes to this bug.