Hello community,

here is the log from the commit of package ledger for openSUSE:Factory checked 
in at 2018-08-20 16:19:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ledger (Old)
 and      /work/SRC/openSUSE:Factory/.ledger.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ledger"

Mon Aug 20 16:19:07 2018 rev:6 rq:629900 version:3.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ledger/ledger.changes    2017-02-09 
11:16:46.277270312 +0100
+++ /work/SRC/openSUSE:Factory/.ledger.new/ledger.changes       2018-08-20 
16:19:10.068801069 +0200
@@ -1,0 +2,7 @@
+Fri Aug 17 07:27:43 UTC 2018 - [email protected]
+
+- cleanup specfile - install license as %license
+- boost_168.patch: fix building with Boost 1.68. Sha1 compatibility
+  header was removed from Uuid library (boo#1105084)
+
+-------------------------------------------------------------------

New:
----
  boost_168.patch

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

Other differences:
------------------
++++++ ledger.spec ++++++
--- /var/tmp/diff_new_pack.dPgin8/_old  2018-08-20 16:19:10.500801678 +0200
+++ /var/tmp/diff_new_pack.dPgin8/_new  2018-08-20 16:19:10.504801683 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ledger
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,9 +22,15 @@
 Summary:        Double-entry accounting system with a command-line reporting 
interface
 License:        BSD-3-Clause
 Group:          Productivity/Office/Finance
-Url:            https://github.com/%{name}/%{name}
+URL:            https://github.com/%{name}/%{name}
 Source:         https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz
-Patch:          
https://patch-diff.githubusercontent.com/raw/ledger/ledger/pull/465.patch
+Patch0:         
https://patch-diff.githubusercontent.com/raw/ledger/ledger/pull/465.patch
+Patch1:         boost_168.patch
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  mpfr-devel
+BuildRequires:  python
+BuildRequires:  utfcpp-devel
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_date_time-devel
 BuildRequires:  libboost_filesystem-devel
@@ -34,12 +40,6 @@
 %else
 BuildRequires:  boost-devel
 %endif
-BuildRequires:  cmake
-BuildRequires:  gcc-c++
-BuildRequires:  mpfr-devel
-BuildRequires:  python
-BuildRequires:  utfcpp-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Ledger is a powerful, double-entry accounting system that is accessed
@@ -49,7 +49,8 @@
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
 %cmake -DBUILD_LIBRARY=OFF
@@ -60,9 +61,9 @@
 install -m 644 -D contrib/ledger-completion.bash 
%{buildroot}%{_sysconfdir}/bash_completion.d/ledger.sh
 
 %files
-%defattr(-,root,root)
-%doc README.md LICENSE.md
-%doc %{_mandir}/man1/%{name}.1.gz
+%license LICENSE.md
+%doc README.md
+%{_mandir}/man1/%{name}.1%{?ext_man}
 %{_bindir}/ledger
 %{_sysconfdir}/bash_completion.d/ledger.sh
 

++++++ 465.patch ++++++
--- /var/tmp/diff_new_pack.dPgin8/_old  2018-08-20 16:19:10.520801706 +0200
+++ /var/tmp/diff_new_pack.dPgin8/_new  2018-08-20 16:19:10.520801706 +0200
@@ -8,7 +8,7 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/src/item.h b/src/item.h
-index ca16d87..4dc6df7 100644
+index ca16d87b3..4dc6df7e6 100644
 --- a/src/item.h
 +++ b/src/item.h
 @@ -92,7 +92,7 @@ class item_t : public supports_flags<uint_least16_t>, public 
scope_t

++++++ boost_168.patch ++++++
Index: ledger-3.1.1/src/utils.h
===================================================================
--- ledger-3.1.1.orig/src/utils.h
+++ ledger-3.1.1/src/utils.h
@@ -44,7 +44,13 @@
 #ifndef _UTILS_H
 #define _UTILS_H
 
+#include <boost/version.hpp>
+
+#if BOOST_VERSION >= 106800
+#include <boost/uuid/detail/sha1.hpp>
+#else
 #include <boost/uuid/sha1.hpp>
+#endif
 
 /**
  * @name Default values

Reply via email to