> There's a way around this: change the %sysusers_create_package stuff to 
use "%pre -f <scriptfile>".

Sorry for opening an old thread, but has anyone tried to do what Panu suggested?
Seems like we could:

%build
/usr/lib/rpm/sysusers.generate-pre.sh config-file > pre.file
%pre -f pre.file

The side benefit is that this would fail the build in case of any problem.
https://github.com/rpm-software-management/mock/pull/1367
Pavel
-- 
_______________________________________________
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