From c1ecf963c7afd982de5a19f889c73c931ac5067f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 20:50:16 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- mythes.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mythes.spec b/mythes.spec index 5e08fd5..6d457bd 100644 --- a/mythes.spec +++ b/mythes.spec @@ -1,7 +1,7 @@ Name: mythes Summary: A thesaurus library Version: 1.2.4 -Release: 13%{?dist} +Release: 14%{?dist} Source: http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz URL: http://hunspell.sourceforge.net/ License: BSD and MIT @@ -24,7 +24,7 @@ Includes and definitions for developing with mythes %build %configure --disable-rpath --disable-static -make %{?_smp_mflags} +%make_build %check ./example th_en_US_new.idx th_en_US_new.dat checkme.lst @@ -32,7 +32,7 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install +%make_install rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes @@ -52,6 +52,10 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes %{_bindir}/th_gen_idx.pl %changelog +* Tue Jul 14 2020 Tom Stellard - 1.2.4-14 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 1.2.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild