public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/dc3dd] rawhide: spec cleanup, fix F45FTBFS
@ 2026-07-22 23:39 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-22 23:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/dc3dd
Branch : rawhide
Commit : cd90f6abcf82461e646b21d0e44ef53ebe33ee58
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-07-21T01:28:12-03:00
Stats  : +14/-10 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/dc3dd/c/cd90f6abcf82461e646b21d0e44ef53ebe33ee58?branch=rawhide

Log:
spec cleanup, fix F45FTBFS

---
diff --git a/dc3dd.spec b/dc3dd.spec
index d38c886..e884992 100644
--- a/dc3dd.spec
+++ b/dc3dd.spec
@@ -19,16 +19,18 @@ Patch2:         dc3dd-configure-c99.patch
 # Patch2:         dc3dd-02_fix-FTBFS-with-glibc-2.28.patch
 
 
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  gcc
-BuildRequires:  git
 BuildRequires:  gettext
 BuildRequires:  gettext-devel
-BuildRequires:  gnulib-devel
-BuildRequires:  perl(Locale::gettext)
-BuildRequires:  perl(I18N::Langinfo)
-BuildRequires:  p7zip
-BuildRequires:  m4, readline-devel, autoconf, automake
+BuildRequires:  git
+BuildRequires:  m4
 BuildRequires:  make
+BuildRequires:  p7zip
+BuildRequires:  perl(I18N::Langinfo)
+BuildRequires:  perl(Locale::gettext)
+BuildRequires:  readline-devel
 
 %description
 dc3dd is a patched version of GNU dd to include a number of features useful
@@ -51,7 +53,7 @@ were rewritten for dc3dd.
 
 
 %prep
-%autosetup -S git
+%autosetup -p1
 
 #Missing x flag in version 7.2.646 makes the build fail
 chmod +x build-aux/git-version-gen configure
@@ -65,11 +67,13 @@ export CFLAGS="${CFLAGS} -std=gnu99"
 autoreconf -vif #BZ925238 - support aarch64
 # TODO check the --enable-hdparm option
 %configure 
-make %{?_smp_mflags}
+%make_build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install
+
+%check
+%make_build check
 
 %find_lang %{name}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-22 23:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 23:39 [rpms/dc3dd] rawhide: spec cleanup, 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