diff --git a/mock/mock.spec b/mock/mock.spec index 3dcf93936..98f7d0892 100644 --- a/mock/mock.spec +++ b/mock/mock.spec @@ -16,7 +16,8 @@ License: GPL-2.0-or-later # cd mock # git reset --hard %%{name}-%%{version} # tito build --tgz -Source: %{name}-%{version}.tar.gz +Source0: %{name}-%{version}.tar.gz +Source1: https://raw.githubusercontent.com/rpm-software-management/mock/main/mock-core-configs/mock.conf URL: https://github.com/rpm-software-management/mock/ BuildArch: noarch Requires: tar @@ -223,7 +224,7 @@ sed -i 's/^_MOCK_NVR = None$/_MOCK_NVR = "%name-%version-%release"/' \ %pre filesystem echo "je tu nejaky skript nebo ne" -%sysusers_create_compat %mock_conf +%sysusers_create_compat %{SOURCE1} %check %if %{with lint}