Bug 36157

Summary: the files in the pkg could be symlinks
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: altlinux-repolist-utilsAssignee: viy <viy>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P3 CC: aas, viy
Version: unstable   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2019-02-22 18:38:59 MSK
altlinux-repolist-utils-0.003-alt1.noarch


The files in the package could be symlinks (they are the same):

$ rpm -qf "$(which altlinux-repolist-src-files-to-bin-files)" -lv
-rwxr-xr-x    1 root    root                     2362 апр 25  2018 /usr/bin/altlinux-repolist-src-files-to-bin-files
-rwxr-xr-x    1 root    root                     2362 апр 25  2018 /usr/bin/altlinux-repolist-src-files-to-bin-names
-rwxr-xr-x    1 root    root                     2362 апр 25  2018 /usr/bin/altlinux-repolist-src-files-to-src-names
-rwxr-xr-x    1 root    root                     2362 апр 25  2018 /usr/bin/altlinux-repolist-src-names-to-bin-files
-rwxr-xr-x    1 root    root                     2362 апр 25  2018 /usr/bin/altlinux-repolist-src-names-to-bin-names
-rwxr-xr-x    1 root    root                     2362 апр 25  2018 /usr/bin/altlinux-repolist-src-names-to-src-files
drwxr-xr-x    2 root    root                        0 апр 25  2018 /usr/share/doc/altlinux-repolist-utils-0.003
-rw-r--r--    1 root    root                     2559 апр 25  2018 /usr/share/doc/altlinux-repolist-utils-0.003/README
-rw-r--r--    1 root    root                     3432 апр 25  2018 /usr/share/perl5/ALTLinux/RepoList.pm
$ 

but "install" is used in the spec-file, therefore they are not symlinks (https://unix.stackexchange.com/q/224589/4319 ).
Comment 1 Repository Robot 2019-02-22 18:51:07 MSK
altlinux-repolist-utils-0.004-alt1 -> sisyphus:

Fri Feb 22 2019 Igor Vlasenko <viy@altlinux.ru> 0.004-alt1
- use symlinks (closes: #36157)
Comment 2 Ivan Zakharyaschev 2019-02-22 18:59:38 MSK
Thanks!
Comment 3 Antonov Alexander 2019-02-25 17:21:31 MSK
rpm -qf "$(which altlinux-repolist-src-files-to-bin-files)" -lv
lrwxrwxrwx    1 root    root               40 фев 22 18:44 /usr/bin/altlinux-repolist-src-files-to-bin-files -> altlinux-repolist-src-names-to-bin-names
lrwxrwxrwx    1 root    root               40 фев 22 18:44 /usr/bin/altlinux-repolist-src-files-to-bin-names -> altlinux-repolist-src-names-to-bin-names
lrwxrwxrwx    1 root    root               40 фев 22 18:44 /usr/bin/altlinux-repolist-src-files-to-src-names -> altlinux-repolist-src-names-to-bin-names
lrwxrwxrwx    1 root    root               40 фев 22 18:44 /usr/bin/altlinux-repolist-src-names-to-bin-files -> altlinux-repolist-src-names-to-bin-names
-rwxr-xr-x    1 root    root             2362 фев 22 18:44 /usr/bin/altlinux-repolist-src-names-to-bin-names
lrwxrwxrwx    1 root    root               40 фев 22 18:44 /usr/bin/altlinux-repolist-src-names-to-src-files -> altlinux-repolist-src-names-to-bin-names
drwxr-xr-x    2 root    root                0 фев 22 20:07 /usr/share/doc/altlinux-repolist-utils-0.004
-rw-r--r--    1 root    root             2559 фев 22 18:44 /usr/share/doc/altlinux-repolist-utils-0.004/README
-rw-r--r--    1 root    root             3432 фев 22 20:07 /usr/share/perl5/ALTLinux/RepoList.pm

repolist-src-names-to-bin-names нет симлинка
Comment 4 Antonov Alexander 2019-02-25 17:22:54 MSK
Блин извиняюсь, он там не нужен. Баг можно закрыть.
Comment 5 Antonov Alexander 2019-02-25 17:25:10 MSK
Спасибо.