Use desktop-file-validate instead of desktop-file-install
This commit is contained in:
parent
3ed2806667
commit
cdce1155da
@ -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 <kalevlember@gmail.com> - 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 <kevin@scrye.com> 2.0-10
|
||||
- Rebuild for new gcc
|
||||
|
Loading…
Reference in New Issue
Block a user