Fix the previous change to actually build in RHEL

This commit is contained in:
Adam Jackson 2021-02-19 11:09:02 -05:00
parent 738e3f24e4
commit 39bc4f3630

View File

@ -1,7 +1,5 @@
# Disable if you don't need xmms
%if !0%{?rhel}
%global with_xmms 1
%endif
%global with_xmms !0%{?rhel}
%if %{with_xmms}
%define xmms_inputdir %(xmms-config --input-plugin-dir 2>/dev/null || echo %{_libdir}/xmms/General)
@ -10,7 +8,7 @@
Summary: An encoder/decoder for the Free Lossless Audio Codec
Name: flac
Version: 1.3.3
Release: 6%{?dist}
Release: 7%{?dist}
License: BSD and GPLv2+ and GFDL
Source0: https://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
URL: https://www.xiph.org/flac/
@ -145,6 +143,9 @@ make check
%endif
%changelog
* Fri Feb 19 2021 Adam Jackson <ajax@redhat.com> - 1.3.3-7
- Fix the previous change to actually build in RHEL
* Thu Feb 18 2021 Adam Jackson <ajax@redhat.com> - 1.3.3-6
- Disable xmms in RHEL