From d5b64fb74270c1653fc28357d82b7b35b738146f0170eed1dbc17ef7b7f2deb0 Mon Sep 17 00:00:00 2001 From: Max Lin Date: Wed, 20 Aug 2025 18:58:44 +0800 Subject: [PATCH] Fix Leap 16.0 build --- fsvs.changes | 8 ++++++++ fsvs.spec | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/fsvs.changes b/fsvs.changes index 7cc3a2f..9ef9ae4 100644 --- a/fsvs.changes +++ b/fsvs.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Aug 20 06:49:35 UTC 2025 - Max Lin + +- Fix build error with automake 1.18.1 + * the name of automake libdir is automake-1.18 although the version + number is 1.18.1, use 'automake --print-libdir' to instead of + query the rpm package version + ------------------------------------------------------------------- Thu Mar 27 21:30:30 UTC 2025 - Andreas Stieger diff --git a/fsvs.spec b/fsvs.spec index e4f4f13..32042c4 100644 --- a/fsvs.spec +++ b/fsvs.spec @@ -47,7 +47,7 @@ You may think of it as some kind of tar or rsync with versioned storage. %autosetup -p1 # remove dangling symlinks rm config.guess config.sub -cp -v %{_datadir}/automake-`rpm -q --queryformat %%{version} automake`/config.{guess,sub} . +cp -v `automake --print-libdir`/config.{guess,sub} . %build %configure -- 2.51.1