From 5206642072a3e65aa47cba81c9d08856ee2f7bd1 Mon Sep 17 00:00:00 2001
From: Yury V. Zaytsev <yury@shurup.com>
Date: Sat, 28 Nov 2009 22:08:48 +0100
Subject: [PATCH] Fixed forgotten PCRE dependency for EL5.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
---
contrib/dist/redhat/mc.spec.in | 24 ++++++++++++++----------
1 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/contrib/dist/redhat/mc.spec.in b/contrib/dist/redhat/mc.spec.in
index 2d87df6..9d1a9e1 100644
a
|
b
|
URL: http://www.midnight-commander.org/ |
32 | 32 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
33 | 33 | BuildRequires: e2fsprogs-devel gpm-devel |
34 | 34 | |
| 35 | %if %{legacy_rhel}%{?el5} |
| 36 | BuildRequires: pcre-devel |
| 37 | %endif |
| 38 | |
35 | 39 | %if %{legacy_rhel} |
36 | 40 | |
37 | | BuildRequires: pcre-devel ncurses-devel |
| 41 | BuildRequires: ncurses-devel |
38 | 42 | |
39 | 43 | # From Glib |
40 | | BuildRequires: pkgconfig |
41 | | BuildRequires: gettext |
| 44 | BuildRequires: pkgconfig gettext |
42 | 45 | |
43 | 46 | %else |
44 | 47 | BuildRequires: glib2-devel slang-devel |
… |
… |
rm -rf $RPM_BUILD_ROOT |
150 | 153 | |
151 | 154 | %changelog |
152 | 155 | * Fri Nov 27 2009 Yury V. Zaytsev <yury@shurup.com> |
153 | | - Rewritten and simplified static build procedure. |
| 156 | - Fixed debug info generation for legacy distros |
| 157 | - Rewritten and simplified static build procedure |
154 | 158 | |
155 | 159 | * Mon Oct 26 2009 Andrew Borodin <aborodin@vmail.ru> |
156 | | - Add new %%{_sysconfdir}/mc/mc.keymap.* files. |
| 160 | - Added new %%{_sysconfdir}/mc/mc.keymap.* files |
157 | 161 | |
158 | 162 | * Fri Sep 04 2009 Slava Zanko <slavazanko@gmail.com> |
159 | 163 | - Add new file %%{_sysconfdir}/mc/filehighlight.ini |
160 | 164 | |
161 | 165 | * Sat Aug 01 2009 Yury V. Zaytsev <yury@shurup.com> |
162 | 166 | - Fixed EL4 (and supposedly EL3) builds |
163 | | - Fixed some of rpmlint warnings |
| 167 | - Fixed some of the rpmlint warnings |
164 | 168 | |
165 | 169 | * Sat Jul 04 2009 Yury V. Zaytsev <yury@shurup.com> |
166 | 170 | - Fix the issue when wrappers were left unpackaged |
… |
… |
rm -rf $RPM_BUILD_ROOT |
169 | 173 | - Fix install patches: use %%{_sysconfdir}/mc directory |
170 | 174 | |
171 | 175 | * Fri May 8 2009 Slava Zanko <slavazanko@gmail.com> |
172 | | - Review spec-file to build on the current distributions |
173 | | - Change build rules |
174 | | - Fix install pathes |
| 176 | - Reviewed spec-file to build on the current distributions |
| 177 | - Changed build rules |
| 178 | - Fixed install paths |
175 | 179 | |
176 | 180 | * Fri Jun 22 2007 Pavel Roskin <proski@gnu.org> |
177 | | - Make cons.saver suid vcsa, it's needed for Fedora 7 |
| 181 | - Made cons.saver suid vcsa, it's needed for Fedora 7 |
178 | 182 | |
179 | 183 | * Thu Dec 21 2006 Pavel Roskin <proski@gnu.org> |
180 | 184 | - Don't rely on brace expansion, it may be disabled |