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/bonnie++] epel10: Modernize Makefile: support LDFLAGS and DESTDIR
Date: Sat, 30 May 2026 18:14:19 GMT [thread overview]
Message-ID: <178016485924.1.1031792315693571679.rpms-bonnie++-89104ec3657b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bonnie++
Branch : epel10
Commit : 89104ec3657b34c9900e091b7612e3eef85975f3
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-03-14T12:24:20-03:00
Stats : +2/-35 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/bonnie++/c/89104ec3657b34c9900e091b7612e3eef85975f3?branch=epel10
Log:
Modernize Makefile: support LDFLAGS and DESTDIR
---
diff --git a/bonnie++-makefile.patch b/bonnie++-makefile.patch
deleted file mode 100644
index bf94fbd..0000000
--- a/bonnie++-makefile.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- bonnie++-1.96.orig/Makefile.in 2009-12-09 10:01:09.000000000 -0500
-+++ bonnie++-1.96/Makefile.in 2009-12-09 10:02:33.000000000 -0500
-@@ -17,6 +17,8 @@ THREAD_LFLAGS=@thread_ldflags@
- INSTALL=@INSTALL@
- INSTALL_PROGRAM=@INSTALL_PROGRAM@
-
-+DESTDIR=
-+
- BONSRC=bonnie++.cpp bon_io.cpp bon_file.cpp bon_time.cpp semaphore.cpp \
- sync.cpp thread.cpp bon_suid.cpp duration.cpp rand.o util.o
- BONOBJS=$(BONSRC:.cpp=.o)
-@@ -52,15 +54,15 @@ generate_randfile: generate_randfile.o
- $(LINK) generate_randfile.o -o generate_randfile
-
- install-bin: $(EXE) $(EXES)
-- mkdir -p $(eprefix)/bin $(eprefix)/sbin
-- @INSTALL_PROGRAM@ @stripping@ $(EXES) $(eprefix)/sbin
-- @INSTALL_PROGRAM@ @stripping@ $(EXE) $(eprefix)/bin
-- @INSTALL_SCRIPT@ $(SCRIPTS) $(eprefix)/bin
-+ mkdir -p $(DESTDIR)$(eprefix)/bin $(DESTDIR)$(eprefix)/bin
-+ @INSTALL_PROGRAM@ @stripping@ $(EXES) $(DESTDIR)$(eprefix)/bin
-+ @INSTALL_PROGRAM@ @stripping@ $(EXE) $(DESTDIR)$(eprefix)/bin
-+ @INSTALL_SCRIPT@ $(SCRIPTS) $(DESTDIR)$(eprefix)/bin
-
- install: install-bin
-- mkdir -p @mandir@/man1 @mandir@/man8
-- @INSTALL_DATA@ $(MAN1) @mandir@/man1
-- @INSTALL_DATA@ $(MAN8) @mandir@/man8
-+ mkdir -p $(DESTDIR)@mandir@/man1 $(DESTDIR)@mandir@/man8
-+ @INSTALL_DATA@ $(MAN1) $(DESTDIR)@mandir@/man1
-+ @INSTALL_DATA@ $(MAN8) $(DESTDIR)@mandir@/man8
-
- %.o: %.cpp
- $(CXX) -c $<
diff --git a/bonnie++.spec b/bonnie++.spec
index 2495153..1fb5d25 100644
--- a/bonnie++.spec
+++ b/bonnie++.spec
@@ -6,7 +6,8 @@ Summary: Filesystem and disk benchmark & burn-in suite
License: GPL-2.0-only
URL: http://www.coker.com.au/bonnie++/
Source0: http://www.coker.com.au/bonnie++/experimental/bonnie++-%{version}.tgz
-Patch0: %{name}-makefile.patch
+# Modernize Makefile: support LDFLAGS and DESTDIR
+Patch0: %{name}-makefile-modernize.patch
# Fix build warnings (mismatched-dealloc, format-overflow, etc.)
Patch1: %{name}-2.00a-warnings.patch
# Address security issue: missing-call-to-setgroups-before-setuid
reply other threads:[~2026-05-30 18:14 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=178016485924.1.1031792315693571679.rpms-bonnie++-89104ec3657b@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