diff --git a/inkscape-remove-datetime.patch b/inkscape-remove-datetime.patch
new file mode 100644
index 0000000..e6f8921
--- /dev/null
+++ b/inkscape-remove-datetime.patch
@@ -0,0 +1,28 @@
+Index: inkscape-0.46/src/main.cpp
+===================================================================
+--- inkscape-0.46.orig/src/main.cpp
++++ inkscape-0.46/src/main.cpp
+@@ -1506,7 +1506,7 @@ sp_process_args(poptContext ctx)
+ break;
+ }
+ case SP_ARG_VERSION: {
+- printf("Inkscape %s (%s)\n", INKSCAPE_VERSION, __DATE__);
++ printf("Inkscape %s\n", INKSCAPE_VERSION);
+ exit(0);
+ break;
+ }
+Index: inkscape-0.46/src/ui/dialog/aboutbox.cpp
+===================================================================
+--- inkscape-0.46.orig/src/ui/dialog/aboutbox.cpp
++++ inkscape-0.46/src/ui/dialog/aboutbox.cpp
+@@ -103,8 +103,8 @@ AboutBox::AboutBox() : Gtk::Dialog(_("Ab
+
+ Gtk::Label *label=new Gtk::Label();
+ gchar *label_text =
+- g_strdup_printf("Inkscape %s, built %s",
+- INKSCAPE_VERSION, __DATE__);
++ g_strdup_printf("Inkscape %s",
++ INKSCAPE_VERSION);
+ label->set_markup(label_text);
+ label->set_alignment(Gtk::ALIGN_RIGHT, Gtk::ALIGN_CENTER);
+ g_free(label_text);
diff --git a/inkscape.changes b/inkscape.changes
index aa08089..e988f15 100644
--- a/inkscape.changes
+++ b/inkscape.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Sat Mar 28 00:40:10 CET 2009 - vuntz@novell.com
+
+- Add inkscape-remove-datetime.patch to be more build-compare
+ friendly.
+
-------------------------------------------------------------------
Sun Jan 25 14:45:22 CET 2009 - vuntz@novell.com
diff --git a/inkscape.spec b/inkscape.spec
index 1b067b8..bb27686 100644
--- a/inkscape.spec
+++ b/inkscape.spec
@@ -25,7 +25,7 @@ Group: Productivity/Graphics/Vector Editors
Requires: ghostscript-fonts-std python-gtk python-numeric pstoedit gzip /usr/bin/gs
Summary: Inkscape Vector Illustration Program
Version: 0.46
-Release: 63
+Release: 64
# package in <= NLD9 and SuSE Linux <= 9.1
Provides: sodipodi
Obsoletes: sodipodi
@@ -47,6 +47,8 @@ Patch15: inkscape-warnings.patch
Patch16: inkscape-gtk-clist.patch
# PATCH-FIX-UPSTREAM inkscape-lp237574-poppler.patch lp237574 vuntz@novell.com -- Fix compilation with latest poppler
Patch17: inkscape-lp237574-poppler.patch
+# PATCH-FIX-OPENSUSE inkscape-remove-datetime.patch vuntz@novell.com -- Do not put date/time in the compiled binary (needed for build-compare)
+Patch18: inkscape-remove-datetime.patch
Url: http://www.inkscape.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
@@ -431,6 +433,7 @@ Authors:
%patch15 -p0
%patch16 -p0
%patch17 -p1
+%patch18 -p1
pushd ../gc*
%patch10
popd
@@ -536,6 +539,9 @@ rm -rf $RPM_BUILD_ROOT
%files lang -f %{name}.lang
%changelog
+* Sat Mar 28 2009 vuntz@novell.com
+- Add inkscape-remove-datetime.patch to be more build-compare
+ friendly.
* Sun Jan 25 2009 vuntz@novell.com
- Use sr@latin instead of sr@Latn since it's what glibc upstream
uses.