[packages/ed] - fixed configure with new rpm macros; release 2

qboosh qboosh at pld-linux.org
Sat Mar 29 22:15:19 CET 2025


commit 039c938306e0425eb8134c443f8543d1e57688df
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 29 22:13:45 2025 +0100

    - fixed configure with new rpm macros; release 2

 ed.spec | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/ed.spec b/ed.spec
index ab30f03..fcbfa73 100644
--- a/ed.spec
+++ b/ed.spec
@@ -10,7 +10,7 @@ Summary(tr.UTF-8):	GNU satır düzenleyici
 Summary(uk.UTF-8):	Рядковий редактор GNU
 Name:		ed
 Version:	1.21.1
-Release:	1
+Release:	2
 License:	GPL v3+
 Group:		Applications/Editors
 Source0:	https://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.lz
@@ -94,8 +94,15 @@ Ed - это строчно-ориентированный текстовый р
 %{__rm} doc/ed.info
 
 %build
-# not autoconf configure, but options compatible
-%configure
+# not autoconf configure; partially options compatible, but doesn't allow passing variables via env
+./configure \
+	CC="%{__cc}" \
+	CPPFLAGS="%{rpmcppflags}" \
+	CFLAGS="%{rpmcflags} -Wall -W" \
+	LDFLAGS="%{rpmldflags}" \
+	--prefix=%{_prefix} \
+	--exec-prefix= \
+	--bindir=%{_bindir}
 
 %{__make} all doc
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ed.git/commitdiff/039c938306e0425eb8134c443f8543d1e57688df



More information about the pld-cvs-commit mailing list