public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Simplify %setup .spec rule.
Date: Sat, 27 Jun 2026 23:55:24 GMT	[thread overview]
Message-ID: <178260452445.1.5229729396030788108.rpms-gdb-750e47124ceb@fedoraproject.org> (raw)

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.
 

                 reply	other threads:[~2026-06-27 23:55 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=178260452445.1.5229729396030788108.rpms-gdb-750e47124ceb@fedoraproject.org \
    --to=jan.kratochvil@redhat.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