Hello community,

here is the log from the commit of package lyx for openSUSE:Factory checked in 
at 2015-01-22 21:49:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lyx (Old)
 and      /work/SRC/openSUSE:Factory/.lyx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lyx"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lyx/lyx.changes  2014-09-28 19:54:42.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.lyx.new/lyx.changes     2015-01-22 
21:49:15.000000000 +0100
@@ -1,0 +2,14 @@
+Wed Jan 21 15:21:50 UTC 2015 - [email protected]
+
+- LyX 2.1.2.2 (and 2.1.2.1):
+  * fixes for platforms other than GNU/Linux
+- add upstream signing key and verify source signature
+- Remove  __DATE__ and __TIME__ from info dialogs to prevent
+  rebuilds, add lyx-2.1.2.2-remove-date-time.patch
+
+-------------------------------------------------------------------
+Wed Jan  7 20:19:02 UTC 2015 - [email protected]
+
+- Added texlive-esint-type1 to recommends: needed to compile the user guide.
+
+-------------------------------------------------------------------

Old:
----
  lyx-2.1.2.tar.xz

New:
----
  lyx-2.1.2.2-remove-date-time.patch
  lyx-2.1.2.2.tar.xz
  lyx-2.1.2.2.tar.xz.sig
  lyx.keyring

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lyx.spec ++++++
--- /var/tmp/diff_new_pack.HGnmJa/_old  2015-01-22 21:49:16.000000000 +0100
+++ /var/tmp/diff_new_pack.HGnmJa/_new  2015-01-22 21:49:16.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lyx
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -28,7 +28,7 @@
 BuildRequires:  python
 BuildRequires:  update-desktop-files
 BuildRequires:  xz
-Version:        2.1.2
+Version:        2.1.2.2
 Release:        0
 Summary:        WYSIWYM (What You See Is What You Mean) document processor
 License:        GPL-2.0+
@@ -36,9 +36,12 @@
 Url:            http://www.lyx.org/
 Source:         ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/lyx-%{version}.tar.xz
 Source1:        lyxrc.dist
+Source2:        lyx.keyring
+Source3:        
ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/lyx-%{version}.tar.xz.sig
 # xdg patch
 # This was rejected by upstream 
(http://www.mail-archive.com/[email protected]/msg133878.html)
 Patch0:         lyx-2.1.2-xdg_open.patch
+Patch1:         lyx-2.1.2.2-remove-date-time.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       ImageMagick
 %if 0%{?suse_version} < 1230
@@ -63,6 +66,7 @@
 Recommends:     texlive-covington
 Recommends:     texlive-endnotes
 Recommends:     texlive-esint
+Recommends:     texlive-esint-type1
 Recommends:     texlive-fragments
 Recommends:     texlive-ifsym
 Recommends:     texlive-mathdots
@@ -104,13 +108,7 @@
 %prep
 %setup -q
 %patch0 -p1
-# Remove build time references so build-compare can do its work
-FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M') 
-FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')  
-sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/LyX.cpp
-sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/LyX.cpp
-sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/tex2lyx/tex2lyx.cpp
-sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/tex2lyx/tex2lyx.cpp
+%patch1 -p1
 
 %build
 #./autogen.sh

++++++ lyx-2.1.2.2-remove-date-time.patch ++++++
From: Andreas Stieger <[email protected]>
Date: Wed, 21 Jan 2015 13:02:32 +0000
Subject: Remove __DATE__ and __TIME__
Upstream: no
References:

Fixes obs warning:
[  796s] lyx.i586: W: file-contains-date-and-time /usr/bin/lyx
[  796s] Your file uses  __DATE and __TIME__ this causes the package to rebuild 
when
[  796s] not needed

Index: lyx-2.1.2.2/src/LyX.cpp
===================================================================
--- lyx-2.1.2.2.orig/src/LyX.cpp
+++ lyx-2.1.2.2/src/LyX.cpp
@@ -1146,8 +1146,6 @@ int parse_version(string const &, string
 {
        cout << "LyX " << lyx_version
               << " (" << lyx_release_date << ")" << endl;
-       cout << to_utf8(bformat(_("Built on %1$s[[date]], %2$s[[time]]"),
-               from_ascii(__DATE__), from_ascii(__TIME__))) << endl;
 
        cout << lyx_version_info << endl;
        exit(0);
Index: lyx-2.1.2.2/src/frontends/qt4/GuiAbout.cpp
===================================================================
--- lyx-2.1.2.2.orig/src/frontends/qt4/GuiAbout.cpp
+++ lyx-2.1.2.2/src/frontends/qt4/GuiAbout.cpp
@@ -138,8 +138,6 @@ static QString buildinfo()
        QTextStream out(&res);
        out << "LyX " << lyx_version
                << " (" << lyx_release_date << ")" << endl;
-       out << toqstr(bformat(_("Built on %1$s[[date]], %2$s[[time]]"),
-               from_ascii(__DATE__), from_ascii(__TIME__))) << endl;
 
        out << lyx_version_info << endl;
        return res;
Index: lyx-2.1.2.2/src/tex2lyx/tex2lyx.cpp
===================================================================
--- lyx-2.1.2.2.orig/src/tex2lyx/tex2lyx.cpp
+++ lyx-2.1.2.2/src/tex2lyx/tex2lyx.cpp
@@ -565,7 +565,6 @@ int parse_version(string const &, string
 {
        lyxerr << "tex2lyx " << lyx_version
               << " (" << lyx_release_date << ")" << endl;
-       lyxerr << "Built on " << __DATE__ << ", " << __TIME__ << endl;
 
        lyxerr << lyx_version_info << endl;
        exit(error_code);
++++++ lyx-2.1.2.tar.xz -> lyx-2.1.2.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/lyx/lyx-2.1.2.tar.xz 
/work/SRC/openSUSE:Factory/.lyx.new/lyx-2.1.2.2.tar.xz differ: char 25, line 1

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to