diff --git a/pinfo.spec b/pinfo.spec index e3095b9..2ec8d43 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -1,7 +1,7 @@ Summary: An info file viewer Name: pinfo Version: 0.6.10 -Release: 18%{?dist} +Release: 19%{?dist} Group: System Environment/Base License: GPLv2 URL: http://pinfo.alioth.debian.org @@ -16,9 +16,6 @@ Patch6: pinfo-0.6.10-man.patch BuildRequires: ncurses-devel BuildRequires: automake gettext-devel libtool texinfo Requires: xdg-utils -# for /sbin/install-info -Requires(post): info -Requires(preun): info %description Pinfo is an info file (or man page) viewer with a user interface @@ -26,23 +23,15 @@ similar to the Lynx Web browser's interface. Pinfo supports searching using regular expressions, and is based on the ncurses library. %prep -%setup -q -%patch1 -p1 -b .xdg -%patch2 -p1 -b .infosuff -%patch3 -p1 -b .nogroup -%patch4 -p1 -b .mansection -%patch5 -p1 -b .infopath -%patch6 -p1 -b .man +%autosetup -p1 %build ./autogen.sh %configure --without-readline -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT - -make DESTDIR=$RPM_BUILD_ROOT install +%make_install # These symbolic links conflict with actual binaries in perl-pmtools (bz 437612) # ln -sf pinfo $RPM_BUILD_ROOT%{_bindir}/pman # ln -sf pinfo.1 $RPM_BUILD_ROOT%{_mandir}/man1/pman.1 @@ -61,17 +50,10 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir %{_mandir}/man1/pinfo.1* # %{_mandir}/man1/pman.1* -%post -/sbin/install-info %{_infodir}/pinfo.info.gz %{_infodir}/dir &> /dev/null -: - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/pinfo.info.gz %{_infodir}/dir &> /dev/null -fi -: - %changelog +* Sat Jul 28 2018 Igor Gnatenko - 0.6.10-19 +- Replace obsolete scriptlets + * Fri Jul 13 2018 Fedora Release Engineering - 0.6.10-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild