Fix build with RPM 4.19

RPM 4.19, a preview of which is now in rawhide, creates a SPECPARTS
directory which throws off the `for app in *` logic.

Also, xorg-x11-util-macros 1.20 dropped the libtool dependency which
pulled in gcc, which is needed for configure.
This commit is contained in:
Yaakov Selkowitz 2023-06-26 23:23:22 -04:00
parent bba7805c63
commit 12648e0dad

View File

@ -83,6 +83,7 @@ Source31: https://www.x.org/pub/individual/font/font-xfree86-type1-1.0.4.tar.b
# to request for relicensing
# http://www.x.org/pub/individual/font/font-misc-meltho-1.0.0.tar.bz2
BuildRequires: gcc
BuildRequires: make
BuildRequires: bdftopcf mkfontscale
BuildRequires: font-util >= 1.1.0
@ -247,7 +248,7 @@ Contains a set of Cyrillic fonts.
%build
# Build all apps
{
for app in * ; do
for app in encodings-* font-* ; do
pushd $app
autoreconf -vif
case $app in
@ -280,7 +281,7 @@ Contains a set of Cyrillic fonts.
%install
# Install all apps
{
for app in * ; do
for app in encodings-* font-* ; do
pushd $app
%make_install
popd