modify failed

This commit is contained in:
yanglijin 2020-03-21 11:36:01 -04:00
parent f0c3e7b858
commit b21c83556f

View File

@ -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 <yanglijin@huawei.com> - 0.6-20
- close check
* Sat Dec 21 2019 zhouyihang <zhouyihang1@huawei.com> - 0.6-19
- Package init