From cdce1155da558f23a5b03ceb7c2fb7e1f7c8efff Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 24 Mar 2015 19:09:18 +0100 Subject: [PATCH] Use desktop-file-validate instead of desktop-file-install --- pavucontrol.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pavucontrol.spec b/pavucontrol.spec index d364903..c07ffec 100644 --- a/pavucontrol.spec +++ b/pavucontrol.spec @@ -36,13 +36,11 @@ rm $RPM_BUILD_ROOT/usr/share/doc/pavucontrol/README rm $RPM_BUILD_ROOT/usr/share/doc/pavucontrol/README.html rm $RPM_BUILD_ROOT/usr/share/doc/pavucontrol/style.css -desktop-file-install \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ - --add-category="X-Fedora" --vendor="" \ - $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop - %find_lang %{name} +%check +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/pavucontrol.desktop + %files -f %{name}.lang %license LICENSE %doc doc/README @@ -54,6 +52,7 @@ desktop-file-install \ * Tue Mar 24 2015 Kalev Lember - 3.0-1 - Update to 3.0 - Use license macro for the LICENCE file +- Use desktop-file-validate instead of desktop-file-install * Sat Feb 28 2015 Kevin Fenzi 2.0-10 - Rebuild for new gcc