public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/tin] epel10.2: use modern macros and drop __foo macro usage
Date: Sun, 23 Aug 2026 23:20:31 GMT	[thread overview]
Message-ID: <178752723149.1.18006071669704964617.rpms-tin-b35c77e3f1a3@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-23 23:20 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=178752723149.1.18006071669704964617.rpms-tin-b35c77e3f1a3@fedoraproject.org \
    --to=dominik@greysector.net \
    --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