Accepting request 483196 from Virtualization:containers

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/483196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umoci?expand=0&rev=2
This commit is contained in:
Yuchen Lin 2017-04-07 12:19:36 +00:00 committed by Git OBS Bridge
commit 19c12733eb
4 changed files with 33 additions and 11 deletions

3
master.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2f39727cc86d665b7f9491e69dfb9e3422a3ed50dee8321afccbfd2ea3f2939
size 232575

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b5af0838400bda64fa0f6516c7dfd9eb3d7e07f895c98ab79b458da6882c926
size 161056

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Tue Mar 21 20:49:19 UTC 2017 - containers-bugowner@suse.de
- merge branch 'pr-103'
- makefile: switch go-build to use full project name
- contrib: pkg: fix make_spec version
-------------------------------------------------------------------
Tue Mar 21 10:43:53 UTC 2017 - containers-bugowner@suse.de
- merge branch 'pr-102'
- packaging: move to contrib/pkg
-------------------------------------------------------------------
Tue Mar 21 09:16:12 UTC 2017 - containers-bugowner@suse.de
- merge branch 'pr-101'
- packaging: add packaging helper to automate submissions to obs
-------------------------------------------------------------------
Fri Feb 10 18:03:27 UTC 2017 - asarai@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package umoci
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
#
# nodebuginfo
# Handle all Go arches.
%{!?go_arches: %global go_arches %ix86 x86_64 aarch64 ppc64le}
@ -26,13 +27,13 @@
%define project github.com/openSUSE/umoci
Name: umoci
Version: 0.1.0
Version: 0.1.0+20170321.ef7aa39
Release: 0
Summary: Open Container Image manipulation tool
License: Apache-2.0
Group: System/Management
Url: https://github.com/openSUSE/umoci
Source: %{name}-%{version}.tar.xz
Source: master.tar.gz
%ifarch %{go_arches}
BuildRequires: go >= 1.6
BuildRequires: go-go-md2man
@ -40,7 +41,7 @@ BuildRequires: go-go-md2man
BuildRequires: gcc6-go >= 6.1
%endif
BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{raw_version}-build
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?is_opensuse}
ExcludeArch: s390x
%endif
@ -52,7 +53,7 @@ umoci is a manipulation tool for OCI images. In particular, it is an
alternative to oci-image-tools provided by the OCI.
%prep
%setup -q
%setup -q -n umoci-master
%build
@ -65,7 +66,7 @@ cp -avr * $HOME/go/src/%{project}
export VERSION="$(cat ./VERSION)"
if [ "$VERSION" != "%{version}" ]; then
VERSION="%{version}_suse"
VERSION="%{version}_suse"
fi
# Build the binary.
@ -83,7 +84,7 @@ install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
# Install all of the docs.
%ifarch %{go_arches}
for file in man/*.1; do
install -D -m 0644 $file "%{buildroot}/%{_mandir}/man1/$(basename $file)"
install -D -m 0644 $file "%{buildroot}/%{_mandir}/man1/$(basename $file)"
done
%endif
@ -102,4 +103,3 @@ hack/test-unit.sh
%endif
%changelog