On Fri, Mar 28, 2025 at 06:30:58PM +0000, Zbigniew Jędrzejewski-Szmek wrote:
> > 3)
> > I added the '%sysusers_create_compat' macro to my code:
> >   
> > https://src.fedoraproject.org/fork/mschorm/rpms/mariadb10.11/commits/sysusers
> > but it doesn't work correctly.

This macro needs to be called with a _source_ file as an argument.
Thus two changes need to be made:
- around line 882 the creation of the sysuser file in %prep need to be changed
  to having a static file as SourceXX,
- the macro should be called as '%sysusers_create_compat %{SOURCEXX}'.

(This is not very convienient. That's why we like the new approach
with not having to do any of that much more ;). )

Zbyszek
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to