update to ed-1.8, spec file cleanups

This commit is contained in:
Karsten Hopp 2013-05-14 14:43:55 +02:00
parent 2c932128eb
commit ea1929c25a
3 changed files with 14 additions and 11 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ ed-1.4.tar.gz
/ed-1.5.tar.gz /ed-1.5.tar.gz
/ed-1.6-1.fc18.src.rpm /ed-1.6-1.fc18.src.rpm
/ed-1.6.tar.gz /ed-1.6.tar.gz
/ed-1.8.tar.gz

22
ed.spec
View File

@ -1,14 +1,13 @@
Summary: The GNU line editor Summary: The GNU line editor
Name: ed Name: ed
Version: 1.6 Version: 1.8
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv3+ License: GPLv3+
Group: Applications/Text Group: Applications/Text
Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.gz Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.gz
URL: http://www.gnu.org/software/ed/ URL: http://www.gnu.org/software/ed/
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info Requires(preun): /sbin/install-info
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description %description
Ed is a line-oriented text editor, used to create, display, and modify Ed is a line-oriented text editor, used to create, display, and modify
@ -26,16 +25,16 @@ rm -f stamp-h.in
%build %build
%configure --exec-prefix=/ %configure --exec-prefix=/
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} CFLAGS="%{optflags}"
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 mkdir -p %{buildroot}/%{_mandir}/man1
make install DESTDIR=$RPM_BUILD_ROOT \ make install DESTDIR=%{buildroot} \
bindir=/bin mandir=%{_mandir} bindir=/bin mandir=%{_mandir}
rm -f $RPM_BUILD_ROOT%{_infodir}/dir* rm -f %{buildroot}/%{_infodir}/dir*
gzip -9qnf $RPM_BUILD_ROOT%{_infodir}/* gzip -9qnf %{buildroot}/%{_infodir}/*
%post %post
/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || : /sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || :
@ -46,7 +45,6 @@ if [ $1 = 0 ] ; then
fi fi
%clean %clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -56,6 +54,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Tue May 14 2013 Karsten Hopp <karsten@redhat.com> 1.8-1
- update to ed-1.8
- spec file cleanups
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

View File

@ -1 +1 @@
9a78593decccaa889523aa4bb555ed4b ed-1.6.tar.gz 2268d2344b3c52d23730acb2e3c942fe ed-1.8.tar.gz