Accepting request 359090 from utilities

1

OBS-URL: https://build.opensuse.org/request/show/359090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ed?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2016-02-28 01:25:03 +00:00 committed by Git OBS Bridge
commit 1e779a5ab1
4 changed files with 23 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d446a9c8b24b5ddf1046e365a56f8d8fc94a53825c72b57ccc9b9de1a4a5e24
size 64360

3
ed-1.13.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26b76c415168133ffd8a3cb2f55a070f522624da50b992830b9e308f353a4ff8
size 64412

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 12 17:51:01 UTC 2016 - mpluskal@suse.com
- Update to 1.13
* buffer.c (put_sbuf_line): Fixed a memory leak.
* io.c (read_file, write_file): Close file on error.
-------------------------------------------------------------------
Sat Jul 11 09:49:02 UTC 2015 - mpluskal@suse.com

26
ed.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package ed
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: ed
Version: 1.12
Version: 1.13
Release: 0
Summary: GNU ed is a line-oriented text editor
License: GPL-3.0+ and LGPL-2.1+
@ -50,7 +50,7 @@ sed -i \
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
make %{?_smp_mflags} DESTDIR=%{buildroot} install
#UsrMerge
install -d -m 0755 %{buildroot}/bin
ln -s %{_bindir}/ed %{buildroot}/bin/ed
@ -59,20 +59,20 @@ ln -s %{_bindir}/ed %{buildroot}/bin/ed
%check
make %{?_smp_mflags} check
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
/bin/%{name}
%{_bindir}/%{name}
%{_bindir}/r%{name}
%doc %{_infodir}/%{name}.info.gz
%doc %{_mandir}/man1/%{name}.1.gz
%doc %{_mandir}/man1/r%{name}.1.gz
%post
%install_info --entry="* ed: (ed). Line-oriented text editor" --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
/bin/%{name}
%{_bindir}/%{name}
%{_bindir}/r%{name}
%{_infodir}/%{name}.info.*
%{_mandir}/man1/%{name}.1%{ext_man}
%{_mandir}/man1/r%{name}.1%{ext_man}
%changelog