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