Bug 43825 - tex.prov.files: неверно обрабатываются файлы, начинающиеся с '-'
Summary: tex.prov.files: неверно обрабатываются файлы, начинающиеся с '-'
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build-tex (show other bugs)
Version: unstable
Hardware: all Linux
: P5 minor
Assignee: viy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-19 21:48 MSK by Ivan A. Melnikov
Modified: 2022-09-29 17:56 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan A. Melnikov 2022-09-19 21:48:05 MSK
При сборке пакета в локальной системе (не в хешере) увидел такое вот:

find-provides: running scripts (alternatives,debuginfo,gir,golang,haskell,lib,lua,maven,osgi-fc,pam,perl,pkgconfig,python,python3,qml,shell,tcl,tex,typelib,vala)
basename: invalid option -- '5'
Try 'basename --help' for more information.
basename: invalid option -- '5'
Try 'basename --help' for more information.
basename: invalid option -- '5'
Try 'basename --help' for more information.
basename: invalid option -- '5'
Try 'basename --help' for more information.
basename: invalid option -- '5'
Try 'basename --help' for more information.
basename: invalid option -- '5'
Try 'basename --help' for more information.
basename: invalid option -- '5'
Try 'basename --help' for more information.
basename: invalid option -- '5'
Try 'basename --help' for more information.
basename: invalid option -- '5'
Try 'basename --help' for more information.
basename: invalid option -- '5'
Try 'basename --help' for more information.
/usr/lib/rpm/tex.prov.files: line 43: test: too many arguments
/usr/lib/rpm/tex.prov.files: line 44: test: too many arguments
Finding Requires (using /usr/lib/rpm/find-requires)

Причина, скорее всего, в том, что в собираемом пакете есть файл с именем '-5-5V to 0-10V Converter.smpr'

Скорее всего это мелочь, мне она не мешает, но решил всё-таки повесить.
Comment 1 Repository Robot 2022-09-29 17:56:09 MSK
rpm-build-tex-0.4.4-alt1 -> sisyphus:

 Thu Sep 29 2022 Igor Vlasenko <viy@altlinux> 0.4.4-alt1
 - proper basename calls (closes: #43825)