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
This commit is contained in:
committed by
Git OBS Bridge
parent
84b9320e23
commit
36eea51609
26
ed.spec
26
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
|
||||
|
Reference in New Issue
Block a user