On Wed, 2020-04-08 at 21:18 +0200, Dominic Hopf via devel wrote:
> ```
> %if 0%{?rhel}
> BuildRequires: webkitgtk4-devel
> %else
> BuildRequires: webkit2gtk3-devel
> %endif
> ```

        Hi,
this is an off topic for this thread, but maybe you'll find it useful.
You can use this (pick the one, which is truly needed, or both):

BuildRequires: pkgconfig(webkit2gtk-4.0)
BuildRequires: pkgconfig(webkit2gtk-web-extension-4.0)

and it'll work in all EPEL7, EPEL8 and Fedora. No need for conditionals
for the 'rhel' variable. This is how for example Evolution looks for
WebKitGTK+ development files. There was not needed any change in the
.spec file when the WebKitGTK+ package had been renamed.
        Bye,
        Milan
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to