From 6d96e6777cb3237c719a7e53293d188e9f8b6a49554a49a5317d333b1d8852a2 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Wed, 30 Mar 2022 00:05:07 +0000 Subject: [PATCH] - replace %{version} to a custom %{_commit_hash} to fix build errors OBS-URL: https://build.opensuse.org/package/show/utilities/epub2txt2?expand=0&rev=7 --- epub2txt2.changes | 5 +++++ epub2txt2.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/epub2txt2.changes b/epub2txt2.changes index 5fd845c..37036ed 100644 --- a/epub2txt2.changes +++ b/epub2txt2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 30 00:04:30 UTC 2022 - Soc Virnyl Estela + +- replace %{version} to a custom %{_commit_hash} to fix build errors + ------------------------------------------------------------------- Tue Mar 29 23:58:55 UTC 2022 - Soc Virnyl Estela diff --git a/epub2txt2.spec b/epub2txt2.spec index 074727d..3f84c2b 100644 --- a/epub2txt2.spec +++ b/epub2txt2.spec @@ -16,6 +16,8 @@ # +%global _commit_hash "10e9ac86df9a823d7470deaaa50c44d2857ee6f7" + Name: epub2txt2 Version: 2.03 Release: 0 @@ -34,7 +36,7 @@ Requires: unzip Simple command-line utility for extracting text from EPUB documents %prep -%setup -q -n %{name}-%{version} +%setup -q -n %{name}-%{_commit_hash} %autopatch -p1 %build