Bug 850198

Summary: Introduce new systemd-rpm macros in mailman spec file
Product: [Fedora] Fedora Reporter: Lukáš Nykrýn <lnykryn>
Component: mailmanAssignee: Jan Kaluža <jkaluza>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 18CC: jkaluza
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-12 00:40:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 850016    
Attachments:
Description Flags
Patch replaces scriptlets with new systemd macros none

Description Lukáš Nykrýn 2012-08-21 13:48:36 UTC
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 Václav Pavlín 2012-10-24 12:53:34 UTC
Created attachment 632763 [details]
Patch replaces scriptlets with new systemd macros

You had service ... stop and systemctl stop call in preun part and those two commands do basically the same thing - stopping the service. So I replaced it with %systemd_preun macro which calls only systemctl stop. If the service call was there for any special purpose, let me know and I will correct the patch.

Comment 2 Fedora Update System 2012-10-31 10:14:59 UTC
mailman-2.1.15-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/mailman-2.1.15-5.fc18

Comment 3 Fedora Update System 2012-10-31 18:08:03 UTC
Package mailman-2.1.15-5.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mailman-2.1.15-5.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17340/mailman-2.1.15-5.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-01-12 00:40:10 UTC
mailman-2.1.15-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.