OBS User unknown 2007-04-26 17:02:35 +00:00 committed by Git OBS Bridge
parent 5c523a1027
commit badfc630b8
3 changed files with 14 additions and 2 deletions

View File

@ -219,7 +219,7 @@ if grep -q ^Categories= $FILE; then
else
if [ -n "${CAT%;}" ]; then
sed -e '/^\[Desktop Entry\]/a \
'"Categories=${CAT%;}" $FILE > ${FILE}_ && mv ${FILE}_ $FILE
'"Categories=${CAT%;};" $FILE > ${FILE}_ && mv ${FILE}_ $FILE
fi
fi
if [ "$UNIMPORTANT" = "yes" ]; then
@ -356,3 +356,5 @@ if [ "$EXEC" != "$_EXEC" ]; then
sed -e "s,^Exec=.*,Exec=${CHK} ${EXEC}," "$FILE" > "${FILE}.new" &&
mv "${FILE}.new" "${FILE}"
fi
/usr/bin/desktop-file-validate "${FILE}"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 25 14:45:06 CEST 2007 - coolo@suse.de
- following suggestion on IRC and call desktop-file-validate
as part of the build check
-------------------------------------------------------------------
Tue Apr 24 16:23:40 CEST 2007 - coolo@suse.de

View File

@ -12,12 +12,13 @@
Name: update-desktop-files
Version: 10.3
Release: 8
Release: 10
Summary: A Build Tool to Update Desktop Files
License: GNU General Public License (GPL)
Group: Development/Tools/Building
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: desktop-translations = %{version}
Requires: desktop-file-utils
Autoreqprov: on
Source: suse_update_desktop_file.sh
Source1: map-desktop-category.sh
@ -121,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/locale/*/LC_MESSAGES/*mo
%changelog
* Wed Apr 25 2007 - coolo@suse.de
- following suggestion on IRC and call desktop-file-validate
as part of the build check
* Tue Apr 24 2007 - coolo@suse.de
- don't look at /usr/share twice
* Tue Apr 24 2007 - coolo@suse.de