Add sysusers.d config file to allow rpm to create users/groups automatically#80
Conversation
dist-git/dist-git.spec
Outdated
|
|
||
|
|
||
| %pre | ||
| %if 0%{?fedora} && 0%{?fedora} <= 41 |
There was a problem hiding this comment.
This is weird, I thought we got the code correctly for Mock:
https://github.com/rpm-software-management/mock/blob/main/mock/mock.spec#L10
We should special-case EPEL9, but are you sure about Fedora 40?
There was a problem hiding this comment.
Do we care about suse and mageia? I am not aware of any usage.
I can add the rhel part.
Yes, in this specific case Fedora 40 will likely work too (because we do not use u! which is F42+)
There was a problem hiding this comment.
Do we care about suse and mageia? I am not aware of any usage.
Me neither..
I can add the rhel part.
It would be nice to keep RHEL dist-git (server package) variant working for a while (if it costs almost no efforts); at least as an alternative to the Konflux lookaside (or dist-git?) implementation (I have no link/reference yet, but @mikem23 will discuss this with Fedora community in the following days)
|
Updated. |
dist-git/dist-git.spec
Outdated
| cp -a configs/httpd/dist-git/* %{buildroot}%{_sysconfdir}/httpd/conf.d/dist-git/ | ||
| cp -a configs/systemd/* %{buildroot}%{_unitdir}/ | ||
|
|
||
| %if 0%{?rhel} && 0%{?rhel} > 9 |
There was a problem hiding this comment.
oh, or drop this condition entirely; it is fine to install the conf file on EPEL9 and older ... they just have no effect there
…tically forwarded from downstream dist-git with added if-conditions Related: fedora-copr/copr#2789
forwarded from downstream dist-git with added if-conditions
Related: fedora-copr/copr#2789