[Rpm-maint] [rpm-software-management/rpm] fileattrs: Tighten pythondist path regex for metadata (RhBug:1618949) (#562)

Neal Gompa (ニール・ゴンパ) notifications at github.com
Tue Oct 2 13:21:25 UTC 2018


Conan-Kudo commented on this pull request.



> @@ -1,3 +1,3 @@
 %__pythondist_provides	%{_rpmconfigdir}/pythondistdeps.py --provides --majorver-provides
 %__pythondist_requires	%{_rpmconfigdir}/pythondistdeps.py --requires
-%__pythondist_path		/lib(64)?/python[[:digit:]]\\.[[:digit:]]/.*\\.(dist.*|egg.*)$
+%__pythondist_path		/lib(64)?/python[[:digit:]]\\.[[:digit:]]+/site-packages/[^/]*\\.(dist-info|egg-info|egg-link)$

Technically, on Debian systems it can be `dist-packages`, but they also change other aspects of the path so this doesn't match anyway...

-- 
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/562#discussion_r221947091
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181002/e1adf38e/attachment.html>


More information about the Rpm-maint mailing list