commit f6f7f591da816497e28cd26b2cfb7397fea547a0
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Tue Mar 5 14:31:56 2019 +0300
Update to 3.1.15.
.gitignore | 1 +
deepin-music.spec | 19 +++++++++++--------
sources | 2 +-
3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c6c889d..c84c96c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/deepin-music-3.1.9.tar.gz
/deepin-music-3.1.11.tar.gz
+/deepin-music-3.1.15.tar.gz
diff --git a/deepin-music.spec b/deepin-music.spec
index 02125c0..ad6914f 100644
--- a/deepin-music.spec
+++ b/deepin-music.spec
@@ -1,6 +1,6 @@
Name: deepin-music
-Version: 3.1.11
-Release: 2%{?dist}
+Version: 3.1.15
+Release: 1%{?dist}
Summary: Deepin Music Player
Summary(zh_CN): 深度音乐播放器
License: GPLv3
@@ -51,7 +51,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Header files and libraries for %{name}.
%prep
-%setup -q
+%autosetup
sed -i '/vendor/d' src/src.pro
sed -i '/%1/s|lib|%{_lib}|' src/music-player/core/pluginmanager.cpp
sed -i '/target.path/s|lib|%{_lib}|' src/libdmusic/libdmusic.pro \
@@ -66,8 +66,10 @@ rm src/vendor -rf
%install
%make_install INSTALL_ROOT=%{buildroot}
-desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
install -pDm644 %{S:1} %{buildroot}/%{_metainfodir}/%{name}.appdata.xml
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appdata.xml
%files
@@ -75,10 +77,8 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_metainfodir}/%{name}.appda
%license LICENSE
%{_bindir}/%{name}
%{_libdir}/lib*.so.*
-%{_libdir}/%{name}/
-%{_libdir}/%{name}/plugins/
-%{_libdir}/%{name}/plugins/lib*.so.*
-%{_datadir}/%{name}/
+%{_libdir}/%{name}
+%{_datadir}/%{name}
%{_datadir}/dman/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
@@ -89,6 +89,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_metainfodir}/%{name}.appda
%{_libdir}/%{name}/plugins/lib*.so
%changelog
+* Tue Mar 5 2019 Vasiliy Glazov <vascom2(a)gmail.com> - 3.1.15-1
+- Update to 3.1.15
+
* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
3.1.11-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources
index 4dbb29e..54b9b40 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3644269f7736968d7ffe4070aacc1e1e deepin-music-3.1.11.tar.gz
+8a3f5e4c12a3799f1d7c1348aff31983 deepin-music-3.1.15.tar.gz