#432 Introduce new systemd-rpm macros in 389-admin spec file
Closed: Fixed None Opened 7 years ago by rmeggins.

https://bugzilla.redhat.com/show_bug.cgi?id=850384 (Fedora)

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).

Added initial screened field value.

Could not use the systemd_post macro since %post is a lua scriptlet - so it was manually added.

[mareynol@localhost 389-admin]$ git push
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 498 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Emitting a message to the fedmsg bus.
To ssh://mreynolds@pkgs.fedoraproject.org/389-admin
9d47633..e1592f5 f18 -> f18

[mareynol@localhost 389-admin]$ git push
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 546 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Emitting a message to the fedmsg bus.
To ssh://mreynolds@pkgs.fedoraproject.org/389-admin
9d47633..de5621c master -> master

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 1.3.0

3 years ago

Login to comment on this ticket.

Metadata