forked from pool/alsa-utils
Accepting request 594625 from home:tiwai:branches:multimedia:libs
- Avoid %license tag for old distros to fix builds OBS-URL: https://build.opensuse.org/request/show/594625 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=146
This commit is contained in:
committed by
Git OBS Bridge
parent
7fff7ef91f
commit
bc2195ce16
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 4 14:57:35 CEST 2018 - tiwai@suse.de
|
||||||
|
|
||||||
|
- Avoid %license tag for old distros to fix builds
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 4 08:39:33 CEST 2018 - tiwai@suse.de
|
Wed Apr 4 08:39:33 CEST 2018 - tiwai@suse.de
|
||||||
|
|
||||||
|
@@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define package_version 1.1.6
|
|
||||||
#
|
|
||||||
%if 0%{?suse_version} > 1130
|
%if 0%{?suse_version} > 1130
|
||||||
%define use_systemd 1
|
%define use_systemd 1
|
||||||
%define use_varlib 1
|
%define use_varlib 1
|
||||||
@@ -41,7 +39,7 @@ Summary: Advanced Linux Sound Architecture Utilities
|
|||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Multimedia/Sound/Players
|
Group: Productivity/Multimedia/Sound/Players
|
||||||
Url: http://www.alsa-project.org/
|
Url: http://www.alsa-project.org/
|
||||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
|
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
|
||||||
Source1: 01beep.conf
|
Source1: 01beep.conf
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@@ -76,7 +74,7 @@ interaction. BAT can be used to test audio quality, stress test features
|
|||||||
and test audio before and after PM state changes.
|
and test audio before and after PM state changes.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{package_version}
|
%setup -q
|
||||||
# fix stupid automake's automatic action
|
# fix stupid automake's automatic action
|
||||||
sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
|
sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
|
||||||
|
|
||||||
@@ -111,7 +109,11 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/alsa
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%if 0%{?suse_version} >= 1200
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%else
|
||||||
|
%doc COPYING
|
||||||
|
%endif
|
||||||
%doc ChangeLog INSTALL README TODO
|
%doc ChangeLog INSTALL README TODO
|
||||||
%doc seq/aconnect/README*
|
%doc seq/aconnect/README*
|
||||||
%doc seq/aseqnet/README*
|
%doc seq/aseqnet/README*
|
||||||
@@ -134,7 +136,11 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/alsa
|
|||||||
|
|
||||||
%files -n alsabat
|
%files -n alsabat
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%if 0%{?suse_version} >= 1200
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%else
|
||||||
|
%doc COPYING
|
||||||
|
%endif
|
||||||
%{_bindir}/alsabat
|
%{_bindir}/alsabat
|
||||||
%{_mandir}/man*/alsabat.*
|
%{_mandir}/man*/alsabat.*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user