From fca41978c6bee20e469f7ff08c5339745956a93d Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 9 Sep 2013 17:56:38 +0200 Subject: [PATCH] Fix the version string to be GNU standards compliant (BZ 1004949). --- gdb.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gdb.spec b/gdb.spec index de0f0f8..3dfe929 100644 --- a/gdb.spec +++ b/gdb.spec @@ -34,7 +34,7 @@ Version: 7.5.1 # 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: 41%{?dist} +Release: 42%{?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 @@ -977,9 +977,9 @@ find -name "*.orig" | xargs rm -f # Change the version that gets printed at GDB startup, so it is RH specific. cat > gdb/version.in << _FOO %if 0%{!?rhel:1} -Fedora (%{version}-%{release}) +Fedora %{version}-%{release} %else # !0%{!?rhel:1} -Red Hat Enterprise Linux (%{version}-%{release}) +Red Hat Enterprise Linux %{version}-%{release} %endif # !0%{!?rhel:1} _FOO @@ -1470,6 +1470,9 @@ fi %endif # 0%{!?el5:1} || "%{_target_cpu}" == "noarch" %changelog +* Mon Sep 9 2013 Jan Kratochvil - 7.5.1-42.fc18 +- Fix the version string to be GNU standards compliant (BZ 1004949). + * Fri Aug 30 2013 Jan Kratochvil - 7.5.1-41.fc18 - New %%pre to fix failed upgrade of the previous commit (BZ 999645). - Fix false warnings of new %%pre during future upgrades (BZ 999645).