Re: Catch 22 in epel7 for %selinux_requires

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 5, 2019 at 3:36 PM Dridi Boukelmoune
<dridi.boukelmoune@xxxxxxxxx> wrote:
>
> > I think I found the solution here:
> >
> > https://fedoraproject.org/wiki/PackagingDrafts/SELinux_Independent_Policy
> >
> >     BuildRequires: selinux-policy
> >     %{?selinux_requires}
> >
> > This way its expansion can be deferred at rebuild time, I suppose. But
> > don't we miss the other BuildRequires tags in this case?
>
> We do:
>
>     make: /usr/share/selinux/devel/Makefile: No such file or directory
>
> A different catch 22 now :(

I ended up with this, and it seems to cover all my needs:

    BuildRequires: selinux-policy
    BuildRequires: /usr/share/selinux/devel/Makefile
    %{?selinux_requires}

I'm a bit curious on how things could improve on epel7, but having the
macros in the first place is already very helpful!

Dridi
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux