From 6bc63521eaefdc427a9381914de0d9edff4733b6 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Tue, 25 Jul 2017 13:57:00 +0200 Subject: [PATCH] fix rpmlint warnings --- lynx.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lynx.spec b/lynx.spec index c194444..0fc75a8 100644 --- a/lynx.spec +++ b/lynx.spec @@ -26,6 +26,7 @@ Patch3: lynx-2.8.8-locale.patch Provides: webclient Provides: text-www-browser +BuildRequires: dos2unix BuildRequires: gettext BuildRequires: openssl-devel BuildRequires: ncurses-devel @@ -102,6 +103,14 @@ rm -fv test/X test/nobody chmod -x samples/mailto-form.pl make install DESTDIR=$RPM_BUILD_ROOT +# remove unneeded files with incompatible encoding +rm -f docs/{OS-390.announce,README.jp} +rm -f samples/*.bat + +# convert line endings +dos2unix samples/lynx-demo.cfg +dos2unix samples/midnight.lss + # Install Lang dependent resources mkdir -p $RPM_BUILD_ROOT/usr/share/locale/ja/LC_MESSAGES/ @@ -122,6 +131,7 @@ EOF %changelog * Tue Jul 25 2017 Kamil Dudka - 2.8.9-0.17.dev16 +- fix rpmlint warnings - do not depend on perl - update upstream project URL - update to the latest upstream pre-release