#3 Remove libsamplerate BR on rhel
Opened 3 years ago by wtaymans. Modified 3 years ago
rpms/ wtaymans/alsa-utils master  into  rawhide

file modified
+12 -1
@@ -2,10 +2,16 @@ 

  #define   fixversion      .2

  %global   _hardened_build 1

  

+ %if 0%{?rhel}

+ %define with_samplerate 0

+ %else

+ %define with_samplerate 1

+ %endif

+ 

  Summary: Advanced Linux Sound Architecture (ALSA) utilities

  Name:    alsa-utils

  Version: %{baseversion}%{?fixversion}

- Release: 2%{?dist}

+ Release: 3%{?dist}

  License: GPLv2+

  URL:     http://www.alsa-project.org/

  Source:  ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
@@ -19,7 +25,9 @@ 

  

  BuildRequires:  gcc

  BuildRequires: alsa-lib-devel >= %{baseversion}

+ %if 0%{?with_samplerate}

  BuildRequires: libsamplerate-devel

+ %endif

  BuildRequires: ncurses-devel

  BuildRequires: gettext-devel

  BuildRequires: xmlto
@@ -192,6 +200,9 @@ 

  %systemd_postun_with_restart alsa-state.service

  

  %changelog

+ * Fri Jan 29 2021 Wim Taymans <wtaymans@redhat.com> - 1.2.4-3

+ - Remove libsamplerate BR on rhel

+ 

  * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild