Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package epub2txt2 for openSUSE:Factory 
checked in at 2022-03-30 20:35:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/epub2txt2 (Old)
 and      /work/SRC/openSUSE:Factory/.epub2txt2.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "epub2txt2"

Wed Mar 30 20:35:45 2022 rev:2 rq:965784 version:2.03

Changes:
--------
--- /work/SRC/openSUSE:Factory/epub2txt2/epub2txt2.changes      2022-03-16 
20:21:58.941035687 +0100
+++ /work/SRC/openSUSE:Factory/.epub2txt2.new.1900/epub2txt2.changes    
2022-03-30 20:35:47.185309161 +0200
@@ -1,0 +2,29 @@
+Wed Mar 30 00:04:30 UTC 2022 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- replace %{version} to a custom %{_commit_hash} to fix build errors
+
+-------------------------------------------------------------------
+Tue Mar 29 23:58:55 UTC 2022 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- Use the commit hash instead. Upstream maintainer didn't tagged a release
+  and only changed the README that it is version 2.03. This is to clarify
+  that commit `10e9ac86df9a823d7470deaaa50c44d2857ee6f7` is 2.03.
+
+-------------------------------------------------------------------
+Tue Mar 29 12:45:00 UTC 2022 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- Fix spec and sources.
+
+-------------------------------------------------------------------
+Tue Mar 29 12:20:59 UTC 2022 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- Update epub2text2 version to 2.03:
+  * Fixed buffer overrun bug
+
+- Update patches:
+  * Add bmwiedemann/sort patch for reproducible builds
+  * Use `%autopatch -p1` in spec file 
+
+- add bmwiedemann-sort.patch
+
+-------------------------------------------------------------------

Old:
----
  v2.01.tar.gz

New:
----
  10e9ac86df9a823d7470deaaa50c44d2857ee6f7.tar.gz
  bmwiedemann-sort.patch

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

Other differences:
------------------
++++++ epub2txt2.spec ++++++
--- /var/tmp/diff_new_pack.R5Cnmk/_old  2022-03-30 20:35:47.769309642 +0200
+++ /var/tmp/diff_new_pack.R5Cnmk/_new  2022-03-30 20:35:47.773309645 +0200
@@ -12,29 +12,32 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%global _commit_hash "10e9ac86df9a823d7470deaaa50c44d2857ee6f7"
+
 Name:           epub2txt2
-Version:        2.01
+Version:        2.03
 Release:        0
 Summary:        Simple command-line utility for extracting text from EPUB 
documents 
 License:        GPL-3.0-only
 Group:          Productivity/Text/Utilities
-Url:            https://github.com/kevinboone/epub2txt2
-Source:         
https://github.com/kevinboone/epub2txt2/archive/v%{version}.tar.gz
-Patch:          LICENSE.patch
-BuildRequires:  make
+URL:            https://github.com/kevinboone/epub2txt2
+Source0:        
https://github.com/kevinboone/epub2txt2/archive/10e9ac86df9a823d7470deaaa50c44d2857ee6f7.tar.gz
+Patch0:         LICENSE.patch
+Patch1:         bmwiedemann-sort.patch
 BuildRequires:  gcc
+BuildRequires:  make
 Requires:       unzip
 
 %description
 Simple command-line utility for extracting text from EPUB documents
 
 %prep
-%setup -q
-%patch -p1
+%setup -q -n %{name}-%{_commit_hash}
+%autopatch -p1
 
 %build
 %make_build

++++++ v2.01.tar.gz -> 10e9ac86df9a823d7470deaaa50c44d2857ee6f7.tar.gz ++++++
++++ 6469 lines of diff (skipped)

++++++ bmwiedemann-sort.patch ++++++
>From e2e366c0b3d0d2e50bfe6908d61785f6ee321a5c Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedem...@suse.de>
Date: Fri, 18 Mar 2022 19:51:22 +0100
Subject: [PATCH] Sort input file list

so that `epub2txt` builds in a reproducible way
in spite of indeterministic filesystem readdir order

See https://reproducible-builds.org/ for why this is good.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 2013cf1..449be7f 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ MANDIR  := /share/man
 APPNAME := epub2txt
 
 TARGET := epub2txt 
-SOURCES := $(shell find src/ -type f -name *.c)
+SOURCES := $(sort $(shell find src/ -type f -name *.c))
 OBJECTS := $(patsubst src/%,build/%,$(SOURCES:.c=.o))
 DEPS   := $(OBJECTS:.o=.deps)
 

Reply via email to