public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/global] epel10: global.spec: add support for regenerating the build system files, parsers, and scanners
@ 2026-06-20 19:51 Matthew Krupcale
  0 siblings, 0 replies; only message in thread
From: Matthew Krupcale @ 2026-06-20 19:51 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/global
            Branch : epel10
            Commit : 55d4a56109e4d83a96a8f71eb9f52bf531d18cb1
            Author : Matthew Krupcale <mkrupcale@gmail.com>
            Date   : 2026-06-20T15:31:42-04:00
            Stats  : +17/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/global/c/55d4a56109e4d83a96a8f71eb9f52bf531d18cb1?branch=epel10

            Log:
            global.spec: add support for regenerating the build system files, parsers, and scanners

Add support for regenerating the build system files, parsers, and scanners.

 * global.spec: add support for regenerating the build system files, parsers,
   and scanners

---
diff --git a/global.spec b/global.spec
index fe5c3ab..c867b66 100644
--- a/global.spec
+++ b/global.spec
@@ -1,3 +1,5 @@
+%bcond reconf           1
+
 Name:           global
 Version:        6.6.14
 Release:        1%{?dist}
@@ -35,6 +37,17 @@ BuildRequires:  ncurses-devel
 BuildRequires:  libtool-ltdl-devel
 BuildRequires:  python3-devel
 BuildRequires:  emacs
+%if %{with reconf}
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  bison
+BuildRequires:  flex
+BuildRequires:  gperf
+BuildRequires:  libtool
+BuildRequires:  m4
+BuildRequires:  perl-interpreter
+BuildRequires:  texinfo
+%endif
 %if 0%{?rhel} <= 8
 BuildRequires:  xemacs
 %endif
@@ -67,7 +80,10 @@ through Pygments and Universal Ctags.
 
 %prep
 %autosetup -p1
-touch -r configure.ac configure aclocal.m4 Makefile.in
+%if %{with reconf}
+chmod +x reconf.sh
+./reconf.sh
+%endif
 
 %conf
 %configure --with-posix-sort=/usr/bin/sort --with-universal-ctags=/usr/bin/ctags \

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

only message in thread, other threads:[~2026-06-20 19:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-20 19:51 [rpms/global] epel10: global.spec: add support for regenerating the build system files, parsers, and scanners Matthew Krupcale

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