- drop duplicate man pages (#583178)

This commit is contained in:
Karsten Hopp 2010-04-20 10:05:02 +00:00
parent 5b70eb665e
commit fceef04db2

View File

@ -1,7 +1,7 @@
Summary: The GNU line editor
Name: ed
Version: 1.4
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+
Group: Applications/Text
Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.gz
@ -32,11 +32,10 @@ make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
make install DESTDIR=$RPM_BUILD_ROOT \
bindir=/bin mandir=%{_mandir}/man1
bindir=/bin mandir=%{_mandir}
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
gzip -9qnf $RPM_BUILD_ROOT%{_infodir}/*
install -p -m0644 doc/ed.1 $RPM_BUILD_ROOT%{_mandir}/man1
%post
/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || :
@ -57,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/*
%changelog
* Tue Apr 20 2010 Karsten Hopp <karsten@redhat.com> 1.4-2
- drop duplicate man pages (#583178)
* Tue Mar 02 2010 Karsten Hopp <karsten@redhat.com> 1.4-1
- update to latest version