From b21c83556f45e53512fa30febd849da6cd7924b1 Mon Sep 17 00:00:00 2001 From: yanglijin Date: Sat, 21 Mar 2020 11:36:01 -0400 Subject: [PATCH] modify failed --- libgdither.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libgdither.spec b/libgdither.spec index 9845d08..3bdd81e 100644 --- a/libgdither.spec +++ b/libgdither.spec @@ -1,6 +1,6 @@ Name: libgdither Version: 0.6 -Release: 19 +Release: 20 Summary: A library for performing audio dithering on PCM samples License: GPLv2+ URL: http://plugin.org.uk/libgdither/ @@ -50,7 +50,9 @@ sed -i -e 's|/usr/local|%{_prefix}|g' $RPM_BUILD_ROOT%{_libdir}/pkgconfig/li sed -i -e 's|%{_prefix}/lib|%{_libdir}|' $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libgdither.pc %check +%if %{?_with_check:1}%{!?_with_check:0} make test CFLAGS="%{optflags} -I%{_builddir}/%{?buildsubdir}" --std=c99 -Werror +%endif %post /sbin/ldconfig @@ -69,5 +71,8 @@ make test CFLAGS="%{optflags} -I%{_builddir}/%{?buildsubdir}" --std=c99 -Werror %{_libdir}/pkgconfig/*.pc %changelog +* Sat Mar 21 2020 yanglijin - 0.6-20 +- close check + * Sat Dec 21 2019 zhouyihang - 0.6-19 - Package init