On Sat, Aug 3, 2019, 3:49 PM Christoph Junghans, <jungh...@votca.org> wrote:
> Hi, > > related to https://src.fedoraproject.org/rpms/kim-api/pull-request/1 > I am getting a strange error: > > RPM build errors: > BUILDSTDERR: More than one file on a line: > /_kim-api-collections-management > BUILDSTDERR: More than one file on a line: > /kim-api-collections-management.bash > (see https://koji.fedoraproject.org/koji/taskinfo?taskID=36767148) > I remember I have seen this before for bash-completion files, but I > can unfortunately not remember what the solution was. > > the lines in the spec triggering this install are: > %files > ... > %{z_compdir}/_kim-api-collections-management > %{z_compdir}/kim-api-collections-management.bash > with: > %global z_compdir "%{_datadir}/zsh/site-functions" > which is given to CMake > %{cmake3} .... -DZSH_COMPLETION_COMPLETIONSDIR=%{z_compdir} .. > and picked up correctly: > -- Installing: > /builddir/build/BUILDROOT/kim-api-2.1.2-1.fc31.i386/usr/share/zsh/site-functions/_kim-api-collections-management > -- Installing: > /builddir/build/BUILDROOT/kim-api-2.1.2-1.fc31.i386/usr/share/zsh/site-functions/kim-api-collections-management.bash > nagement > > Any ideas? Remove the quotes on the %global and only use them for the shell invocations (or not at all because there won't be any spaces in the path anyway.) Christoph > > > > -- > Christoph Junghans > Web: http://www.compphys.de > _______________________________________________ > 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 >
_______________________________________________ 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