| Summary: | incorrect %post | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael S. <misc> | ||||||
| Component: | usbmuxd | Assignee: | Peter Robinson <pbrobinson> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 20 | CC: | bnocera, cfergeau, pbrobinson | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-08-31 14:12:18 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 790070 [details]
add explicit BuildRequires on systemd for macros
*** This bug has been marked as a duplicate of bug 996231 *** |
Created attachment 790069 [details] fix %postun typo On fedora 20 : [fedora@vm1 ~]$ rpm -q --scripts usbmuxd preinstall scriptlet (using /bin/sh): getent group usbmuxd >/dev/null || groupadd -r usbmuxd -g 113 getent passwd usbmuxd >/dev/null || \ useradd -r -g usbmuxd -d / -s /sbin/nologin \ -c "usbmuxd user" -u 113 usbmuxd exit 0 postinstall scriptlet (using /bin/sh): /sbin/ldconfig %systemd_post usbmuxd.service preuninstall scriptlet (using /bin/sh): %systemd_preun usbmuxd.service %postun/ sbin/ldconfig %systemd_postun_with_restart usbmuxd.service there is 1 typo in %postun and there is unexpanded macro, due to missing systemd. here is 2 patch to fix this.