From aef7eda71e27e8e19e6ed5dcb3d3294a2b8c169b56c1f276ebdbb52f53b19f2b Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 24 Jun 2010 10:45:08 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=39 --- bash.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bash.spec b/bash.spec index 7c2f9fb..4b5c0d2 100644 --- a/bash.spec +++ b/bash.spec @@ -18,7 +18,10 @@ Name: bash -BuildRequires: bison fdupes ncurses-devel +BuildRequires: bison ncurses-devel +%if %suse_version > 1020 +BuildRequires: fdupes +%endif License: GPLv2+ Group: System/Shells %define bash_vers 4.1 @@ -558,7 +561,9 @@ EOF touch -t 199605181720.50 %{buildroot}%{_sysconfdir}/skel/.bash_history chmod 600 %{buildroot}%{_sysconfdir}/skel/.bash_history %find_lang bash +%if %suse_version > 1020 %fdupes -s %{buildroot}%{_datadir}/bash/helpfiles +%endif %post -n bash-doc %install_info --info-dir=%{_infodir} %{_infodir}/bash.info.gz