I had no idea what this meant (sorry) but I tried the following after reading
the document:
%systemd_postun %{name}.service
and it appears to compile and install without incident.
If there is any interest, I can package this for Fedora since I think that it
is a fairly simple and useful package.
Thanks!
On Monday, December 30, 2019, 11:08:55 AM CST, Tom Hughes <[email protected]>
wrote:
On 30/12/2019 16:42, Globe Trotter via devel wrote:
> I use slim and have realized that it is retired/no longer supoorted from
> F31.
>
> So, I got the src.rpm from teh F30 stable and was trying to rebuild it
> at least to see what the issues were.
>
> However, the rpmbuild
>
> $ rpmbuild -bb slim.spec
> error: This macro requires some arguments
>
> I have never had experience with passing such macros. I looked into the
> spec file but can not figure out how to do this. Here is the spec file:
>
> UNTITLED - CentOS Pastebin Service <https://paste.centos.org/view/cc3e4e8a>
>
>
>
>
> UNTITLED - CentOS Pastebin Service
>
> <https://paste.centos.org/view/cc3e4e8a>
> Any suggestions?
It's the %systemd_postun call causing it - it should list the services
as arguments:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd
Tom
--
Tom Hughes ([email protected])
http://compton.nu/
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]