Accepting request 149490 from Archiving

- Add %{version} to Obsoletes/Provides 

- Executing autoreconf requires autoconf
- Set RPM groups to the common ones we use for library and
  "-devel" packages

OBS-URL: https://build.opensuse.org/request/show/149490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bzip2?expand=0&rev=44
This commit is contained in:
Stephan Kulow 2013-01-22 14:05:38 +00:00 committed by Git OBS Bridge
commit ac21271725
2 changed files with 28 additions and 15 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jan 21 22:09:52 UTC 2013 - idonmez@suse.com
- Add %{version} to Obsoletes/Provides
-------------------------------------------------------------------
Mon Jan 21 19:15:09 UTC 2013 - jengelh@inai.de
- Executing autoreconf requires autoconf
- Set RPM groups to the common ones we use for library and
"-devel" packages
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 12 23:00:21 UTC 2012 - crrodriguez@opensuse.org Sun Feb 12 23:00:21 UTC 2012 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package bzip2 # spec file for package bzip2
# #
# 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
@ -19,17 +19,6 @@
Name: bzip2 Name: bzip2
Version: 1.0.6 Version: 1.0.6
Release: 0 Release: 0
Provides: bzip
Obsoletes: bzip
BuildRequires: libtool
BuildRequires: pkg-config
# The following is a kludge to get updating bzip2 to after the split work
PreReq: libbz2-1
# bug437293
%ifarch ppc64
Obsoletes: bzip2-64bit
%endif
#
Url: http://www.bzip.org/ Url: http://www.bzip.org/
Summary: A Program for Compressing Files Summary: A Program for Compressing Files
License: BSD-3-Clause License: BSD-3-Clause
@ -46,6 +35,17 @@ Patch5: bzip2-unsafe_strcpy.patch
Patch6: bzip2-point-to-doc-pkg.patch Patch6: bzip2-point-to-doc-pkg.patch
Patch7: bzip2-ocloexec.patch Patch7: bzip2-ocloexec.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.57
BuildRequires: libtool
BuildRequires: pkg-config
# The following is a kludge to get updating bzip2 to after the split work
PreReq: libbz2-1
# bug437293
%ifarch ppc64
Obsoletes: bzip2-64bit
%endif
Provides: bzip = %{version}
Obsoletes: bzip < %{version}
%description %description
The bzip2 program is a very powerful program for compressing files. The bzip2 program is a very powerful program for compressing files.
@ -62,15 +62,16 @@ The bzip2 program and library documentation.
%package -n libbz2-1 %package -n libbz2-1
Summary: The bzip2 runtime library Summary: The bzip2 runtime library
Group: Productivity/Archiving/Compression Group: System/Libraries
%description -n libbz2-1 %description -n libbz2-1
The bzip2 runtime library The bzip2 runtime library
%package -n libbz2-devel %package -n libbz2-devel
Summary: The bzip2 runtime library development files Summary: The bzip2 runtime library development files
Group: Development/Libraries/Other Group: Development/Libraries/C and C++
Requires: libbz2-1 = %{version} glibc-devel Requires: glibc-devel
Requires: libbz2-1 = %{version}
%description -n libbz2-devel %description -n libbz2-devel
The bzip2 runtime library development files. The bzip2 runtime library development files.