ignatenkobrain 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)$

so to be fully correct, I would change `[^/]*` → `[^/]+` because this would 
match `/usr/lib64/python3.7/site-packages/.dist-info`. Not that it's good idea 
to have such file, but whatever ;)

-- 
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_r221996970
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to