From ff7dd2e10b3dd1b0e46d502f9ae2b0adf9f724cf 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 ca3502b0..70b6fd84 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