public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ebook-tools] rawhide: Fix F45FTBFS
Date: Thu, 16 Jul 2026 03:44:33 GMT	[thread overview]
Message-ID: <178417347301.1.12756986640490440750.rpms-ebook-tools-4c3f0cbaa818@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-16  3:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178417347301.1.12756986640490440750.rpms-ebook-tools-4c3f0cbaa818@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox