From 36eea5160949d169ec33fdacb883df250ff0f5cdb82f151a0332224d3c1d2f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 12 Feb 2016 17:59:52 +0000 Subject: [PATCH] Accepting request 359087 from home:pluskalm:branches:utilities - Update to 1.13 * buffer.c (put_sbuf_line): Fixed a memory leak. * io.c (read_file, write_file): Close file on error. OBS-URL: https://build.opensuse.org/request/show/359087 OBS-URL: https://build.opensuse.org/package/show/utilities/ed?expand=0&rev=22 --- ed-1.12.tar.xz | 3 --- ed-1.13.tar.xz | 3 +++ ed.changes | 7 +++++++ ed.spec | 26 +++++++++++++------------- 4 files changed, 23 insertions(+), 16 deletions(-) delete mode 100644 ed-1.12.tar.xz create mode 100644 ed-1.13.tar.xz diff --git a/ed-1.12.tar.xz b/ed-1.12.tar.xz deleted file mode 100644 index d0f7ce1..0000000 --- a/ed-1.12.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0d446a9c8b24b5ddf1046e365a56f8d8fc94a53825c72b57ccc9b9de1a4a5e24 -size 64360 diff --git a/ed-1.13.tar.xz b/ed-1.13.tar.xz new file mode 100644 index 0000000..ec3a9f2 --- /dev/null +++ b/ed-1.13.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26b76c415168133ffd8a3cb2f55a070f522624da50b992830b9e308f353a4ff8 +size 64412 diff --git a/ed.changes b/ed.changes index 1728b86..5e66e46 100644 --- a/ed.changes +++ b/ed.changes @@ -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 diff --git a/ed.spec b/ed.spec index aeb1be8..1451586 100644 --- a/ed.spec +++ b/ed.spec @@ -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