From 10e7cf627eed0727ce213355937404d5969e055b15dc082143971e0bd97c7d8d Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 20 Dec 2019 16:28:48 +0000 Subject: [PATCH] Accepting request 758565 from home:tiwai:branches:multimedia:libs - Remove empty man8 dirs (used for removed alsaconf.8) - Drop obsolete TODO and Changelog files, also irrelevant INSTALL. - Provide alsaucm and alsatplg man pages by formatting via rst2man; a new dependency on python3-docutils is added OBS-URL: https://build.opensuse.org/request/show/758565 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=163 --- alsa-utils.changes | 8 ++++++++ alsa-utils.spec | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/alsa-utils.changes b/alsa-utils.changes index 88a1095..87ff1a2 100644 --- a/alsa-utils.changes +++ b/alsa-utils.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Dec 20 16:51:55 CET 2019 - tiwai@suse.de + +- Remove empty man8 dirs (used for removed alsaconf.8) +- Drop obsolete TODO and Changelog files, also irrelevant INSTALL. +- Provide alsaucm and alsatplg man pages by formatting via rst2man; + a new dependency on python3-docutils is added + ------------------------------------------------------------------- Sun Nov 24 17:38:29 UTC 2019 - Neal Gompa diff --git a/alsa-utils.spec b/alsa-utils.spec index 1fe4af5..c2257c3 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -36,6 +36,7 @@ BuildRequires: fftw3-devel BuildRequires: libsamplerate-devel BuildRequires: ncurses-devel BuildRequires: pkgconfig +BuildRequires: python3-docutils BuildRequires: xmlto BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) @@ -90,6 +91,7 @@ rm -f %{buildroot}%{_sbindir}/alsaconf rm -f %{buildroot}%{_datadir}/locale/*/*/alsaconf.mo rm -f %{buildroot}%{_mandir}/*/man*/alsaconf.* rm -f %{buildroot}%{_mandir}/man*/alsaconf.* +rmdir --ignore-fail-on-non-empty -p %{buildroot}%{_mandir}/*/man* %{buildroot}%{_mandir}/man* %find_lang %{name} --all-name ln -s alsa-restore.service %{buildroot}%{_unitdir}/alsasound.service mkdir -p %{buildroot}%{_localstatedir}/lib/alsa @@ -113,11 +115,10 @@ install -c -m 0755 %{SOURCE5} %{buildroot}%{_prefix}/lib/systemd/scripts %files -f %{name}.lang %license COPYING -%doc ChangeLog INSTALL README.md TODO +%doc README.md %doc seq/aconnect/README* %doc seq/aseqnet/README* %{_mandir}/man*/* -%{_mandir}/fr %{_bindir}/* %{_sbindir}/* %exclude %{_bindir}/alsabat