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:
parent
f55d3e1266
commit
b53b37a0b2
@ -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
|
- Add patch from upstream to reflect changes of perl and python
|
||||||
fileattrs to file 5.10 magics
|
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
|
Mon Jan 9 17:12:05 CET 2012 - dmueller@suse.de
|
||||||
|
|
||||||
|
39
rpm.spec
39
rpm.spec
@ -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
|
in a central database. This way it is possible to get an overview of
|
||||||
all installed packages. RPM also supports database queries.
|
all installed packages. RPM also supports database queries.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Erik Troan <ewt@redhat.com>
|
|
||||||
Marc Ewing <marc@redhat.com>
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
Group: System/Packages
|
Group: System/Packages
|
||||||
Requires: rpm = %{version}
|
Requires: rpm = %{version}
|
||||||
|
# for people confusing the one with the other
|
||||||
|
Recommends: rpm-build = %{version}
|
||||||
Requires: popt-devel
|
Requires: popt-devel
|
||||||
|
|
||||||
%description 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
|
easier to create graphical package managers or any other tools that
|
||||||
need an intimate knowledge of RPM packages in order to function.
|
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:
|
%package -n build-essentials
|
||||||
--------
|
|
||||||
Erik Troan <ewt@redhat.com>
|
|
||||||
Marc Ewing <marc@redhat.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n rpm-%{version}
|
%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
|
/etc/rpm
|
||||||
/bin/rpm
|
/bin/rpm
|
||||||
/usr/bin/*
|
/usr/bin/*
|
||||||
|
%exclude /usr/bin/rpmbuild
|
||||||
/etc/init.d/rpmconfigcheck
|
/etc/init.d/rpmconfigcheck
|
||||||
/usr/sbin/rcrpmconfigcheck
|
/usr/sbin/rcrpmconfigcheck
|
||||||
/usr/lib/rpm
|
/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/*
|
%dir %attr(755,root,root) /usr/src/packages/RPMS/*
|
||||||
/var/adm/fillup-templates/sysconfig.services-rpm
|
/var/adm/fillup-templates/sysconfig.services-rpm
|
||||||
|
|
||||||
|
%files build
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/usr/bin/rpmbuild
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(644,root,root,755)
|
%defattr(644,root,root,755)
|
||||||
/usr/include/rpm
|
/usr/include/rpm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user