Fix the version string to be GNU standards compliant (BZ 1004949).

This commit is contained in:
Jan Kratochvil 2013-09-09 17:56:38 +02:00
parent 3795487085
commit fca41978c6
1 changed files with 6 additions and 3 deletions

View File

@ -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 <jan.kratochvil@redhat.com> - 7.5.1-42.fc18
- Fix the version string to be GNU standards compliant (BZ 1004949).
* Fri Aug 30 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 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).