public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Simplify %setup .spec rule.
@ 2026-06-27 23:55 Jan Kratochvil
  0 siblings, 0 replies; only message in thread
From: Jan Kratochvil @ 2026-06-27 23:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 750e47124cebd6fc80144683c505bba202431e01
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2012-02-10T05:30:04+01:00
Stats  : +6/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/750e47124cebd6fc80144683c505bba202431e01?branch=gdb-17.2-rebase-f44

Log:
Simplify %setup .spec rule.

---
diff --git a/gdb.spec b/gdb.spec
index 0c5fd0e..9395c57 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -26,7 +26,7 @@ Version: 7.4.50.%{snap}
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 14%{?dist}
+Release: 15%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain
 Group: Development/Debuggers
@@ -39,7 +39,7 @@ Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 URL: http://gnu.org/software/gdb/
 
 # For our convenience
-%global gdb_src gdb-%{version}
+%global gdb_src %{name}-%{version}
 %global gdb_build build-%{_target_platform}
 %global gdb_docdir %{_docdir}/%{name}-doc-%{version}
 
@@ -665,11 +665,7 @@ Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 
 %prep
-
-# This allows the tarball name to be different from our
-# version-release name.
-
-%setup -q -n %{gdb_src}
+%setup -q
 
 %if 0%{?rhel:1} && 0%{?rhel} <= 6
 # libstdc++ pretty printers.
@@ -1205,6 +1201,9 @@ fi
 %{_infodir}/gdb.info*
 
 %changelog
+* Fri Feb 10 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-15.fc17
+- Simplify %%setup .spec rule.
+
 * Fri Feb 10 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-14.fc17
 - Drop --with upstream .spec rules.
 

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

only message in thread, other threads:[~2026-06-27 23:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 23:55 [rpms/gdb] gdb-17.2-rebase-f44: Simplify %setup .spec rule Jan Kratochvil

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