diff --git a/libyaml.spec b/libyaml.spec index 128edb2..b05d890 100644 --- a/libyaml.spec +++ b/libyaml.spec @@ -1,6 +1,6 @@ Name: libyaml Version: 0.2.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: YAML 1.1 parser and emitter written in C License: MIT @@ -35,12 +35,12 @@ developing applications that use LibYAML. %build %configure -make all html %{?_smp_mflags} +%make_build all html %install rm -rf %{buildroot} -make DESTDIR=%{buildroot} INSTALL="install -p" install +%make_install rm -f %{buildroot}%{_libdir}/*.{la,a} soname=$(readelf -d %{buildroot}%{_libdir}/libyaml.so | awk '$2 == "(SONAME)" {print $NF}' | tr -d '[]') @@ -69,6 +69,10 @@ make check %changelog +* Mon Jul 13 2020 Tom Stellard - 0.2.5-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jun 2 2020 John Eckersberg - 0.2.5-1 - New upstream release (rhbz#1842769)