use build descriptions from git
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=305
This commit is contained in:
parent
57edfb0cb5
commit
0c9c68f4f4
2
PKGBUILD
2
PKGBUILD
@ -1,5 +1,5 @@
|
||||
pkgname=build
|
||||
pkgver=20170320
|
||||
pkgver=20170524
|
||||
pkgrel=0
|
||||
pkgdesc="Build packages in sandbox"
|
||||
arch=('i686' 'x86_64')
|
||||
|
10
_service
10
_service
@ -3,6 +3,16 @@
|
||||
<param name="versionformat">%ad</param>
|
||||
<param name="url">git://github.com/openSUSE/obs-build.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="extract">dist/build.changes</param>
|
||||
<param name="extract">dist/build.dsc</param>
|
||||
<param name="extract">dist/build.spec</param>
|
||||
<param name="extract">dist/debian.changelog</param>
|
||||
<param name="extract">dist/debian.compat</param>
|
||||
<param name="extract">dist/debian.control</param>
|
||||
<param name="extract">dist/debian.copyright</param>
|
||||
<param name="extract">dist/debian.docs</param>
|
||||
<param name="extract">dist/debian.rules</param>
|
||||
<param name="extract">dist/PKGBUILD</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="compression">gz</param>
|
||||
|
@ -1,6 +1,6 @@
|
||||
Format: 1.0
|
||||
Source: build
|
||||
Version: 20170320
|
||||
Version: 20170524-0
|
||||
Binary: build
|
||||
Maintainer: Adrian Schroeter <adrian@suse.de>
|
||||
Architecture: all
|
||||
|
21
build.spec
21
build.spec
@ -18,13 +18,11 @@
|
||||
# needsbinariesforbuild
|
||||
|
||||
|
||||
%define version_unconverted 20170320
|
||||
|
||||
Name: build
|
||||
Summary: A Script to Build SUSE Linux RPMs
|
||||
License: GPL-2.0+ and GPL-2.0
|
||||
Group: Development/Tools/Building
|
||||
Version: 20170320
|
||||
Version: 20170524
|
||||
Release: 0
|
||||
Source: obs-build-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -140,11 +138,9 @@ chmod 0644 $RPM_BUILD_ROOT/usr/lib/build/initvm.*
|
||||
# main
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
cd $RPM_BUILD_ROOT/usr/lib/build/configs/
|
||||
%if 0%{?sle_version} && 0%{?is_opensuse}
|
||||
# super special leap distro
|
||||
major="$[%sle_version/10000+30]"
|
||||
minor="$[%sle_version/100-1200]"
|
||||
ln -s sl$major.$minor.conf default.conf
|
||||
%if "0%{?suse_version}" == "1315" && 0%{?is_opensuse}
|
||||
# super special leap distro
|
||||
ln -s sl42.1.conf default.conf
|
||||
%else
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?sles_version}
|
||||
@ -162,15 +158,6 @@ if [ `whoami` != "root" ]; then
|
||||
echo "WARNING: Not building as root, tests did not run!"
|
||||
exit 0
|
||||
fi
|
||||
if [ ! -e $RPM_BUILD_ROOT/usr/lib/build/configs/default.conf ]; then
|
||||
%if 0%{?suse_version}
|
||||
echo "ERROR: No default build conf, tests did not run!"
|
||||
exit 1
|
||||
%else
|
||||
echo "WARNING: No default build conf, tests did not run!"
|
||||
exit 0
|
||||
%endif
|
||||
fi
|
||||
# get back the default.conf link
|
||||
cp -av $RPM_BUILD_ROOT/usr/lib/build/configs/default.conf configs/
|
||||
# do not get confused when building this already with build:
|
||||
|
@ -1,4 +1,4 @@
|
||||
build (20170320) unstable; urgency=low
|
||||
build (20170524-0) unstable; urgency=low
|
||||
|
||||
* Update to current git trunk
|
||||
- add sles11sp2 build config and adapt autodetection
|
||||
|
1
debian.compat
Normal file
1
debian.compat
Normal file
@ -0,0 +1 @@
|
||||
4
|
15
debian.control
Normal file
15
debian.control
Normal file
@ -0,0 +1,15 @@
|
||||
Source: build
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Maintainer: Adrian Schroeter <adrian@suse.de>
|
||||
Build-Depends: debhelper (>= 4)
|
||||
Standards-Version: 3.7.2
|
||||
|
||||
Package: build
|
||||
Architecture: all
|
||||
Depends: ${perl:Depends}, rpm
|
||||
Recommends: rpm2cpio
|
||||
Description: A script to build SUSE Linux RPMs
|
||||
This package provides a script for building RPMs for SUSE Linux
|
||||
in a chroot environment.
|
||||
|
21
debian.copyright
Normal file
21
debian.copyright
Normal file
@ -0,0 +1,21 @@
|
||||
This package was debianized by Rene Engelhard <rengelhard@suse.de> on
|
||||
Thu, 22 Jun 2006 12:01:08 +0200.
|
||||
|
||||
It was downloaded from http://software.opensuse.org/download/openSUSE:/Tools/SUSE_Linux_Factory/src
|
||||
|
||||
Upstream authors: Thorsten Kukuk <kukuk@suse.de>
|
||||
Michael Schröter <mls@suse.de>
|
||||
Bernhard Kaindl <bk@suse.de>
|
||||
Mad Martin Jorgensen <mmj@suse.de>
|
||||
Andreas Schwab <schwab@suse.de>
|
||||
Rüdiger Oertel <ro@suse.de>
|
||||
Andreas Gruenbacher <agruen@suse.de>
|
||||
|
||||
Copyright: (c) 1997-2007 SuSE GmbH Nuernberg, Germany
|
||||
|
||||
License:
|
||||
|
||||
GPL
|
||||
|
||||
The Debian packaging is (C) 2006, Rene Engelhard <rengelhard@suse.de> and
|
||||
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
|
1
debian.docs
Normal file
1
debian.docs
Normal file
@ -0,0 +1 @@
|
||||
README
|
65
debian.rules
Normal file
65
debian.rules
Normal file
@ -0,0 +1,65 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# This file was originally written by Joey Hess and Craig Small.
|
||||
# As a special exception, when this file is copied by dh-make into a
|
||||
# dh-make output file, you may use that output file without restriction.
|
||||
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany
|
||||
# This file and all modifications and additions to the pristine package
|
||||
# are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or commens via http://bugs.opensuse.org
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
SHELL=/bin/bash
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
touch configure-stamp
|
||||
|
||||
|
||||
build: build-stamp
|
||||
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
make DESTDIR=$(CURDIR)/debian/build install
|
||||
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary-indep: build install
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9046961c3e5f2f0f18a2d8bcd83e83dbb84953ee5fbbf45c01ba3c217a9c6eb3
|
||||
size 1561
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5840e93399c30643bf5f24749b08dd5068951b92c053f3389cb6f64f71bef719
|
||||
size 259476
|
3
obs-build-20170524.tar.gz
Normal file
3
obs-build-20170524.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f79dcb812c6b91936cd95dbc748bc9f71b26dd15e2b8a5c3c966db56a45584af
|
||||
size 285225
|
Loading…
Reference in New Issue
Block a user