This commit is contained in:
parent
50f3a42c8c
commit
703d3b7288
13
dia-remove-datetime.patch
Normal file
13
dia-remove-datetime.patch
Normal file
@ -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
|
@ -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
|
||||
|
||||
|
7
dia.spec
7
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
|
||||
|
Loading…
Reference in New Issue
Block a user