On 07/06/2017 01:53 PM, Björn 'besser82' Esser wrote: > Am 06.07.2017 um 13:09 schrieb Jos de Kloe: >> Hi Björn, >> >> On 07/06/2017 12:22 PM, Björn 'besser82' Esser wrote: >>> Am 06.07.2017 um 12:03 schrieb Jos de Kloe: >> ... >>> It looks to me like you are using the old and discouraged / deprecated >>> `%filter_setup` macro stuff, valid for EPEL <= 6, only… >>> >>> You should upgrade the way filtering is used: >>> >>> %if 0%{?fedora} || 0%{?rhel} >= 7 >>> # Do not check any files in docdir for requires >>> %global __requires_exclude_from ^%{_docdir}/.*$ >>> >>> # Do not check .so files in the python2_sitearch directory >>> # or any files in the application's directory for provides >>> %global __provides_exclude_from >>> ^(%{python2_sitearch}/.*\\.so|%{_datadir}/myapp/.*)$ >>> %else >>> {previous %filter_setup macro for EPEL <= 6 stuff goes here} >>> %endif >>> >>> If you need help to get that setup correctly, feel free to ask me. >>> >>> Cheers, >>> Björn >> thanks a lot for your quick response and solution ! >> >> Still, the explicit requires for proj-nad and proj-epsg seem to get >> lost. Is this related or something different? >> >> More general: what tools/methods can be used to debug this? >> >> Best regards, >> >> Jos > > Hi Jos, > > you're welcome! =) > > Yes, that is because they have not been explicitly specified in the two > sub-packages… Each sub-package has it's very own Requires / Provides > and doesn't inherit them from the main package. > > I've moved all stuff into the right place, so it should be fine now. > > Well I don't know about any automatic tools for that, but generally just > looking into the spec file, checking where those are specified is the > way to go. > > Cheers, > Björn Again thanks for your help. I clearly overlooked the 'no-inheritance' part. This for sure is not mentioned clearly in https://fedoraproject.org/wiki/Packaging:Guidelines#Explicit_Requires Anyway, one thing still puzzles me. You put the proj-nad and proj-epsg requires in both sub-packages now, and clearly this works well. However, the BuildRequires on proj-nad and proj-epsg are still in the generic section, so does this mean they are inherited by the sub-packages but Requires are not? This seems rather inconsistent to me. Cheers, Jos _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx