public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ebook-tools] rawhide: Fix F45FTBFS
@ 2026-07-16 3:44 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-16 3:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ebook-tools
Branch : rawhide
Commit : 4c3f0cbaa818103e4dcab3b35986e8fcd3e083df
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-07-16T00:44:24-03:00
Stats : +8/-15 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ebook-tools/c/4c3f0cbaa818103e4dcab3b35986e8fcd3e083df?branch=rawhide
Log:
Fix F45FTBFS
Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
---
diff --git a/ebook-tools.spec b/ebook-tools.spec
index 77c701a..576d337 100644
--- a/ebook-tools.spec
+++ b/ebook-tools.spec
@@ -1,7 +1,3 @@
-
-# set this until when/if we port to new cmake macros
-%global __cmake_in_source_build 1
-
Name: ebook-tools
Version: 0.2.2
Release: 32%{?dist}
@@ -12,17 +8,15 @@ URL: http://sourceforge.net/projects/ebook-tools/
Source0: http://downloads.sourceforge.net/ebook-tools/%{name}-%{version}.tar.gz
-
## upstreamable patches
# support libzip pkgconfig
Patch51: ebook-tools-0.2.1-libzip_pkgconfig.patch
BuildRequires: cmake
BuildRequires: gcc
+BuildRequires: make
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libzip)
-BuildRequires: make
-
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description
@@ -47,16 +41,15 @@ The %{name}-libs package contains libraries to be used by
%build
-mkdir %{_target_platform}
-pushd %{_target_platform}
-%{cmake} ..
-popd
-
-%{make_build} -C %{_target_platform}
-
+export CMAKE_POLICY_VERSION_MINIMUM=3.5
+%{cmake} \
+%if "%{?_lib}" == "lib64"
+ %{?_cmake_lib_suffix64}
+%endif
+%cmake_build
%install
-make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+%cmake_install
#remove because it doesnt work without clit
rm -f %{buildroot}%{_bindir}/lit2epub
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-16 3:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 3:44 [rpms/ebook-tools] rawhide: Fix F45FTBFS Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox