diff --git a/dia.spec b/dia.spec index ebea055..c8edfdb 100644 --- a/dia.spec +++ b/dia.spec @@ -1,7 +1,7 @@ # -# spec file for package dia (Version 0.97.1) +# spec file for package dia # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,7 +44,7 @@ Requires: python-gtk Requires: xdg-utils Summary: A Diagram Creation Program Version: 0.97.1 -Release: 1 +Release: 6 Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{version}.tar.bz2 Source1: font-test-japanese.dia Source2: font-test-czech.dia @@ -113,12 +113,14 @@ rm samples/Makefile* samples/*png rm -rf $RPM_BUILD_ROOT %if 0%{?suse_version} > 1130 + %post %desktop_database_post %icon_theme_cache_post %endif %if 0%{?suse_version} > 1130 + %postun %desktop_database_postun %icon_theme_cache_postun