Commit e4efe3c4fc25c62acf2f7171c880dd081d875279
1 parent
b923cd39
Exists in
master
and in
5 other branches
Atualizando pre-req do autoconf
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
pw3270.spec.in
@@ -48,10 +48,10 @@ | @@ -48,10 +48,10 @@ | ||
48 | %endif | 48 | %endif |
49 | 49 | ||
50 | %if 0%{?_redhat} | 50 | %if 0%{?_redhat} |
51 | - %define _redhat_prefix %(grep -q "Red Hat Linux" /etc/redhat-release && echo rhl || echo el) | ||
52 | - %define _redhat_vernum %(rpm -qf --queryformat %{VERSION} /etc/redhat-release|tr -d '.') | ||
53 | - %define _release %{_rel}.%{_redhat_prefix}%{_redhat_vernum} | ||
54 | - %define _distro %{_redhat_prefix} %{_redhat_vernum} | 51 | + %define _redhat_prefix %(grep -q "Red Hat Linux" /etc/redhat-release && echo rhl || echo el) |
52 | + %define _redhat_vernum %(rpm -qf --queryformat %{VERSION} /etc/redhat-release|tr -d '.') | ||
53 | + %define _release %{_rel}.%{_redhat_prefix}%{_redhat_vernum} | ||
54 | + %define _distro %{_redhat_prefix} %{_redhat_vernum} | ||
55 | %endif | 55 | %endif |
56 | 56 | ||
57 | %if 0%{?centos_ver} | 57 | %if 0%{?centos_ver} |
@@ -72,8 +72,8 @@ Summary: IBM 3270 Terminal emulator for gtk | @@ -72,8 +72,8 @@ Summary: IBM 3270 Terminal emulator for gtk | ||
72 | Source: %{name}-%{version}.tar.gz | 72 | Source: %{name}-%{version}.tar.gz |
73 | BuildRoot: %{_tmppath}/%{name}-%{version}-build | 73 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
74 | Requires: openssl shared-mime-info | 74 | Requires: openssl shared-mime-info |
75 | -Distribution: %_distro | ||
76 | -BuildRequires: autoconf automake gcc-c++ sed pkgconfig %{_vrsgtk}-devel gettext-devel libopenssl-devel findutils coreutils desktop-file-utils | 75 | +Distribution: %_distro |
76 | +BuildRequires: autoconf >= 2.61 automake gcc-c++ sed pkgconfig %{_vrsgtk}-devel gettext-devel libopenssl-devel findutils coreutils desktop-file-utils | ||
77 | 77 | ||
78 | %description | 78 | %description |
79 | IBM 3270 terminal emulator gtk. It can be used to communicate with | 79 | IBM 3270 terminal emulator gtk. It can be used to communicate with |