This commit is contained in:
parent
66fb3373f2
commit
27e6c02694
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 18 17:57:19 CET 2008 - dmueller@suse.de
|
||||||
|
|
||||||
|
- use %find_lang
|
||||||
|
- fix rpmlint warnings
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 9 17:31:50 CET 2007 - mkoenig@suse.de
|
Fri Mar 9 17:31:50 CET 2007 - mkoenig@suse.de
|
||||||
|
|
||||||
|
98
sed.spec
98
sed.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package sed (Version 4.1.5)
|
# spec file for package sed (Version 4.1.5)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -10,25 +10,26 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: sed
|
Name: sed
|
||||||
URL: http://www.gnu.org/directory/sed.html
|
Url: http://www.gnu.org/directory/sed.html
|
||||||
Version: 4.1.5
|
Version: 4.1.5
|
||||||
Release: 29
|
Release: 85
|
||||||
License: GNU General Public License (GPL)
|
License: GPL v2 or later
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
Summary: A Stream-Oriented Noninteractive Text Editor
|
Summary: A Stream-Oriented Non-Interactive Text Editor
|
||||||
Provides: base:/bin/sed
|
Provides: base:/bin/sed
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
Source: %name-%version.tar.bz2
|
Source: %name-%version.tar.bz2
|
||||||
Patch0: sed-follow_symlinks.patch
|
Patch0: sed-follow_symlinks.patch
|
||||||
Patch1: sed-4.1.5-fix_warnings.patch
|
Patch1: sed-4.1.5-fix_warnings.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sed takes text input, performs some operation (or set of operations) on
|
Sed takes text input, performs one or more operations on it, and
|
||||||
it, and outputs the modified text. Sed is typically used for extracting
|
outputs the modified text. Sed is typically used for extracting parts
|
||||||
part of a file using pattern matching or 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.
|
||||||
|
|
||||||
|
|
||||||
@ -132,8 +133,7 @@ export CFLAGS="$RPM_OPT_FLAGS %warn_flags"
|
|||||||
make check
|
make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%makeinstall
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
|
||||||
# Move sed to /bin:
|
# Move sed to /bin:
|
||||||
mkdir -p $RPM_BUILD_ROOT/bin
|
mkdir -p $RPM_BUILD_ROOT/bin
|
||||||
mv $RPM_BUILD_ROOT/usr/bin/sed $RPM_BUILD_ROOT/bin
|
mv $RPM_BUILD_ROOT/usr/bin/sed $RPM_BUILD_ROOT/bin
|
||||||
@ -141,16 +141,15 @@ ln -s ../../bin/sed $RPM_BUILD_ROOT/usr/bin/sed
|
|||||||
# Remove installed documentation (it is packaged directly in the files section).
|
# Remove installed documentation (it is packaged directly in the files section).
|
||||||
# The actual directory depends on the build environment on the different architectures:
|
# The actual directory depends on the build environment on the different architectures:
|
||||||
rm -f $RPM_BUILD_ROOT/usr/share/doc/sed.html $RPM_BUILD_ROOT/usr/share/doc/sed-4.1.5/sed.html
|
rm -f $RPM_BUILD_ROOT/usr/share/doc/sed.html $RPM_BUILD_ROOT/usr/share/doc/sed-4.1.5/sed.html
|
||||||
|
%find_lang %name
|
||||||
|
|
||||||
%files
|
%files -f %name.lang
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
/bin/sed
|
/bin/sed
|
||||||
/usr/bin/sed
|
/usr/bin/sed
|
||||||
%doc AUTHORS BUGS COPYING* INSTALL NEWS README* THANKS doc/sed.html
|
%doc AUTHORS BUGS COPYING* INSTALL NEWS README* THANKS doc/sed.html
|
||||||
|
|
||||||
%_infodir/sed.info*.gz
|
%_infodir/sed.info*.gz
|
||||||
%_mandir/man*/*.gz
|
%_mandir/man*/*.gz
|
||||||
/usr/share/locale/*/LC_MESSAGES/sed.mo
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir=%_infodir %_infodir/%name.info.gz
|
%install_info --info-dir=%_infodir %_infodir/%name.info.gz
|
||||||
@ -159,10 +158,13 @@ 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
|
%install_info_delete --info-dir=%_infodir %_infodir/%name.info.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 09 2007 - mkoenig@suse.de
|
* 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]
|
- add --follow-symlinks option [#200082]
|
||||||
- fix 'used uninitialized' warnings [#248721]
|
- fix 'used uninitialized' warnings [#248721]
|
||||||
* Mon Aug 07 2006 - jsmeix@suse.de
|
* Mon Aug 07 2006 jsmeix@suse.de
|
||||||
- Updated to version 4.1.5:
|
- Updated to version 4.1.5:
|
||||||
Fix parsing of a negative character class not including a closed
|
Fix parsing of a negative character class not including a closed
|
||||||
bracket, like [^]] or [^]a-z].
|
bracket, like [^]] or [^]a-z].
|
||||||
@ -171,29 +173,29 @@ rm -f $RPM_BUILD_ROOT/usr/share/doc/sed.html $RPM_BUILD_ROOT/usr/share/doc/sed-4
|
|||||||
- off-by-one.diff: obsolete (fixed in the source).
|
- off-by-one.diff: obsolete (fixed in the source).
|
||||||
- configure needs --enable-html to build sed.html (default=no)
|
- configure needs --enable-html to build sed.html (default=no)
|
||||||
and it is installed into usr/share/doc/sed-4.1.5/
|
and it is installed into usr/share/doc/sed-4.1.5/
|
||||||
* Mon Jul 17 2006 - jsmeix@suse.de
|
* Mon Jul 17 2006 jsmeix@suse.de
|
||||||
- Fixed the "fix build" below for our current different build
|
- Fixed the "fix build" below for our current different build
|
||||||
environments on our different architectures:
|
environments on our different architectures:
|
||||||
On s390 and s390x the sed.html documentation is still installed
|
On s390 and s390x the sed.html documentation is still installed
|
||||||
into usr/share/doc/ but on the other architectures it is
|
into usr/share/doc/ but on the other architectures it is
|
||||||
installed into usr/share/doc/sed/
|
installed into usr/share/doc/sed/
|
||||||
* Mon Jul 03 2006 - cthiel@suse.de
|
* Mon Jul 03 2006 cthiel@suse.de
|
||||||
- fix build
|
- fix build
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Thu Jan 19 2006 - agruen@suse.de
|
* Thu Jan 19 2006 agruen@suse.de
|
||||||
- off-by-one.diff: Report the correct back-reference number if
|
- off-by-one.diff: Report the correct back-reference number if
|
||||||
a substitution's left-hand side does not contain enough groups.
|
a substitution's left-hand side does not contain enough groups.
|
||||||
* Fri Apr 01 2005 - schwab@suse.de
|
* Fri Apr 01 2005 schwab@suse.de
|
||||||
- Don't use included regex.
|
- Don't use included regex.
|
||||||
* Mon Jan 31 2005 - mmj@suse.de
|
* Mon Jan 31 2005 mmj@suse.de
|
||||||
- Update to 4.1.4 including:
|
- Update to 4.1.4 including:
|
||||||
o \B correctly means "not on a word boundary" rather than
|
o \B correctly means "not on a word boundary" rather than
|
||||||
"inside a word"
|
"inside a word"
|
||||||
o bugfixes for platform without internationalization
|
o bugfixes for platform without internationalization
|
||||||
o more thorough testing framework for tarballs
|
o more thorough testing framework for tarballs
|
||||||
(`make full-distcheck')
|
(`make full-distcheck')
|
||||||
* Sat Jan 22 2005 - mmj@suse.de
|
* Sat Jan 22 2005 mmj@suse.de
|
||||||
- Update to 4.1.3 including:
|
- Update to 4.1.3 including:
|
||||||
o regex addresses do not use leftmost-longest matching. In
|
o regex addresses do not use leftmost-longest matching. In
|
||||||
other words, /.\+/ only looks for a single character, and
|
other words, /.\+/ only looks for a single character, and
|
||||||
@ -206,18 +208,18 @@ rm -f $RPM_BUILD_ROOT/usr/share/doc/sed.html $RPM_BUILD_ROOT/usr/share/doc/sed-4
|
|||||||
o `make check' tests the regex library by default if the
|
o `make check' tests the regex library by default if the
|
||||||
included regex is used (regex tests had to be enabled
|
included regex is used (regex tests had to be enabled
|
||||||
separately up to now).
|
separately up to now).
|
||||||
* Fri Sep 17 2004 - uli@suse.de
|
* Fri Sep 17 2004 uli@suse.de
|
||||||
- fixed segfault (bug #45491)
|
- fixed segfault (bug #45491)
|
||||||
* Sun Aug 22 2004 - mmj@suse.de
|
* Mon Aug 23 2004 mmj@suse.de
|
||||||
- Update to sed-4.1.2 including:
|
- Update to sed-4.1.2 including:
|
||||||
o fix bug in 'y' command in multi-byte character sets
|
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 severe bug in parsing of ranges with an embedded open bracket
|
||||||
o fix off-by-one error when printing a "bad command" error
|
o fix off-by-one error when printing a "bad command" error
|
||||||
* Wed Jul 07 2004 - mmj@suse.de
|
* Wed Jul 07 2004 mmj@suse.de
|
||||||
- Update to 4.1.1 including the initialization fix of output_fd
|
- Update to 4.1.1 including the initialization fix of output_fd
|
||||||
* Wed Jun 23 2004 - ro@suse.de
|
* Wed Jun 23 2004 ro@suse.de
|
||||||
- do initialize output_fd before use
|
- do initialize output_fd before use
|
||||||
* Thu Jun 17 2004 - mmj@suse.de
|
* Thu Jun 17 2004 mmj@suse.de
|
||||||
- Update to 4.1 including:
|
- Update to 4.1 including:
|
||||||
o // matches the last regular expression even in
|
o // matches the last regular expression even in
|
||||||
POSIXLY_CORRECT mode.
|
POSIXLY_CORRECT mode.
|
||||||
@ -271,9 +273,9 @@ rm -f $RPM_BUILD_ROOT/usr/share/doc/sed.html $RPM_BUILD_ROOT/usr/share/doc/sed-4
|
|||||||
you won't be able to pass down `x\*' while using * as the
|
you won't be able to pass down `x\*' while using * as the
|
||||||
delimiter; ideas on how to simplify the parser in this
|
delimiter; ideas on how to simplify the parser in this
|
||||||
respect, and/or gain more coherent semantics, are welcome).
|
respect, and/or gain more coherent semantics, are welcome).
|
||||||
* Fri Mar 12 2004 - mmj@suse.de
|
* Fri Mar 12 2004 mmj@suse.de
|
||||||
- Remove created tempfile in the case of rename failing [#35419]
|
- Remove created tempfile in the case of rename failing [#35419]
|
||||||
* Tue Feb 24 2004 - mmj@suse.de
|
* Tue Feb 24 2004 mmj@suse.de
|
||||||
- Update to 4.0.9 with the following changes since 4.0.6:
|
- 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 0 address behaves correctly in single-file (-i and -s) mode.
|
||||||
o documentation improvements.
|
o documentation improvements.
|
||||||
@ -298,33 +300,33 @@ rm -f $RPM_BUILD_ROOT/usr/share/doc/sed.html $RPM_BUILD_ROOT/usr/share/doc/sed-4
|
|||||||
o behavior of s///N is consistent with s///g when the LHS can match
|
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 :-)
|
a null string (and the infinite loop did not happen :-)
|
||||||
o updated some translations
|
o updated some translations
|
||||||
* Sat Jan 10 2004 - adrian@suse.de
|
* Sat Jan 10 2004 adrian@suse.de
|
||||||
- build as user
|
- build as user
|
||||||
* Fri Jun 20 2003 - ro@suse.de
|
* Fri Jun 20 2003 ro@suse.de
|
||||||
- build with current gettext
|
- build with current gettext
|
||||||
* Wed Jun 04 2003 - jh@suse.de
|
* Wed Jun 04 2003 jh@suse.de
|
||||||
- Enable profile feedback
|
- Enable profile feedback
|
||||||
* Thu Apr 24 2003 - ro@suse.de
|
* Thu Apr 24 2003 ro@suse.de
|
||||||
- fix install_info --delete call and move from preun to postun
|
- fix install_info --delete call and move from preun to postun
|
||||||
* Fri Mar 21 2003 - pthomas@suse.de
|
* Fri Mar 21 2003 pthomas@suse.de
|
||||||
- Update to 4.0.6
|
- Update to 4.0.6
|
||||||
* Fri Feb 07 2003 - ro@suse.de
|
* Fri Feb 07 2003 ro@suse.de
|
||||||
- added install_info macros
|
- added install_info macros
|
||||||
* Mon Nov 18 2002 - ro@suse.de
|
* Mon Nov 18 2002 ro@suse.de
|
||||||
- set AM_GNU_GETTEXT_VERSION and use 0.10.36 since this is the
|
- set AM_GNU_GETTEXT_VERSION and use 0.10.36 since this is the
|
||||||
first one with DESTDIR support
|
first one with DESTDIR support
|
||||||
* Fri Sep 20 2002 - pthomas@suse.de
|
* Fri Sep 20 2002 pthomas@suse.de
|
||||||
- Correctly reference regex(7) from man page, remove the
|
- Correctly reference regex(7) from man page, remove the
|
||||||
obsolete remark. Fixes bug #19923.
|
obsolete remark. Fixes bug #19923.
|
||||||
* Wed Aug 14 2002 - pthomas@suse.de
|
* Wed Aug 14 2002 pthomas@suse.de
|
||||||
- Fix configure.in so that --with-regex=no actually does
|
- Fix configure.in so that --with-regex=no actually does
|
||||||
work.
|
work.
|
||||||
- Make sed use glibc's regex/regex.h.
|
- Make sed use glibc's regex/regex.h.
|
||||||
* Wed Jul 03 2002 - poeml@suse.de
|
* Wed Jul 03 2002 poeml@suse.de
|
||||||
- enable 'make check' again on ppc64
|
- enable 'make check' again on ppc64
|
||||||
* Wed Jul 03 2002 - bk@suse.de
|
* Wed Jul 03 2002 bk@suse.de
|
||||||
- add man page and remove joe from neededforbuild, no rebuild by joe
|
- add man page and remove joe from neededforbuild, no rebuild by joe
|
||||||
* Tue Jun 04 2002 - pthomas@suse.de
|
* Tue Jun 04 2002 pthomas@suse.de
|
||||||
- Move tar and sed to separate packages.
|
- Move tar and sed to separate packages.
|
||||||
- Update to 3.02.80
|
- Update to 3.02.80
|
||||||
- Adapt i18n patch.
|
- Adapt i18n patch.
|
||||||
@ -334,18 +336,18 @@ rm -f $RPM_BUILD_ROOT/usr/share/doc/sed.html $RPM_BUILD_ROOT/usr/share/doc/sed-4
|
|||||||
- rework the autoconf test involving LIBOBJS
|
- rework the autoconf test involving LIBOBJS
|
||||||
- Remove acinclude.m4.
|
- Remove acinclude.m4.
|
||||||
- Make acconfig.h obsolete.
|
- Make acconfig.h obsolete.
|
||||||
* Wed May 22 2002 - olh@suse.de
|
* Wed May 22 2002 olh@suse.de
|
||||||
- disable sed make check on ppc64
|
- disable sed make check on ppc64
|
||||||
* Wed May 22 2002 - olh@suse.de
|
* Wed May 22 2002 olh@suse.de
|
||||||
- allow build as user, use buildroot
|
- allow build as user, use buildroot
|
||||||
* Fri Nov 23 2001 - mfabian@suse.de
|
* Fri Nov 23 2001 mfabian@suse.de
|
||||||
- add sed-3.02-i18n-0.5.patch from
|
- add sed-3.02-i18n-0.5.patch from
|
||||||
http://oss.software.ibm.com/developer/opensource/linux/patches/i18n/
|
http://oss.software.ibm.com/developer/opensource/linux/patches/i18n/
|
||||||
with this patch, sed passes the tests for the LI18NUX2K.L1
|
with this patch, sed passes the tests for the LI18NUX2K.L1
|
||||||
specification.
|
specification.
|
||||||
* Wed May 09 2001 - cstein@suse.de
|
* Wed May 09 2001 cstein@suse.de
|
||||||
- repacked sources of sed with bzip2.
|
- repacked sources of sed with bzip2.
|
||||||
* Mon May 29 2000 - kukuk@suse.de
|
* Mon May 29 2000 kukuk@suse.de
|
||||||
- Move sed to /bin, add compat link
|
- Move sed to /bin, add compat link
|
||||||
* Mon Jan 17 2000 - ro@suse.de
|
* Mon Jan 17 2000 ro@suse.de
|
||||||
- info -> /usr/share/info
|
- info -> /usr/share/info
|
||||||
|
Loading…
Reference in New Issue
Block a user