From 703d3b7288eaee5cf5f3839518eb5570208415545aae42e471e900cac15ec2c3 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 1 Apr 2009 20:03:05 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dia?expand=0&rev=12 --- dia-remove-datetime.patch | 13 +++++++++++++ dia.changes | 5 +++++ dia.spec | 7 ++++++- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 dia-remove-datetime.patch diff --git a/dia-remove-datetime.patch b/dia-remove-datetime.patch new file mode 100644 index 0000000..7c512c2 --- /dev/null +++ b/dia-remove-datetime.patch @@ -0,0 +1,13 @@ +Index: dia-0.96.1/app/app_procs.c +=================================================================== +--- dia-0.96.1.orig/app/app_procs.c ++++ dia-0.96.1/app/app_procs.c +@@ -845,7 +845,7 @@ app_init (int argc, char **argv) + g_free(export_format_string); + + if (version) { +-#if (defined __TIME__) && (defined __DATE__) ++#if 0 + /* TRANSLATOR: 2nd and 3rd %s are time and date respectively. */ + printf(g_locale_from_utf8(_("Dia version %s, compiled %s %s\n"), -1, NULL, NULL, NULL), VERSION, __TIME__, __DATE__); + #else diff --git a/dia.changes b/dia.changes index e0f5800..d0ed03f 100644 --- a/dia.changes +++ b/dia.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 27 23:41:28 CET 2009 - vuntz@novell.com + +- Add dia-remove-datetime.patch to be more build-compare friendly. + ------------------------------------------------------------------- Mon Feb 16 17:49:47 CET 2009 - sbrabec@suse.cz diff --git a/dia.spec b/dia.spec index 5149c61..426c68c 100644 --- a/dia.spec +++ b/dia.spec @@ -31,7 +31,7 @@ Requires: ghostscript-fonts-std python-gtk python-numeric AutoReqProv: on Summary: A Diagram Creation Program Version: 0.96.1 -Release: 165 +Release: 166 Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{version}.tar.bz2 Source1: font-test-japanese.dia Source2: font-test-czech.dia @@ -52,6 +52,8 @@ Patch14: dia-python-acinclude.patch Patch15: dia-help.patch # PATCH-FIX-UPSTREAM dia-0.96-pre3-docs.patch bgo404535 Patch16: dia-0.96-pre3-docs.patch +# PATCH-FIX-OPENSUSE dia-remove-datetime.patch vuntz@novell.com -- Do not put date/time in the compiled binary (needed for build-compare) +Patch17: dia-remove-datetime.patch Url: http://live.gnome.org/Dia BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %suse_version > 1020 @@ -90,6 +92,7 @@ translation-update-upstream %patch14 %patch15 -p1 %patch16 -p1 +%patch17 -p1 # Work around gettext bug #186174 LANG=en_US.UTF-8 msgconv po/ko.po -o po/ko.po.new mv po/ko.po.new po/ko.po @@ -136,6 +139,8 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gnome/help/dia/* %changelog +* Fri Mar 27 2009 vuntz@novell.com +- Add dia-remove-datetime.patch to be more build-compare friendly. * Mon Feb 16 2009 sbrabec@suse.cz - Added support for translation-update-upstream (FATE#301344). * Sat Jan 31 2009 vuntz@novell.com