SHA256
1
0
forked from pool/sed

Accepting request 29343 from Base:System

Copy from Base:System/sed based on submit request 29343 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sed?expand=0&rev=7
This commit is contained in:
OBS User autobuild 2010-01-14 15:39:18 +00:00 committed by Git OBS Bridge
parent d346c0b2b5
commit a72d2f686f
2 changed files with 12 additions and 200 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 8 00:01:17 CET 2009 - jengelh@medozas.de
- enable parallel building
-------------------------------------------------------------------
Mon Feb 18 17:57:19 CET 2008 - dmueller@suse.de

207
sed.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package sed (Version 4.1.5)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,7 +21,7 @@
Name: sed
Url: http://www.gnu.org/directory/sed.html
Version: 4.1.5
Release: 128
Release: 129
License: GPL v2 or later
Group: System/Base
Summary: A Stream-Oriented Non-Interactive Text Editor
@ -130,14 +130,14 @@ export CFLAGS="$RPM_OPT_FLAGS %warn_flags"
--enable-html \
%{_target_cpu}-suse-linux
%if %do_profiling
make CFLAGS="$CFLAGS "%cflags_profile_generate
make check
make %{?jobs:-j%jobs} CFLAGS="$CFLAGS "%cflags_profile_generate
make %{?jobs:-j%jobs} check
make clean
make CFLAGS="$CFLAGS "%cflags_profile_feedback
make %{?jobs:-j%jobs} CFLAGS="$CFLAGS "%cflags_profile_feedback
%else
make
make %{?jobs:-j%jobs}
%endif
make check
make %{?jobs:-j%jobs} check
%install
%makeinstall
@ -165,196 +165,3 @@ rm -f $RPM_BUILD_ROOT/usr/share/doc/sed.html $RPM_BUILD_ROOT/usr/share/doc/sed-4
%install_info_delete --info-dir=%_infodir %_infodir/%name.info.gz
%changelog
* Mon Feb 18 2008 dmueller@suse.de
- use %%find_lang
- fix rpmlint warnings
* Fri Mar 09 2007 mkoenig@suse.de
- add --follow-symlinks option [#200082]
- fix 'used uninitialized' warnings [#248721]
* Mon Aug 07 2006 jsmeix@suse.de
- Updated to version 4.1.5:
Fix parsing of a negative character class not including a closed
bracket, like [^]] or [^]a-z].
Fix parsing of [ inside an y command, like y/[/A/.
Output the result of commands a, r, R when a q command is found.
- off-by-one.diff: obsolete (fixed in the source).
- configure needs --enable-html to build sed.html (default=no)
and it is installed into usr/share/doc/sed-4.1.5/
* Mon Jul 17 2006 jsmeix@suse.de
- Fixed the "fix build" below for our current different build
environments on our different architectures:
On s390 and s390x the sed.html documentation is still installed
into usr/share/doc/ but on the other architectures it is
installed into usr/share/doc/sed/
* Mon Jul 03 2006 cthiel@suse.de
- fix build
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 19 2006 agruen@suse.de
- off-by-one.diff: Report the correct back-reference number if
a substitution's left-hand side does not contain enough groups.
* Fri Apr 01 2005 schwab@suse.de
- Don't use included regex.
* Mon Jan 31 2005 mmj@suse.de
- Update to 4.1.4 including:
o \B correctly means "not on a word boundary" rather than
"inside a word"
o bugfixes for platform without internationalization
o more thorough testing framework for tarballs
(`make full-distcheck')
* Sat Jan 22 2005 mmj@suse.de
- Update to 4.1.3 including:
o regex addresses do not use leftmost-longest matching. In
other words, /.\+/ only looks for a single character, and
does not try to find as many of them as possible like it used
to do.
o added a note to BUGS and the manual about changed interpretation
of `s|abc\|def||', and about localization issues.
o fixed --disable-nls build problems on Solaris.
o fixed `make check' in non-English locales.
o `make check' tests the regex library by default if the
included regex is used (regex tests had to be enabled
separately up to now).
* Fri Sep 17 2004 uli@suse.de
- fixed segfault (bug #45491)
* Sun Aug 22 2004 mmj@suse.de
- Update to sed-4.1.2 including:
o fix bug in 'y' command in multi-byte character sets
o fix severe bug in parsing of ranges with an embedded open bracket
o fix off-by-one error when printing a "bad command" error
* Wed Jul 07 2004 mmj@suse.de
- Update to 4.1.1 including the initialization fix of output_fd
* Wed Jun 23 2004 ro@suse.de
- do initialize output_fd before use
* Wed Jun 16 2004 mmj@suse.de
- Update to 4.1 including:
o // matches the last regular expression even in
POSIXLY_CORRECT mode.
o change the way we treat lines which are not terminated by a
newline. Such lines are printed without the terminating
newline (as before) but as soon as more text is sent to the
same output stream, the missing newline is printed, so that
the two lines don't concatenate. The behavior is now
independent from POSIXLY_CORRECT because POSIX actually has
undefined behavior in this case, and the new implementation
arguably gives the ``least expected surprise''.
o documentation improvements, with updated references to the
POSIX.2 specification
o error messages on I/O errors are better, and -i does not
leave temporary files around (e.g. when running ``sed -i'' on
a directory) [#35419]
o escapes are accepted in the y command (for example: y/o/\n/
transforms o's into newlines)
o -i option tries to set the owner and group to the same as the
input file
o `L' command is deprecated and will be removed in sed 4.2.
o line number addresses are processed differently -- this is
supposedly conformant to POSIX and surely more idiot-proof.
Line number addresses are not affected by jumping around
them: they are activated and deactivated exactly where the
script says, while previously 5,8b 1,5d would actually delete
lines 1,2,3,4 and 9 (!).
o multibyte characters are taken in consideration to compute
the operands of s and y, provided you set LC_CTYPE correctly.
They are also considered by \l, \L, \u, \U, \E.
o [\n] matches either backslash or 'n' when POSIXLY_CORRECT.
o new option --posix, disables all GNU extensions.
POSIXLY_CORRECT only disables GNU extensions that violate the
POSIX standard.
o options -h and -V are not supported anymore, use --help and
--version.
o removed documentation for \s and \S which worked incorrectly
o restored correct behavior for \w and \W: match [[:alnum:]_]
and [^[:alnum:]_] (they used to match [[:alpha:]_] and
[^[:alpha:]_]
o the special address 0 can only be used in 0,/RE/ or 0~STEP
addresses; other cases give an error (you are hindering
portability for no reason if specifying 0,N and you are
giving a dead command if specifying 0 alone).
o when a \ is used to escape the character that would terminate
an operand of the s or y commands, the backslash is removed
before the regex is compiled. This is left undefined by
POSIX; this behavior makes `s+x\+++g' remove occurrences of
`x+', consistently with `s/x\///g'. (However, if you enjoy
yourself trying `s*x\***g', sed will use the `x*' regex, and
you won't be able to pass down `x\*' while using * as the
delimiter; ideas on how to simplify the parser in this
respect, and/or gain more coherent semantics, are welcome).
* Fri Mar 12 2004 mmj@suse.de
- Remove created tempfile in the case of rename failing [#35419]
* Tue Feb 24 2004 mmj@suse.de
- Update to 4.0.9 with the following changes since 4.0.6:
o 0 address behaves correctly in single-file (-i and -s) mode.
o documentation improvements.
o tested with many hosts and compilers.
o updated regex matcher from upstream, with many bugfixes and
speedups.
o the `N' command's feature that is detailed in the BUGS file was
disabled by the first change below in sed 4.0.8. The behavior
has now been restored, and is only enabled if POSIXLY_CORRECT
behavior is not requested.
o fix `sed n' printing the last line twice.
o fix incorrect error message for invalid character classes.
o fix segmentation violation with repeated empty subexpressions.
o fix incorrect parsing of ^ after escaped (.
o more comprehensive test suite (and with many expected failures...)
o fix for -i option under Cygwin
o VPATH builds working on non-glibc machines
o fixed bug in s///Np: was printing even if less than N matches were
found.
o fixed infinite loop on s///N when LHS matched a null string and
there were not enough matches in pattern space
o behavior of s///N is consistent with s///g when the LHS can match
a null string (and the infinite loop did not happen :-)
o updated some translations
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Fri Jun 20 2003 ro@suse.de
- build with current gettext
* Wed Jun 04 2003 jh@suse.de
- Enable profile feedback
* Thu Apr 24 2003 ro@suse.de
- fix install_info --delete call and move from preun to postun
* Fri Mar 21 2003 pthomas@suse.de
- Update to 4.0.6
* Fri Feb 07 2003 ro@suse.de
- added install_info macros
* Mon Nov 18 2002 ro@suse.de
- set AM_GNU_GETTEXT_VERSION and use 0.10.36 since this is the
first one with DESTDIR support
* Fri Sep 20 2002 pthomas@suse.de
- Correctly reference regex(7) from man page, remove the
obsolete remark. Fixes bug #19923.
* Wed Aug 14 2002 pthomas@suse.de
- Fix configure.in so that --with-regex=no actually does
work.
- Make sed use glibc's regex/regex.h.
* Wed Jul 03 2002 poeml@suse.de
- enable 'make check' again on ppc64
* Wed Jul 03 2002 bk@suse.de
- add man page and remove joe from neededforbuild, no rebuild by joe
* Tue Jun 04 2002 pthomas@suse.de
- Move tar and sed to separate packages.
- Update to 3.02.80
- Adapt i18n patch.
- Call autoreconf.
- Update regex.c and regex.h to glibc 2.2.5 versions.
- Use AM_MAINTAINER_MODE and don't enable it (no reconfiguration).
- rework the autoconf test involving LIBOBJS
- Remove acinclude.m4.
- Make acconfig.h obsolete.
* Wed May 22 2002 olh@suse.de
- disable sed make check on ppc64
* Wed May 22 2002 olh@suse.de
- allow build as user, use buildroot
* Fri Nov 23 2001 mfabian@suse.de
- add sed-3.02-i18n-0.5.patch from
http://oss.software.ibm.com/developer/opensource/linux/patches/i18n/
with this patch, sed passes the tests for the LI18NUX2K.L1
specification.
* Wed May 09 2001 cstein@suse.de
- repacked sources of sed with bzip2.
* Mon May 29 2000 kukuk@suse.de
- Move sed to /bin, add compat link
* Mon Jan 17 2000 ro@suse.de
- info -> /usr/share/info