[Rpm-maint] [rpm-software-management/rpm] Fix python(abi) requires generator, it picked files from almost good directories (#1272)
Miro Hrončok
notifications at github.com
Wed Jun 17 14:17:07 UTC 2020
The %__python_magic filter suddenly got suppressed by the magic filter.
Hence, the generator started to pick files like:
/opt/usr/lib/python3.X/...
Required python(abi). We don't need to filter the files by file magic, so we drop it.
Previously, it seems that the behavior was flaky.
The path filter was more important than the magic one somehow.
Now we can choose if the filters are applied as OR or AND.
However, we don't want either.
We actually want to mach any files in Python directories.
We *could* filter by file type (and executable bit) for provides,
but that would require us to split the attr files into two.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1272
-- Commit Summary --
* Fix python(abi) requires generator, it picked files from almost good directories
-- File Changes --
M fileattrs/python.attr (1)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1272.patch
https://github.com/rpm-software-management/rpm/pull/1272.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1272
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200617/9c6670d8/attachment.html>
More information about the Rpm-maint
mailing list