On Mon, Aug 3, 2020 at 3:59 PM Nicolas Chauvet <kwizart(a)gmail.com> wrote:
Le lun. 3 août 2020 à 19:37, Neal Gompa <ngompa13(a)gmail.com> a écrit :
>
> On Mon, Aug 3, 2020 at 12:32 PM Gary Buhrmaster
> <gary.buhrmaster(a)gmail.com> wrote:
> >
> > On Mon, Aug 3, 2020 at 3:15 PM Richard Hughes <hughsient(a)gmail.com>
wrote:
> >
> > > Most of those are the libcroco->gettext breakage, no?
> >
> > From a very cursory scan (not at all scientific),
> > some percentage are the cmake macro changes.
>
> CMake macros are documented in the packaging guidelines:
>
https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/
>
> Here's an example of how to adjust it:
>
https://src.fedoraproject.org/rpms/alembic/c/83812e6c762c28c7e2141860711a...
Can you show an example that work across all maintained releases ?
(aka inclusing epel7).
I don't have a package off-hand that is maintained across EPEL7,
EPEL8, and Fedora, but the macros are all implemented, provided you
are using cmake3 for EPEL7.
If you don't care whether it's in-source or out-of-source build, then
you only need to concern yourself with %cmake, %cmake_build, and
%cmake_install (for EPEL7, %cmake3 is the prefix instead of %cmake).
--
真実はいつも一つ!/ Always, there's only one truth!