[Rpm-maint] [rpm-software-management/rpm] brp-remove-la-files won't remove symlink files (Issue #3304)

2024-09-13 Thread fundawang
`scripts/brp-remove-la-files` now only removes files which are declared as libtool library files. But in `libpng`, it installed two files: `libpng16.la` and `libpng.la`, and `libpng.la` is a symlink towards `libpng16.la`. Thus, `libpng.la` won't get removed due to it is not match against current

Re: [Rpm-maint] [rpm-software-management/rpm] brp-remove-la-files: Remove symlinks, too (PR #3311)

2024-09-18 Thread fundawang
what if just ``` find "$RPM_BUILD_ROOT" -type f,l -name '*.la' ``` -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/3311#issuecomment-2359715616 You are receiving this because you are subscribed to this thread. Message ID:

Re: [Rpm-maint] [rpm-software-management/rpm] brp-remove-la-files: Remove symlinks, too (PR #3311)

2024-09-24 Thread fundawang
> Yes, but does it process all links before all regular files? I guess no, it probably means (**file* or *link*), all the two types are listed together. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/3311#issuecomment-2371681035 You are

Re: [Rpm-maint] [rpm-software-management/rpm] brp-remove-la-files won't remove symlink files (Issue #3304)

2024-09-18 Thread fundawang
> Can you please test if the PR linked above fixes your issue? Thanks! Yes, it works as expected. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3304#issuecomment-2357694323 You are receiving this because you are subscribed to this thr

Re: [Rpm-maint] [rpm-software-management/rpm] brp-remove-la-files: Remove symlinks, too (PR #3311)

2024-09-19 Thread fundawang
> > find "$RPM_BUILD_ROOT" -type f,l -name '*.la' > > That's pretty much how this script started its life as, but it was discovered > to remove non-libtool files too, see > [432a911](https://github.com/rpm-software-management/rpm/commit/432a91151a1f6d19d25e85b0f1af0a0ab6addc46) > > Unfortunatel

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Have file attributes for %license and %doc (#713)

2025-02-08 Thread fundawang
There is another use case for mageia. They are shipping META.json/META.yml for perl-* packages in %{_docdir}, then scanning it for dependencies. META.json/META.yml are of no use for the package itself, the only use is to generating dependencies. Currently, magiea is commenting out these lines: