public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Xose Vazquez Perez <xose.vazquez@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mawk] f44: spec: modernize package configuration
Date: Fri, 26 Jun 2026 00:10:34 GMT	[thread overview]
Message-ID: <178243263423.1.10433135422973479582.rpms-mawk-6643129b108a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/mawk
            Branch : f44
            Commit : 6643129b108acbb50e438cf95ac97fcc3cbe1e59
            Author : Xose Vazquez Perez <xose.vazquez@gmail.com>
            Date   : 2026-05-22T15:54:14+02:00
            Stats  : +7/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/mawk/c/6643129b108acbb50e438cf95ac97fcc3cbe1e59?branch=f44

            Log:
            spec: modernize package configuration

- use %{__cc} to improve compiler flexibility
   (e.g., fedpkg mockbuild  -- --define "toolchain clang" )
- replace %setup with %autosetup
- and %make with %make_build

---
diff --git a/mawk.spec b/mawk.spec
index d88301c..6ed8137 100644
--- a/mawk.spec
+++ b/mawk.spec
@@ -2,12 +2,11 @@
 
 Name:		mawk
 Version:	1.3.4
-Release:	6.%{pver}%{?dist}
+Release:	7.%{pver}%{?dist}
 Epoch:		1
 Summary:	Interpreter for the AWK programming language
 License:	GPL-2.0-only
-BuildRequires:	make byacc
-BuildRequires:	gcc
+BuildRequires:	make byacc %{__cc}
 URL:		https://invisible-island.net/mawk/
 Source0:	https://invisible-island.net/archives/mawk/%{name}-%{version}-%{pver}.tgz
 
@@ -17,12 +16,12 @@ useful for manipulation of data files, text retrieval and processing, and for
 prototyping and experimenting with algorithms.
 
 %prep
-%setup -q -n %{name}-%{version}-%{pver}
+%autosetup -p1 -n %{name}-%{version}-%{pver}
 chmod 644 examples/*
 
 %build
 %configure
-make %{?_smp_mflags}
+%make_build
 
 %check
 make check
@@ -38,6 +37,9 @@ make install DESTDIR=%{buildroot} INSTALL='install -p'
 %{_mandir}/man7/mawk-*.7*
 
 %changelog
+* Tue Mar 03 2026  Xose Vazquez Perez <xose.vazquez@gmx.com>- 1:1.3.7-1.20260302
+- modernize spec
+
 * Tue Mar 03 2026 Thomas Dickey <dickey@invisible-island.net> - 1:1.3.4-1.20260302
 - upgrade to 1.3.4-20260302
 

                 reply	other threads:[~2026-06-26  0:10 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=178243263423.1.10433135422973479582.rpms-mawk-6643129b108a@fedoraproject.org \
    --to=xose.vazquez@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