commit 933413fe9cdff06abd0618be0130d27c5efed07f
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Oct 11 22:15:30 2020 +0100
Update to 0.22
mpd-0.18-mpdconf.patch => mpd-0.22-mpdconf.patch | 11 ++++++-----
mpd.spec | 16 ++++++++++------
sources | 4 ++--
3 files changed, 18 insertions(+), 13 deletions(-)
---
diff --git a/mpd-0.18-mpdconf.patch b/mpd-0.22-mpdconf.patch
similarity index 70%
rename from mpd-0.18-mpdconf.patch
rename to mpd-0.22-mpdconf.patch
index 774fab1..8893b3a 100644
--- a/mpd-0.18-mpdconf.patch
+++ b/mpd-0.22-mpdconf.patch
@@ -1,7 +1,6 @@
-diff -ur ../mpd.orig/doc/mpdconf.example ./doc/mpdconf.example
---- ../mpd.orig/doc/mpdconf.example 2013-10-02 15:01:57.711017087 +1000
-+++ ./doc/mpdconf.example 2013-10-02 15:02:59.995519905 +1000
-@@ -81,7 +81,7 @@
+--- a/doc/mpdconf.example
++++ b/doc/mpdconf.example
+@@ -82,7 +82,7 @@
#bind_to_address "any"
#
# And for Unix Socket
@@ -10,7 +9,7 @@ diff -ur ../mpd.orig/doc/mpdconf.example ./doc/mpdconf.example
#
# This setting is the TCP port that is desired for the daemon to get assigned
# to.
-@@ -274,12 +274,12 @@
+@@ -273,13 +273,13 @@
#
# An example of a pulseaudio output (streaming to a remote pulseaudio server)
#
@@ -22,8 +21,10 @@ diff -ur ../mpd.orig/doc/mpdconf.example ./doc/mpdconf.example
+ name "My Pulse Output"
## server "remote_server" # optional
## sink "remote_server_sink" # optional
+ ## media_role "media_role" #optional
-#}
+}
#
# An example of a winmm output (Windows multimedia API).
#
+
diff --git a/mpd.spec b/mpd.spec
index 36ee91d..c10508a 100644
--- a/mpd.spec
+++ b/mpd.spec
@@ -16,14 +16,14 @@
Name: mpd
Epoch: 1
-Version: 0.21.26
+Version: 0.22
Release: 1%{?dist}
Summary: The Music Player Daemon
License: GPLv2+
URL:
https://www.musicpd.org
-Source0: %{url}/download/mpd/0.21/mpd-%{version}.tar.xz
-Source1: %{url}/download/mpd/0.21/mpd-%{version}.tar.xz.sig
+Source0: %{url}/download/mpd/0.22/mpd-%{version}.tar.xz
+Source1: %{url}/download/mpd/0.22/mpd-%{version}.tar.xz.sig
Source2:
https://pgp.key-server.io/download/0x236E8A58C6DB4512#/gpgkey.asc
# Note that the 0.18.x branch doesn't yet work with Fedora's version of
# libmpcdec which needs updating.
@@ -32,7 +32,7 @@ Source2:
https://pgp.key-server.io/download/0x236E8A58C6DB4512#/gpgkey.as
Source3: mpd.logrotate
Source4: mpd.tmpfiles.d
Source5: mpd.xml
-Patch0: mpd-0.18-mpdconf.patch
+Patch0: mpd-0.22-mpdconf.patch
Patch1: mpd-0.20-remove_NoNewPrivileges.patch
BuildRequires: alsa-lib-devel
@@ -68,6 +68,7 @@ BuildRequires: libnfs-devel
BuildRequires: libsmbclient-devel
BuildRequires: libsndfile-devel
BuildRequires: libupnp-devel
+BuildRequires: liburing-devel
BuildRequires: mpg123-devel
BuildRequires: openal-soft-devel
BuildRequires: python3-sphinx
@@ -120,7 +121,7 @@ This package contains FirewallD file for MPD.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}'
--data='%{SOURCE0}'
%setup -q
-%patch0 -p0
+%patch0 -p1
%patch1 -p1
# Force python3-sphinx
sed -i -e 's@sphinx-build@sphinx-build-3@g' doc/meson.build
@@ -131,7 +132,7 @@ sed -i -e 's@sphinx-build@sphinx-build-3@g' doc/meson.build
-Dsystemd_user_unit_dir=%{_userunitdir} \
-Dipv6=enabled \
-Dpipe=true \
- -Ddocumentation=true \
+ -Ddocumentation=auto \
-Dsolaris_output=disabled \
-Dsndio=disabled \
-Dchromaprint=disabled \
@@ -231,6 +232,9 @@ fi
%changelog
+* Sun Oct 11 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1:0.22-1
+- Update to 0.22
+
* Wed Sep 23 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1:0.21.26-1
- Update to 0.21.26
diff --git a/sources b/sources
index 7766c30..c148107 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (mpd-0.21.26.tar.xz) =
31eb5d42bcfc942116cb203d8b1ceb8489b46251204f7288d1e8d7e052ff4cab2c8b2087795cc8118c8b86f080613f80cb182163fcb1c5b5027053d53c5a594a
-SHA512 (mpd-0.21.26.tar.xz.sig) =
94b79fbbbd28bf1b34c4774972d3487ba42a22a80fb65027c7804824302b96ecc07bbd718af25785abd964c985d3ff2d9f5086878b03f9d7ffa73d8b355f9e53
+SHA512 (mpd-0.22.tar.xz) =
2a6671dc2392dbac65d8339b8cfe86626fc46727bedab80266b24c6d63b0a26a832fc233576866ab5115627efdaa61bbe6876f4d33cb48c21e16fb5b74d3cfe4
+SHA512 (mpd-0.22.tar.xz.sig) =
dde7e62982f4ebc7a373f740f7049d9ff328b6045bccd93c46dbe215ab44423c1ae08f64c1f4c8bb57374feecf578e66499652a9e87d280e0d578fea4ecdab74