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