Hello community, here is the log from the commit of package ldmtool for openSUSE:Factory checked in at 2017-06-12 15:31:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ldmtool (Old) and /work/SRC/openSUSE:Factory/.ldmtool.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ldmtool" Mon Jun 12 15:31:36 2017 rev:2 rq:501618 version:0.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ldmtool/ldmtool.changes 2017-04-14 13:40:39.918424618 +0200 +++ /work/SRC/openSUSE:Factory/.ldmtool.new/ldmtool.changes 2017-06-12 15:31:44.406213479 +0200 @@ -1,0 +2,5 @@ +Tue May 30 13:17:35 UTC 2017 - [email protected] + +- fix double const + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ldmtool.spec ++++++ --- /var/tmp/diff_new_pack.kmWzQ7/_old 2017-06-12 15:31:45.210100102 +0200 +++ /var/tmp/diff_new_pack.kmWzQ7/_new 2017-06-12 15:31:45.210100102 +0200 @@ -1,8 +1,7 @@ - # # spec file for package ldmtool # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define srcname libldm %define sover 1_0-0 @@ -23,25 +23,24 @@ Version: 0.2.3 Release: 0 Summary: A tool to manage Windows dynamic disks +License: GPL-3.0 Group: System/Base -License: GPL-3.0 -URL: https://github.com/mdbooth/libldm +Url: https://github.com/mdbooth/libldm Source0: %{url}/downloads/%{srcname}-%{version}.tar.gz Patch0: werror-fixes.patch Patch1: cast_be64toh.patch -BuildRequires: gtk-doc +BuildRequires: device-mapper-devel >= 1.0 BuildRequires: glib2-devel >= 2.26.0 +BuildRequires: gtk-doc BuildRequires: json-glib-devel >= 0.14.0 -BuildRequires: device-mapper-devel >= 1.0 -BuildRequires: zlib-devel BuildRequires: libuuid-devel BuildRequires: readline-devel +BuildRequires: zlib-devel Requires: %{srcname}-%{sover} = %{version}-%{release} - %description Command-line tool for managing Microsoft Windows dynamic disks, which use Microsoft's LDM metadata. It can inspect them, and also create and remove @@ -49,8 +48,8 @@ %package -n %{srcname}-%{sover} Summary: Library to manage Windows dynamic disks -Group: System/Libraries License: LGPL-3.0 +Group: System/Libraries %description -n %{srcname}-%{sover} Library for managing Microsoft Windows dynamic disks, which use Microsoft's @@ -60,15 +59,14 @@ %package -n %{srcname}-%{sover}-devel Summary: Development files for %{name} -Group: Development/Libraries/C and C++ License: LGPL-3.0 +Group: Development/Libraries/C and C++ Requires: %{srcname}-%{sover} = %{version}-%{release} %description -n %{srcname}-%{sover}-devel Contains libraries and header files for developing applications using %{srcname}. - %prep %setup -q -n %{srcname}-%{version} %patch0 -p1 @@ -78,7 +76,6 @@ %configure --disable-static --enable-gtk-doc make %{?_smp_mflags} - %install %make_install find "%buildroot" -type f -name '*.la' -delete @@ -87,7 +84,6 @@ %postun -n %{srcname}-%{sover} -p /sbin/ldconfig - %files %if 0%{?suse_version} > 1320 || 0%{?leap_version} >= 420200 %license COPYING.gpl @@ -116,5 +112,4 @@ %{_libdir}/pkgconfig/ldm-1.0.pc %{_datadir}/gtk-doc - %changelog ++++++ werror-fixes.patch ++++++ --- /var/tmp/diff_new_pack.kmWzQ7/_old 2017-06-12 15:31:45.242095589 +0200 +++ /var/tmp/diff_new_pack.kmWzQ7/_new 2017-06-12 15:31:45.246095025 +0200 @@ -1,7 +1,14 @@ -Index: libldm-0.2.3/src/ldmtool.c -=================================================================== ---- libldm-0.2.3.orig/src/ldmtool.c -+++ libldm-0.2.3/src/ldmtool.c +--- a/src/ldmtool.c ++++ b/src/ldmtool.c +@@ -87,7 +87,7 @@ typedef struct { + const _action_t action; + } _command_t; + +-static const _command_t const commands[] = { ++static const _command_t commands[] = { + { "scan", ldm_scan }, + { "show", ldm_show }, + { "create", ldm_create }, @@ -777,9 +777,11 @@ main(int argc, char *argv[]) } g_option_context_free(context); @@ -15,10 +22,8 @@ int ret = 0; -Index: libldm-0.2.3/src/ldm.c -=================================================================== ---- libldm-0.2.3.orig/src/ldm.c -+++ libldm-0.2.3/src/ldm.c +--- a/src/ldm.c ++++ b/src/ldm.c @@ -31,6 +31,7 @@ #include <sys/ioctl.h> #include <sys/mman.h>
