Accepting request 567976 from Base:System

OBS-URL: https://build.opensuse.org/request/show/567976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rzsz?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-01-22 15:19:50 +00:00 committed by Git OBS Bridge
commit 30846677dc
3 changed files with 26 additions and 4 deletions

View File

@ -0,0 +1,11 @@
--- lrzsz-0.12.20.orig/src/lsz.c
+++ lrzsz-0.12.20/src/lsz.c
@@ -349,7 +349,7 @@ main(int argc, char **argv)
Rxtimeout = 600;
while ((c = getopt_long (argc, argv,
- "2+48abB:C:c:dfeEghHi:kL:l:m:M:NnOopRrqsSt:TUuvw:XYy",
+ "2+48abB:C:c:dfeEghHi:kL:l:m:M:NnOopRrqs:St:TUuvw:XYy",
long_options, (int *) 0))!=EOF)
{
unsigned long int tmp;

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Jan 21 13:35:25 UTC 2018 - benoit.monin@gmx.fr
- add lrzsz-0.12.20-fix-lsz-getopt.patch: fix for boo#1076576
-------------------------------------------------------------------
Thu Jan 18 12:42:46 UTC 2018 - tchvatal@suse.com
- Run spec-cleaner
-------------------------------------------------------------------
Sun Sep 3 18:57:20 UTC 2017 - benoit.monin@gmx.fr

View File

@ -1,7 +1,7 @@
#
# spec file for package rzsz
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -31,10 +31,11 @@ Patch5: lrzsz-implicit-decl.patch
Patch6: lrzsz-0.12.20-automake-1.12.patch
Patch7: lrzsz-0.12.20-automake-1.13.patch
Patch8: lrzsz-0.12.20-null-pointer.patch
# PATCH-FIX-UPSTREAM fix getopt optstring boo#1076576
Patch9: lrzsz-0.12.20-fix-lsz-getopt.patch
BuildRequires: autoconf
BuildRequires: automake
Provides: lrzsz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
rzsz allows you to use "sz filename" to send a file to your local
@ -49,6 +50,7 @@ system.
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
# Missing file
>> config.rpath
@ -64,7 +66,7 @@ autoreconf -fvi
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
%find_lang lrzsz
# Fix various symlinks
@ -85,7 +87,6 @@ make vcheck -j1
%endif
%files -f lrzsz.lang
%defattr(-,root,root)
%{_mandir}/man1/*
%doc README.* ABOUT-NLS AUTHORS COMPATABILITY COPYING ChangeLog NEWS THANKS TODO
%{_bindir}/rb