From 5eed39980748e7d66e2a47d611803cd97c788916a66bfb5b33a0dca312431037 Mon Sep 17 00:00:00 2001
From: Stephan Kulow <coolo@suse.com>
Date: Fri, 19 Sep 2014 15:42:47 +0000
Subject: [PATCH] Accepting request 250161 from
 home:sfalken:branches:Base:System

- Removed %attr stanza from %files section as it was causing rpmlint
  failure, and is not neccessary
- Added fdupes to BuildRequires and to %install section to clear rpmlint
  warning about duplicate files

OBS-URL: https://build.opensuse.org/request/show/250161
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=28
---
 x3270.changes | 8 ++++++++
 x3270.spec    | 6 ++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/x3270.changes b/x3270.changes
index 9142b49..40b4cb9 100644
--- a/x3270.changes
+++ b/x3270.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Thu Sep 18 20:36:53 UTC 2014 - sfalken@opensuse.org
+
+- Removed %attr stanza from %files section as it was causing rpmlint
+  failure, and is not neccessary
+- Added fdupes to BuildRequires and to %install section to clear rpmlint
+  warning about duplicate files 
+
 -------------------------------------------------------------------
 Mon Aug  4 14:08:34 UTC 2014 - jjolly@suse.com
 
diff --git a/x3270.spec b/x3270.spec
index 9f74685..cc87092 100644
--- a/x3270.spec
+++ b/x3270.spec
@@ -21,6 +21,7 @@
 Name:           x3270
 BuildRequires:  autoconf
 BuildRequires:  bdftopcf
+BuildRequires:  fdupes
 BuildRequires:  fontpackages-devel
 BuildRequires:  freetype2
 BuildRequires:  ncurses-devel
@@ -216,7 +217,8 @@ cp -pr --parents c3270-3.3/html %{buildroot}%{_docdir}/%name
 cp -pr --parents pr3287-3.3/html %{buildroot}%{_docdir}/%name
 cp -pr --parents s3270-3.3/{Examples,html} %{buildroot}%{_docdir}/%name
 cp -pr --parents tcl3270-3.3/{Examples,html} %{buildroot}%{_docdir}/%name
-
+# create symlinks in documentation
+%fdupes -s %{buildroot}/%{_docdir} 
 %reconfigure_fonts_scriptlets
 
 %files
@@ -257,6 +259,6 @@ cp -pr --parents tcl3270-3.3/{Examples,html} %{buildroot}%{_docdir}/%name
 %doc %{_docdir}/%name/tcl3270-3.3/html
 # x026
 %{_bindir}/x026
-%doc %attr(644,root,root) README.SUSE
+%doc README.SUSE
 
 %changelog