Package migration scripts to /usr/share/koji

In original location it was packages as docs. E.g. in containers
it is often installed with --nodocs.

Related: https://pagure.io/koji/issue/3762
This commit is contained in:
Tomas Kopecek 2023-06-12 13:32:09 +02:00
parent 2fb1a8521a
commit cc4763f7e7
3 changed files with 15 additions and 5 deletions

View file

@ -428,7 +428,7 @@ make DESTDIR=$RPM_BUILD_ROOT KOJI_MINIMAL=1 PYTHON=%{__python3} install
popd
%endif
%if 0%{py3_support} > 1
for D in kojihub builder plugins util www vm ; do
for D in kojihub builder plugins util www vm docs ; do
pushd $D
make DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3} install
popd
@ -498,7 +498,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%config(noreplace) /etc/koji.conf
%dir /etc/koji.conf.d
%doc docs Authors COPYING LGPL
%doc docs/source Authors COPYING LGPL
%{_datadir}/koji/*.sql
%if 0%{py2_support}
%{_bindir}/*