Use make_build and make_install macros

This commit is contained in:
Parag Nemade 2020-03-18 12:29:37 +05:30
parent 9465592a3f
commit aab32ac976
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

View File

@ -1,7 +1,7 @@
Name: m17n-db
Summary: Multilingualization datafiles for m17n-lib
Version: 1.8.0
Release: 9%{?dist}
Release: 10%{?dist}
License: LGPLv2+
URL: http://www.nongnu.org/m17n
@ -66,10 +66,10 @@ sed -i 's/ ("ld" "སྡ")/ ("ld" "ལྡ")/g' MIM/bo-ewts.mim
%build
%configure
make %{?_smp_mflags}
%{make_build}
%install
make install DESTDIR=%{buildroot} INSTALL="install -p"
%{make_install}
# don't ship unijoy map for now
rm %{buildroot}%{_datadir}/m17n/bn-unijoy.mim
@ -145,6 +145,9 @@ cp -p m17n-db-sayura-1.0.0/icons/si-sayura.png %{buildroot}%{_datadir}/m17n/icon
%{_datadir}/pkgconfig/m17n-db.pc
%changelog
* Wed Mar 18 2020 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-10
- Use make_build and make_install macros
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild