SHA256
3
0
forked from pool/sed

Accepting request 162945 from Base:System

- Add Source URL, see https://en.opensuse.org/SourceUrls (forwarded request 162806 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/162945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sed?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2013-04-07 12:26:50 +00:00 committed by Git OBS Bridge
commit fadc947afd
6 changed files with 94 additions and 20 deletions

View File

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

3
sed-4.2.2.tar.bz2 Normal file
View File

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

BIN
sed-4.2.2.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Fri Apr 5 12:08:28 UTC 2013 - idonmez@suse.com
- Add Source URL, see https://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Tue Jan 22 18:20:25 CET 2013 - sbrabec@suse.cz
- Update to version 4.2.2:
* don't truncate input for lines of length 2^31 and longer
* fix endless loop on incomplete multibyte sequences (bnc#743689)
* -u also does unbuffered input
* New command `F' to print current input file name
* sed -i, s///w, and the `w' and `W' commands also obey the
--binary option
* --posix fails for scripts that end in a backslash.
* New option -z (--null-data) to separate lines by ASCII NUL.
* \x26 (and similar escaped sequences) produces a literal & in
the replacement argument of the s/// command.
- Split lang package.
- Option to verify GPG signature.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 3 15:20:39 UTC 2012 - rschweikert@suse.com Fri Feb 3 15:20:39 UTC 2012 - rschweikert@suse.com

44
sed.keyring Normal file
View File

@ -0,0 +1,44 @@
pub 1024D/A750566F 2003-10-21
uid Paolo Bonzini <bonzini@gnu.org>
uid Paolo Bonzini <pbonzini@redhat.com>
uid Paolo Bonzini <paolo.bonzini@gmail.com>
uid Paolo Bonzini <paolo.bonzini@polimi.it>
uid Paolo Bonzini <paolo.bonzini@lu.unisi.ch>
sub 1024g/FAD12688 2003-10-21
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.19 (GNU/Linux)
mQGiBD+U77wRBAC9sGug59V/lBjYZl1d7LT6lyq4v2K+TJ6HtHWjCNKmvRwPxRDW
TbHfKGgP0+zcEyYJaBUAQBmahNTKj2hwcyOkTcmmS2zhfLYv52AE7uW9cw8Qe8jw
eP7bslMrCo6fm6LS8ukihrQzu0kWv7GWU6Y5mHceeqcZH+3qnv1CUlOagwCgr3rA
bNDK8at4/llgfIVvUr98SCsEAI7DixENH8qwUTwzL43UikZh9zxWhipTtrCd5Cu0
eojRTL1uSEs9sHEsBqfpVAFNNcgNwUozNLmT95EyaIvmFhuNjSshjGYtN+R2zVQD
sNpRAPIES1ZdsVTiu/lq1avFSdLY1+rVMWI0OILckWkyhY5mGCTYP2MHCZJEjyW5
Rj4IBACC2qa761p7RbfrWRwvp8n84gAG4pusZt4y8FbUdBC02bUxFVjQFfQH+6TX
o0PeKZUJmdH3yHanlxqgaKL9VIwXhFIuY+pqZsIpzC9yh+OhOaQr1nPEhMmYFc5f
m/T4sdc3JO6NZEZ3i6oq8aLRk+LjKmC40aZ+FoLui7IVlhQ9ibQfUGFvbG8gQm9u
emluaSA8Ym9uemluaUBnbnUub3JnPohhBBMRAgAhAh4BAheAAhkBBQJKBH0qBQsJ
CAcDBRUKCQgLBRYCAwEAAAoJECaE+aynUFZv2XwAn05RHoAilL0i087Xm5j65M3I
cGCeAJ0WEIrSo3KB00EhprgFo19E740odbQjUGFvbG8gQm9uemluaSA8cGJvbnpp
bmlAcmVkaGF0LmNvbT6IYAQTEQIAIAUCSs3n4QIbIwYLCQgHAwIEFQIIAwQWAgMB
Ah4BAheAAAoJECaE+aynUFZvQPIAniGB2bL7Si6LKWUOGz7kytu9U+fMAKCXw5jY
2GQTu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KEY BLOCK-----

View File

@ -1,7 +1,7 @@
# #
# spec file for package sed # spec file for package sed
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,17 +17,23 @@
Name: sed Name: sed
Version: 4.2.1 Version: 4.2.2
Release: 0 Release: 0
Summary: A Stream-Oriented Non-Interactive Text Editor Summary: A Stream-Oriented Non-Interactive Text Editor
License: GPL-3.0+ License: GPL-3.0+
Group: System/Base Group: System/Base
Url: http://www.gnu.org/directory/sed.html Url: http://www.gnu.org/software/sed/
Source: %name-%version.tar.bz2 Source: ftp://ftp.gnu.org/gnu/sed/%{name}-%{version}.tar.bz2
Source1: %{name}-%{version}.tar.bz2.sig
Source2: %{name}.keyring
# Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=sed sed-*.sig".
%if 0%{?VERIFY_SIG}
BuildRequires: gpg-offline
%endif
PreReq: %install_info_prereq PreReq: %install_info_prereq
Provides: base:/bin/sed Provides: base:/bin/sed
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
%description %description
Sed takes text input, performs one or more operations on it, and Sed takes text input, performs one or more operations on it, and
@ -35,21 +41,21 @@ outputs the modified text. Sed is typically used for extracting parts
of a file using pattern matching or for substituting multiple of a file using pattern matching or for substituting multiple
occurrences of a string within a file. occurrences of a string within a file.
%lang_package
%prep %prep
%if 0%{?VERIFY_SIG}
%gpg_verify %{S:1}
%endif
%setup -q %setup -q
%build %build
%define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security %define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security
%{?suse_update_config:%{suse_update_config}}
cp /usr/share/gettext/config.rpath config
autoreconf --force --install
test -f po/Makevars.template && mv po/Makevars.template po/Makevars
export CFLAGS="%{optflags} %warn_flags" export CFLAGS="%{optflags} %warn_flags"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--mandir=%{_mandir} \ --mandir=%{_mandir} \
--infodir=%{_infodir} \ --infodir=%{_infodir} \
--without-included-regex \ --without-included-regex \
%{_target_cpu}-suse-linux %{_target_cpu}-suse-linux
%if %do_profiling %if %do_profiling
make %{?_smp_mflags} CFLAGS="$CFLAGS "%cflags_profile_generate make %{?_smp_mflags} CFLAGS="$CFLAGS "%cflags_profile_generate
make %{?_smp_mflags} check make %{?_smp_mflags} check
@ -66,15 +72,17 @@ make %{?_smp_mflags} check
mkdir -p %{buildroot}/bin mkdir -p %{buildroot}/bin
ln -s %{_bindir}/sed %{buildroot}/bin/sed ln -s %{_bindir}/sed %{buildroot}/bin/sed
#EndUserMerge #EndUserMerge
%find_lang %name %find_lang %{name}
%files -f %name.lang %files
%defattr(-, root, root) %defattr(-, root, root)
/bin/sed /bin/sed
%{_bindir}/sed %{_bindir}/sed
%doc AUTHORS BUGS COPYING* NEWS README* THANKS %doc AUTHORS BUGS COPYING* NEWS README* THANKS
%{_infodir}/sed.info*.gz %doc %{_infodir}/sed.info*.gz
%{_mandir}/man*/*.gz %doc %{_mandir}/man*/*.gz
%files lang -f %{name}.lang
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/%name.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/%name.info.gz