public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tin] epel10.2: use modern macros and drop __foo macro usage
@ 2026-08-23 23:20 Dominik 'Rathann' Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-08-23 23:20 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/tin
Branch : epel10.2
Commit : b35c77e3f1a38b159b8a5969b3d41e5662246651
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date   : 2024-03-05T08:50:35+01:00
Stats  : +7/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/tin/c/b35c77e3f1a38b159b8a5969b3d41e5662246651?branch=epel10.2

Log:
use modern macros and drop __foo macro usage

---
diff --git a/tin.spec b/tin.spec
index 07ea700..17a850c 100644
--- a/tin.spec
+++ b/tin.spec
@@ -54,18 +54,18 @@ rm -r ${workdir}
 	--with-nntps=openssl \
 	--with-pcre2-config=/usr/bin/pcre2-config \
 
-%{__sed} -i -e 's/@\$(INSTALL) -s/@\$(INSTALL)/g' -e 's/@\$(CC)/\$(CC)/g' -e  's/@\$(CPP)/\$(CPP)/g' src/Makefile
+sed -i -e 's/@\$(INSTALL) -s/@\$(INSTALL)/g' -e 's/@\$(CC)/\$(CC)/g' -e  's/@\$(CPP)/\$(CPP)/g' src/Makefile
 
-%{__make} clean %{?_smp_mflags}
-%{__make} build %{?_smp_mflags}
+%make_build clean
+%make_build
 
 %install
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%make_install
 
 # url_handler.sh conflicts with mutt
-%{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/url_handler.pl
+rm -v %{buildroot}%{_bindir}/url_handler.pl
 # INSTALL file is not needed in the final RPM
-%{__rm} -f doc/INSTALL
+rm -v doc/INSTALL
 
 %find_lang %{name}
 
@@ -85,6 +85,7 @@ rm -r ${workdir}
 - enable long article number support
 - drop obsolete/redundant configure options
 - switch to package names in BuildRequires and sort alphabetically
+- use modern macros and drop __foo macro usage
 
 * Wed Jan 31 2024 Pete Walter <pwalter@fedoraproject.org> - 2.6.3-3
 - Rebuild for ICU 74

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

only message in thread, other threads:[~2026-08-23 23:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-23 23:20 [rpms/tin] epel10.2: use modern macros and drop __foo macro usage Dominik 'Rathann' Mierzejewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox