From dc3051c6b63d1cc8a80236c88298eade8212cdd5 Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: Feb 23 2013 23:05:24 +0000 Subject: remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247 - clean up spec to follow current guidelines --- diff --git a/dogtail.spec b/dogtail.spec index 1e1864a..993ccda 100644 --- a/dogtail.spec +++ b/dogtail.spec @@ -1,7 +1,7 @@ Summary: GUI test tool and automation framework Name: dogtail Version: 0.8.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 URL: http://dogtail.fedorahosted.org/ Source0: http://fedorahosted.org/released/dogtail/%{name}-%{version}.tar.gz @@ -32,30 +32,26 @@ communicate with desktop applications. python ./setup.py build %install -rm -rf $RPM_BUILD_ROOT python ./setup.py install -O2 --root=$RPM_BUILD_ROOT --record=%{name}.files rm -rf $RPM_BUILD_ROOT/%{_docdir}/dogtail rm -f $RPM_BUILD_ROOT/%{python_sitelib}/%{name}-%{version}-py%{python_version}.egg-info find examples -type f -exec chmod 0644 \{\} \; desktop-file-install $RPM_BUILD_ROOT/%{_datadir}/applications/sniff.desktop \ - --vendor=fedora \ --dir=$RPM_BUILD_ROOT/%{_datadir}/applications \ - --add-category X-Fedora \ - --delete-original %post -touch --no-create %{_datadir}/icons/hicolor || : -[ -x /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache --quiet -f %{_datadir}/icons/hicolor || : +/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun -touch --no-create %{_datadir}/icons/hicolor || : -[ -x /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache --quiet -f %{_datadir}/icons/hicolor || : +if [ $1 -eq 0 ] ; then + /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null + /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi -%clean -rm -rf $RPM_BUILD_ROOT +%posttrans +/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -%defattr(-,root,root,-) %{_bindir}/* %{python_sitelib}/dogtail/ %{_datadir}/applications/* @@ -67,6 +63,10 @@ rm -rf $RPM_BUILD_ROOT %doc examples/ %changelog +* Sat Feb 23 2013 Rahul Sundaram - 0.8.1-4 +- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247 +- clean up spec to follow current guidelines + * Wed Feb 13 2013 Fedora Release Engineering - 0.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild