On Tue, Oct 22, 2019 at 03:32:22PM +0900, Mamoru TASAKA wrote: > Zbigniew Jędrzejewski-Szmek wrote on 2019/10/22 14:46: > >On Tue, Oct 22, 2019 at 05:18:06AM +0000, Globe Trotter via devel wrote: > >>Hi, > >>Bugzilla is reporting the following error for the slim package: > >>%systemd_postun scriptlets need service files as an argument > >>I looked online a bit and could not find immediately what I should do here. Could someone please point me to some suggestions/help? > >>I do not want the package to be archived. > > > >https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd > > > >You call e.g. '%systemd_postun apache-httpd.service'. Is anything unclear > >in that? > > > >Zbyszek > > Some old rpm specs were calling %systemd_postun macro with no argument (i.e. > "%systemd_postun" only in one line) and old rpm(?) accepted that. > Now new rpm(?) does not accept when calling %systemd_postun macro > with no argument. Oh, right. Yes, the macros now fail with an error if they are called without an argument. This is done by some macro magic in the macro definitions themselves. > (And anyway currently %systemd_postun macro does not do anything according to > https://github.com/systemd/systemd/blob/master/src/core/macros.systemd.in#L72 ) Yep, but please keep using them as specified in the guidelines, this will make future changes easier. Zbyszek _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx