Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detecting duplicated directory/file entry #613

Open
junaruga opened this issue Mar 19, 2021 · 0 comments
Open

Detecting duplicated directory/file entry #613

junaruga opened this issue Mar 19, 2021 · 0 comments

Comments

@junaruga
Copy link

I found the following duplicated directory entry %{ruby_libdir}/io for the %files sections in the Fedora ruby.spec` file - ruby-3.0.0-146.fc35.src.rpm.

Here is the used rpmlint version.

$ rpm -q rpmlint
rpmlint-1.11-15.fc33.noarch
%files libs
...
%{ruby_libdir}/io
...
%files -n rubygem-io-console
%{ruby_libdir}/io
...

I think rpmlint does not detect the issue. I found the issue by the following commands. So, it is great if the rpmlint detects the issue. What do you think?

$ rpm2cpio ruby-libs-3.0.0-146.fc35.x86_64.rpm | cpio -idmv

$ rpm2cpio rubygem-io-console-0.5.6-146.fc35.x86_64.rpm | cpio -idmv
...
cpio: ./usr/share/ruby/io not created: newer or same age version exists
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant