Accepting request 100375 from home:coolo:branches:openSUSE:Factory

- split rpmbuild into a package of its own, which then requires basic
  tools to build rpms

OBS-URL: https://build.opensuse.org/request/show/100375
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=179
This commit is contained in:
Stephan Kulow 2012-01-17 11:13:52 +00:00 committed by Git OBS Bridge
parent f55d3e1266
commit b53b37a0b2
2 changed files with 34 additions and 11 deletions

View File

@ -9,6 +9,12 @@ Mon Jan 16 14:12:58 UTC 2012 - werner@suse.de
- Add patch from upstream to reflect changes of perl and python
fileattrs to file 5.10 magics
-------------------------------------------------------------------
Fri Jan 13 14:16:14 UTC 2012 - coolo@suse.com
- split rpmbuild into a package of its own, which then requires basic
tools to build rpms
-------------------------------------------------------------------
Mon Jan 9 17:12:05 CET 2012 - dmueller@suse.de

View File

@ -140,17 +140,12 @@ is easy to update packages. RPM keeps track of all these manipulations
in a central database. This way it is possible to get an overview of
all installed packages. RPM also supports database queries.
Authors:
--------
Erik Troan <ewt@redhat.com>
Marc Ewing <marc@redhat.com>
%package devel
Summary: Include Files and Libraries mandatory for Development
Group: System/Packages
Requires: rpm = %{version}
# for people confusing the one with the other
Recommends: rpm-build = %{version}
Requires: popt-devel
%description devel
@ -160,12 +155,29 @@ manipulate RPM packages and databases and are intended to make it
easier to create graphical package managers or any other tools that
need an intimate knowledge of RPM packages in order to function.
%package build
Summary: Tools and Scripts to create rpm packages
Group: System/Packages
Requires: rpm = %{version}
Provides: rpmbuild rpm:%_bindir/rpmbuild
# SUSE's build essentials
Requires: bzip2
Requires: xz
Requires: gzip
Requires: binutils
Requires: make
Requires: gcc
Requires: gettext-tools
Requires: findutils
Requires: patch
Requires: glibc-devel
Requires: perl-base
%description build
If you want to build a rpm, you need this package. It provides rpmbuild
and requires some packages that are usually required
Authors:
--------
Erik Troan <ewt@redhat.com>
Marc Ewing <marc@redhat.com>
%package -n build-essentials
%prep
%setup -q -n rpm-%{version}
@ -337,6 +349,7 @@ rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion va
/etc/rpm
/bin/rpm
/usr/bin/*
%exclude /usr/bin/rpmbuild
/etc/init.d/rpmconfigcheck
/usr/sbin/rcrpmconfigcheck
/usr/lib/rpm
@ -356,6 +369,10 @@ rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion va
%dir %attr(755,root,root) /usr/src/packages/RPMS/*
/var/adm/fillup-templates/sysconfig.services-rpm
%files build
%defattr(-,root,root)
/usr/bin/rpmbuild
%files devel
%defattr(644,root,root,755)
/usr/include/rpm