- provide build-mkbaselibs so this can really be used
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=139
This commit is contained in:
parent
3b08e5566e
commit
d42bf510dd
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 30 19:05:52 CEST 2011 - ro@suse.de
|
||||||
|
|
||||||
|
- provide build-mkbaselibs so this can really be used
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 7 09:31:51 UTC 2011 - k0da@opensuse.org
|
Tue Jun 7 09:31:51 UTC 2011 - k0da@opensuse.org
|
||||||
|
|
||||||
|
@ -24,15 +24,15 @@ Group: Development/Tools/Building
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: Tools to generate base lib packages
|
Summary: Tools to generate base lib packages
|
||||||
Version: 2011.06.17
|
Version: 2011.06.17
|
||||||
Release: 0
|
Release: 1
|
||||||
#!BuildIgnore: build-mkbaselibs
|
#!BuildIgnore: build-mkbaselibs
|
||||||
|
Provides: build-mkbaselibs
|
||||||
Source: build-%{version}.tar.gz
|
Source: build-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Manual requires to avoid hard require to bash-static
|
# Manual requires to avoid hard require to bash-static
|
||||||
AutoReqProv: off
|
AutoReqProv: off
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the parts which may be installed in the inner build system
|
This package contains the parts which may be installed in the inner build system
|
||||||
for generating base lib packages.
|
for generating base lib packages.
|
||||||
@ -42,10 +42,8 @@ This is the SLE variant including IA64 binary generation.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n build-%{version}
|
%setup -q -n build-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -d $RPM_BUILD_ROOT/usr/lib/build
|
install -m 0755 -d $RPM_BUILD_ROOT/usr/lib/build
|
||||||
install -m 0755 mkbaselibs \
|
install -m 0755 mkbaselibs \
|
||||||
@ -55,13 +53,10 @@ install -m 0644 baselibs_global-deb.conf \
|
|||||||
install -m 0644 baselibs_global-sle.conf \
|
install -m 0644 baselibs_global-sle.conf \
|
||||||
$RPM_BUILD_ROOT/usr/lib/build/baselibs_global.conf
|
$RPM_BUILD_ROOT/usr/lib/build/baselibs_global.conf
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir /usr/lib/build
|
%dir /usr/lib/build
|
||||||
/usr/lib/build/mkbaselibs
|
/usr/lib/build/mkbaselibs
|
||||||
/usr/lib/build/baselibs*
|
/usr/lib/build/baselibs*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
14
build.spec
14
build.spec
@ -24,7 +24,7 @@ Group: Development/Tools/Building
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: A Script to Build SUSE Linux RPMs
|
Summary: A Script to Build SUSE Linux RPMs
|
||||||
Version: 2011.06.17
|
Version: 2011.06.17
|
||||||
Release: 0
|
Release: 1
|
||||||
#!BuildIgnore: build-mkbaselibs
|
#!BuildIgnore: build-mkbaselibs
|
||||||
Source: build-%{version}.tar.gz
|
Source: build-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -50,7 +50,6 @@ Recommends: perl(XML::Parser)
|
|||||||
Recommends: bsdtar
|
Recommends: bsdtar
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides a script for building RPMs for SUSE Linux in a
|
This package provides a script for building RPMs for SUSE Linux in a
|
||||||
chroot environment.
|
chroot environment.
|
||||||
@ -60,14 +59,12 @@ chroot environment.
|
|||||||
Requires: build-mkbaselibs
|
Requires: build-mkbaselibs
|
||||||
Recommends: build-mkdrpms
|
Recommends: build-mkdrpms
|
||||||
|
|
||||||
|
|
||||||
%package mkbaselibs
|
%package mkbaselibs
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Summary: Tools to generate base lib packages
|
Summary: Tools to generate base lib packages
|
||||||
# NOTE: this package must not have dependencies which may break boot strapping (eg. perl modules)
|
# NOTE: this package must not have dependencies which may break boot strapping (eg. perl modules)
|
||||||
|
|
||||||
|
|
||||||
%description mkbaselibs
|
%description mkbaselibs
|
||||||
This package contains the parts which may be installed in the inner build system
|
This package contains the parts which may be installed in the inner build system
|
||||||
for generating base lib packages.
|
for generating base lib packages.
|
||||||
@ -80,21 +77,17 @@ Requires: deltarpm
|
|||||||
# XXX: we wanted to avoid that but mkdrpms needs Build::Rpm::rpmq
|
# XXX: we wanted to avoid that but mkdrpms needs Build::Rpm::rpmq
|
||||||
Requires: build
|
Requires: build
|
||||||
|
|
||||||
|
|
||||||
%description mkdrpms
|
%description mkdrpms
|
||||||
This package contains the parts which may be installed in the inner build system
|
This package contains the parts which may be installed in the inner build system
|
||||||
for generating delta rpm packages.
|
for generating delta rpm packages.
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
cd $RPM_BUILD_ROOT/usr/lib/build/configs/
|
cd $RPM_BUILD_ROOT/usr/lib/build/configs/
|
||||||
@ -108,7 +101,6 @@ cd $RPM_BUILD_ROOT/usr/lib/build/configs/
|
|||||||
test -e default.conf
|
test -e default.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README
|
%doc README
|
||||||
@ -123,20 +115,16 @@ test -e default.conf
|
|||||||
%exclude /usr/lib/build/baselibs*
|
%exclude /usr/lib/build/baselibs*
|
||||||
%exclude /usr/lib/build/mkdrpms
|
%exclude /usr/lib/build/mkdrpms
|
||||||
|
|
||||||
|
|
||||||
%files mkbaselibs
|
%files mkbaselibs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir /usr/lib/build
|
%dir /usr/lib/build
|
||||||
/usr/lib/build/mkbaselibs
|
/usr/lib/build/mkbaselibs
|
||||||
/usr/lib/build/baselibs*
|
/usr/lib/build/baselibs*
|
||||||
|
|
||||||
|
|
||||||
%files mkdrpms
|
%files mkdrpms
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir /usr/lib/build
|
%dir /usr/lib/build
|
||||||
/usr/lib/build/mkdrpms
|
/usr/lib/build/mkdrpms
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user