|
|
36c247e |
# If any of the following macros should be set otherwise,
|
|
|
36c247e |
# you can wrap any of them with the following conditions:
|
|
|
36c247e |
# - %%if 0%%{centos} == 7
|
|
|
36c247e |
# - %%if 0%%{?rhel} == 7
|
|
|
36c247e |
# - %%if 0%%{?fedora} == 23
|
|
|
36c247e |
# Or just test for particular distribution:
|
|
|
36c247e |
# - %%if 0%%{centos}
|
|
|
36c247e |
# - %%if 0%%{?rhel}
|
|
|
36c247e |
# - %%if 0%%{?fedora}
|
|
|
36c247e |
#
|
|
|
36c247e |
# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
|
|
|
36c247e |
# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition.
|
|
|
36c247e |
# (Don't forget to replace double percentage symbol with single one in order to apply a condition)
|
|
|
36c247e |
|
|
|
36c247e |
# Generate devel rpm
|
|
Fridolin Pokorny |
59e8216 |
%global with_devel 1
|
|
|
36c247e |
# Build project from bundled dependencies
|
|
Fridolin Pokorny |
59e8216 |
%global with_bundled 0
|
|
|
36c247e |
# Build with debug info rpm
|
|
Fridolin Pokorny |
59e8216 |
%global with_debug 0
|
|
|
36c247e |
# Run tests in check section
|
|
Fridolin Pokorny |
59e8216 |
# Two following test passes but it is about 50% of all.
|
|
Fridolin Pokorny |
59e8216 |
# Some tests fails, some fails on build failure
|
|
Fridolin Pokorny |
59e8216 |
# Besides, BuildRequires is not complete as there is a cyclic deps with smashwilson/gophercloud
|
|
Fridolin Pokorny |
59e8216 |
%global with_check 0
|
|
|
36c247e |
# Generate unit-test rpm
|
|
Fridolin Pokorny |
59e8216 |
%global with_unit_test 1
|
|
Fridolin Pokorny |
59e8216 |
|
|
Fridolin Pokorny |
59e8216 |
%if 0%{?with_debug}
|
|
Fridolin Pokorny |
59e8216 |
%global _dwz_low_mem_die_limit 0
|
|
Fridolin Pokorny |
59e8216 |
%else
|
|
|
55182d0 |
%global debug_package %{nil}
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
Fridolin Pokorny |
59e8216 |
|
|
|
55182d0 |
%global provider github
|
|
|
55182d0 |
%global provider_tld com
|
|
|
55182d0 |
%global project rackspace
|
|
|
55182d0 |
%global repo gophercloud
|
|
Fridolin Pokorny |
59e8216 |
# https://github.com/rackspace/gophercloud
|
|
Fridolin Pokorny |
59e8216 |
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
|
|
Fridolin Pokorny |
59e8216 |
%global import_path %{provider_prefix}
|
|
|
bf9104c |
%global commit c90cb954266e1bdd6d1914678fd6909fc5fabbfa
|
|
|
55182d0 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
55182d0 |
|
|
|
55182d0 |
Name: golang-%{provider}-%{project}-%{repo}
|
|
|
79239fd |
Version: 1.0.0
|
|
|
ee718b6 |
Release: 14%{?dist}
|
|
|
55182d0 |
Summary: The Go SDK for Openstack http://gophercloud.io
|
|
|
55182d0 |
License: ASL 2.0
|
|
Fridolin Pokorny |
59e8216 |
URL: https://%{provider_prefix}
|
|
Fridolin Pokorny |
59e8216 |
Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
|
|
Fridolin Pokorny |
59e8216 |
|
|
|
36c247e |
# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
|
|
|
36c247e |
ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
|
|
|
36c247e |
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
|
|
|
36c247e |
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
|
|
|
55182d0 |
|
|
|
55182d0 |
%description
|
|
|
55182d0 |
Gophercloud currently lets you authenticate with OpenStack providers to create
|
|
|
55182d0 |
and manage servers. We are working on extending the API to further include
|
|
|
55182d0 |
cloud files, block storage, DNS, databases, security groups,
|
|
|
55182d0 |
and other features.
|
|
|
55182d0 |
|
|
|
55182d0 |
This library is still in the very early stages of development.
|
|
|
55182d0 |
|
|
Fridolin Pokorny |
59e8216 |
%if 0%{?with_devel}
|
|
|
55182d0 |
%package devel
|
|
Fridolin Pokorny |
59e8216 |
Summary: %{summary}
|
|
Fridolin Pokorny |
59e8216 |
BuildArch: noarch
|
|
Fridolin Pokorny |
59e8216 |
|
|
Fridolin Pokorny |
59e8216 |
%if 0%{?with_check}
|
|
Fridolin Pokorny |
59e8216 |
BuildRequires: golang(github.com/mitchellh/mapstructure)
|
|
|
ee718b6 |
BuildRequires: golang(gopkg.in/yaml.v2)
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
Fridolin Pokorny |
59e8216 |
|
|
Fridolin Pokorny |
59e8216 |
Requires: golang(github.com/mitchellh/mapstructure)
|
|
|
ee718b6 |
Requires: golang(gopkg.in/yaml.v2)
|
|
Fridolin Pokorny |
59e8216 |
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/openstack) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/acceptance/openstack/blockstorage/v1) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/acceptance/openstack/blockstorage/v2) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/acceptance/openstack/blockstorage/v2/extensions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/openstack/compute/v2) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/acceptance/openstack/db/v1) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/openstack/identity/v2) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/openstack/identity/v3) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/acceptance/openstack/imageservice/v2) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/openstack/networking/v2) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/openstack/networking/v2/extensions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/openstack/networking/v2/extensions/fwaas) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/openstack/networking/v2/extensions/lbaas) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/acceptance/openstack/networking/v2/extensions/lbaas_v2) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/acceptance/openstack/networking/v2/extensions/portsbinding) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/openstack/objectstorage/v1) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/openstack/orchestration/v1) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/rackspace) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/rackspace/blockstorage/v1) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/rackspace/cdn/v1) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/rackspace/compute/v2) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/acceptance/rackspace/db/v1) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/rackspace/identity/v2) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/rackspace/lb/v1) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/rackspace/networking/v2) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/rackspace/objectstorage/v1) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/rackspace/orchestration/v1) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/rackspace/rackconnect/v3) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/acceptance/tools) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/blockstorage/v1/apiversions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/blockstorage/v1/snapshots) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/blockstorage/v1/volumes) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/blockstorage/v1/volumes/testing) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/blockstorage/v1/volumetypes) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/blockstorage/v2/extensions/volumeactions) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/blockstorage/v2/volumes) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/cdn/v1/base) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/cdn/v1/flavors) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/cdn/v1/serviceassets) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/cdn/v1/services) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/common/extensions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/adminactions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/bootfromvolume) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/defsecrules) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/diskconfig) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/floatingip) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/keypairs) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/networks) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/quotasets) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/schedulerhints) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/secgroups) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/servergroups) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/startstop) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/tenantnetworks) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/volumeattach) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/compute/v2/extensions/volumeattach/testing) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/flavors) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/images) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/compute/v2/servers) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/db/v1/configurations) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/db/v1/databases) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/db/v1/datastores) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/db/v1/flavors) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/db/v1/instances) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/db/v1/users) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/identity/v2/extensions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/identity/v2/extensions/admin/roles) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/identity/v2/tenants) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/identity/v2/tokens) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/identity/v2/users) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/identity/v3/endpoints) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/identity/v3/extensions) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/identity/v3/extensions/trust) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/identity/v3/roles) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/identity/v3/services) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/identity/v3/tokens) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/imageservice/v2/images) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/imageservice/v2/members) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/apiversions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/common) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/external) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/fwaas) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/fwaas/firewalls) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/fwaas/policies) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/fwaas/rules) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/layer3) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/layer3/floatingips) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/layer3/routers) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/lbaas) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/lbaas/members) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/lbaas/monitors) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/lbaas/pools) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/lbaas/vips) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/lbaas_v2) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/lbaas_v2/listeners) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/lbaas_v2/loadbalancers) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/lbaas_v2/monitors) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/lbaas_v2/pools) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/portsbinding) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/provider) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/security) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/security/groups) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/extensions/security/rules) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/networks) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/ports) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/networking/v2/subnets) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/objectstorage/v1/accounts) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/objectstorage/v1/containers) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/objectstorage/v1/objects) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/orchestration/v1/apiversions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/orchestration/v1/buildinfo) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/orchestration/v1/stackevents) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/orchestration/v1/stackresources) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/orchestration/v1/stacks) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/orchestration/v1/stacktemplates) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/openstack/telemetry/v2/meters) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/openstack/utils) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/pagination) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/rackspace/autoscale/v1/policies) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/rackspace/autoscale/v1/webhooks) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/blockstorage/v1/snapshots) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/blockstorage/v1/volumes) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/blockstorage/v1/volumetypes) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/cdn/v1/base) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/cdn/v1/flavors) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/cdn/v1/serviceassets) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/cdn/v1/services) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/compute/v2/bootfromvolume) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/compute/v2/flavors) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/compute/v2/images) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/compute/v2/keypairs) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/compute/v2/networks) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/compute/v2/servers) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/compute/v2/virtualinterfaces) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/compute/v2/volumeattach) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/rackspace/db/v1/backups) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/rackspace/db/v1/configurations) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/rackspace/db/v1/databases) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/rackspace/db/v1/datastores) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/rackspace/db/v1/flavors) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/rackspace/db/v1/instances) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/rackspace/db/v1/users) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/identity/v2/extensions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/identity/v2/roles) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/identity/v2/tenants) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/identity/v2/tokens) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/identity/v2/users) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/lb/v1/acl) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/lb/v1/lbs) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/lb/v1/monitors) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/lb/v1/nodes) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/lb/v1/sessions) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/lb/v1/ssl) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/lb/v1/throttle) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/lb/v1/vips) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/networking/v2/common) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/networking/v2/networks) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/networking/v2/ports) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/networking/v2/security) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/networking/v2/security/groups) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/networking/v2/security/rules) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/networking/v2/subnets) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/objectstorage/v1/accounts) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/objectstorage/v1/bulk) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/objectstorage/v1/cdncontainers) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/objectstorage/v1/cdnobjects) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/objectstorage/v1/containers) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/objectstorage/v1/objects) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/orchestration/v1/buildinfo) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/orchestration/v1/stackevents) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/orchestration/v1/stackresources) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/orchestration/v1/stacks) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/orchestration/v1/stacktemplates) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/rackconnect/v3) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/rackconnect/v3/cloudnetworks) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/rackconnect/v3/lbpools) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/rackspace/rackconnect/v3/publicips) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/testhelper) = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
Provides: golang(%{import_path}/testhelper/client) = %{version}-%{release}
|
|
|
bf9104c |
Provides: golang(%{import_path}/testhelper/fixture) = %{version}-%{release}
|
|
|
55182d0 |
|
|
|
55182d0 |
%description devel
|
|
|
55182d0 |
Gophercloud currently lets you authenticate with OpenStack providers to create
|
|
|
55182d0 |
and manage servers. We are working on extending the API to further include
|
|
|
55182d0 |
cloud files, block storage, DNS, databases, security groups,
|
|
|
55182d0 |
and other features.
|
|
|
55182d0 |
|
|
|
55182d0 |
This library is still in the very early stages of development.
|
|
|
55182d0 |
|
|
Fridolin Pokorny |
59e8216 |
This package contains library source intended for
|
|
Fridolin Pokorny |
59e8216 |
building other packages which use import path with
|
|
Fridolin Pokorny |
59e8216 |
%{import_path} prefix.
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
Fridolin Pokorny |
59e8216 |
|
|
Fridolin Pokorny |
59e8216 |
%if 0%{?with_unit_test}
|
|
Fridolin Pokorny |
59e8216 |
%package unit-test
|
|
Fridolin Pokorny |
59e8216 |
Summary: Unit tests for %{name} package
|
|
Fridolin Pokorny |
59e8216 |
|
|
Fridolin Pokorny |
59e8216 |
%if 0%{?with_check}
|
|
Fridolin Pokorny |
59e8216 |
#Here comes all BuildRequires: PACKAGE the unit tests
|
|
Fridolin Pokorny |
59e8216 |
#in %%check section need for running
|
|
|
bf9104c |
BuildRequires: golang(golang.org/x/crypto/ssh)
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
Fridolin Pokorny |
59e8216 |
|
|
Fridolin Pokorny |
59e8216 |
# test subpackage tests code from devel subpackage
|
|
Fridolin Pokorny |
59e8216 |
Requires: %{name}-devel = %{version}-%{release}
|
|
Fridolin Pokorny |
59e8216 |
|
|
|
bf9104c |
Requires: golang(golang.org/x/crypto/ssh)
|
|
|
bf9104c |
|
|
Fridolin Pokorny |
59e8216 |
%description unit-test
|
|
Fridolin Pokorny |
59e8216 |
%{summary}
|
|
Fridolin Pokorny |
59e8216 |
|
|
Fridolin Pokorny |
59e8216 |
This package contains unit tests for project
|
|
Fridolin Pokorny |
59e8216 |
providing packages with %{import_path} prefix.
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
|
55182d0 |
|
|
|
55182d0 |
%prep
|
|
|
622c304 |
%setup -q -n %{repo}-%{commit}
|
|
|
55182d0 |
|
|
|
55182d0 |
%build
|
|
|
55182d0 |
|
|
|
55182d0 |
%install
|
|
Fridolin Pokorny |
59e8216 |
# source codes for building projects
|
|
Fridolin Pokorny |
59e8216 |
%if 0%{?with_devel}
|
|
|
55182d0 |
install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
|
|
|
36c247e |
echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
|
|
Fridolin Pokorny |
59e8216 |
# find all *.go but no *_test.go files and generate devel.file-list
|
|
Fridolin Pokorny |
59e8216 |
for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
|
|
Fridolin Pokorny |
59e8216 |
install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
|
|
Fridolin Pokorny |
59e8216 |
cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
|
|
Fridolin Pokorny |
59e8216 |
echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
|
|
Fridolin Pokorny |
59e8216 |
done
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
Fridolin Pokorny |
59e8216 |
|
|
Fridolin Pokorny |
59e8216 |
# testing files for this project
|
|
Fridolin Pokorny |
59e8216 |
%if 0%{?with_unit_test}
|
|
Fridolin Pokorny |
59e8216 |
install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
|
|
Fridolin Pokorny |
59e8216 |
# find all *_test.go files and generate unit-test.file-list
|
|
Fridolin Pokorny |
59e8216 |
for file in $(find . -iname "*_test.go"); do
|
|
Fridolin Pokorny |
59e8216 |
install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
|
|
Fridolin Pokorny |
59e8216 |
cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
|
|
Fridolin Pokorny |
59e8216 |
echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
|
|
Fridolin Pokorny |
59e8216 |
done
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
|
55182d0 |
|
|
|
36c247e |
%if 0%{?with_devel}
|
|
|
36c247e |
sort -u -o devel.file-list devel.file-list
|
|
|
36c247e |
%endif
|
|
|
36c247e |
|
|
|
55182d0 |
%check
|
|
Fridolin Pokorny |
59e8216 |
%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
|
|
|
36c247e |
%if ! 0%{?with_bundled}
|
|
|
36c247e |
export GOPATH=%{buildroot}/%{gopath}:%{gopath}
|
|
Fridolin Pokorny |
59e8216 |
%else
|
|
|
36c247e |
export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
|
36c247e |
|
|
|
36c247e |
%if ! 0%{?gotest:1}
|
|
|
36c247e |
%global gotest go test
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
Fridolin Pokorny |
59e8216 |
|
|
|
36c247e |
%gotest %{import_path}
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack/blockstorage/v1
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack/compute/v2
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack/identity/v2
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack/identity/v3
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack/networking/v2
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack/networking/v2/extensions
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack/networking/v2/extensions/fwaas
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack/networking/v2/extensions/lbaas
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack/objectstorage/v1
|
|
|
36c247e |
%gotest %{import_path}/acceptance/openstack/orchestration/v1
|
|
|
36c247e |
%gotest %{import_path}/acceptance/rackspace
|
|
|
36c247e |
%gotest %{import_path}/acceptance/rackspace/blockstorage/v1
|
|
|
36c247e |
%gotest %{import_path}/acceptance/rackspace/cdn/v1
|
|
|
36c247e |
%gotest %{import_path}/acceptance/rackspace/compute/v2
|
|
|
36c247e |
%gotest %{import_path}/acceptance/rackspace/identity/v2
|
|
|
36c247e |
%gotest %{import_path}/acceptance/rackspace/lb/v1
|
|
|
36c247e |
%gotest %{import_path}/acceptance/rackspace/networking/v2
|
|
|
36c247e |
%gotest %{import_path}/acceptance/rackspace/objectstorage/v1
|
|
|
36c247e |
%gotest %{import_path}/acceptance/rackspace/orchestration/v1
|
|
|
36c247e |
%gotest %{import_path}/acceptance/rackspace/rackconnect/v3
|
|
|
36c247e |
%gotest %{import_path}/openstack
|
|
|
36c247e |
%gotest %{import_path}/openstack/blockstorage/v1/apiversions
|
|
|
36c247e |
%gotest %{import_path}/openstack/blockstorage/v1/snapshots
|
|
|
36c247e |
%gotest %{import_path}/openstack/blockstorage/v1/volumes
|
|
|
36c247e |
%gotest %{import_path}/openstack/blockstorage/v1/volumetypes
|
|
|
36c247e |
%gotest %{import_path}/openstack/cdn/v1/base
|
|
|
36c247e |
%gotest %{import_path}/openstack/cdn/v1/flavors
|
|
|
36c247e |
%gotest %{import_path}/openstack/cdn/v1/serviceassets
|
|
|
36c247e |
%gotest %{import_path}/openstack/cdn/v1/services
|
|
|
36c247e |
%gotest %{import_path}/openstack/common/extensions
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions/bootfromvolume
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions/defsecrules
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions/diskconfig
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions/floatingip
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions/keypairs
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions/secgroups
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions/servergroups
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions/startstop
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions/tenantnetworks
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/extensions/volumeattach
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/flavors
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/images
|
|
|
36c247e |
%gotest %{import_path}/openstack/compute/v2/servers
|
|
|
36c247e |
%gotest %{import_path}/openstack/identity/v2/extensions
|
|
|
36c247e |
%gotest %{import_path}/openstack/identity/v2/extensions/admin/roles
|
|
|
36c247e |
%gotest %{import_path}/openstack/identity/v2/tenants
|
|
|
36c247e |
%gotest %{import_path}/openstack/identity/v2/tokens
|
|
|
36c247e |
%gotest %{import_path}/openstack/identity/v2/users
|
|
|
36c247e |
%gotest %{import_path}/openstack/identity/v3/endpoints
|
|
|
36c247e |
%gotest %{import_path}/openstack/identity/v3/services
|
|
|
36c247e |
%gotest %{import_path}/openstack/identity/v3/tokens
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/apiversions
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/external
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/fwaas/firewalls
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/fwaas/policies
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/fwaas/rules
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/layer3/floatingips
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/layer3/routers
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/lbaas/members
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/lbaas/monitors
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/lbaas/pools
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/lbaas/vips
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/provider
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/security/groups
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/extensions/security/rules
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/networks
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/ports
|
|
|
36c247e |
%gotest %{import_path}/openstack/networking/v2/subnets
|
|
|
36c247e |
%gotest %{import_path}/openstack/objectstorage/v1/accounts
|
|
|
36c247e |
%gotest %{import_path}/openstack/objectstorage/v1/containers
|
|
|
36c247e |
%gotest %{import_path}/openstack/objectstorage/v1/objects
|
|
|
36c247e |
%gotest %{import_path}/openstack/orchestration/v1/apiversions
|
|
|
36c247e |
%gotest %{import_path}/openstack/orchestration/v1/buildinfo
|
|
|
36c247e |
%gotest %{import_path}/openstack/orchestration/v1/stackevents
|
|
|
36c247e |
%gotest %{import_path}/openstack/orchestration/v1/stackresources
|
|
|
36c247e |
%gotest %{import_path}/openstack/orchestration/v1/stacks
|
|
|
36c247e |
%gotest %{import_path}/openstack/orchestration/v1/stacktemplates
|
|
|
36c247e |
%gotest %{import_path}/openstack/utils
|
|
|
36c247e |
%gotest %{import_path}/pagination
|
|
|
36c247e |
%gotest %{import_path}/rackspace
|
|
|
36c247e |
%gotest %{import_path}/rackspace/blockstorage/v1/snapshots
|
|
|
36c247e |
%gotest %{import_path}/rackspace/blockstorage/v1/volumes
|
|
|
36c247e |
%gotest %{import_path}/rackspace/blockstorage/v1/volumetypes
|
|
|
36c247e |
%gotest %{import_path}/rackspace/cdn/v1/base
|
|
|
36c247e |
%gotest %{import_path}/rackspace/cdn/v1/flavors
|
|
|
36c247e |
%gotest %{import_path}/rackspace/cdn/v1/serviceassets
|
|
|
36c247e |
%gotest %{import_path}/rackspace/cdn/v1/services
|
|
|
36c247e |
%gotest %{import_path}/rackspace/compute/v2/bootfromvolume
|
|
|
36c247e |
%gotest %{import_path}/rackspace/compute/v2/flavors
|
|
|
36c247e |
%gotest %{import_path}/rackspace/compute/v2/images
|
|
|
36c247e |
%gotest %{import_path}/rackspace/compute/v2/keypairs
|
|
|
36c247e |
%gotest %{import_path}/rackspace/compute/v2/networks
|
|
|
36c247e |
%gotest %{import_path}/rackspace/compute/v2/servers
|
|
|
36c247e |
%gotest %{import_path}/rackspace/compute/v2/virtualinterfaces
|
|
|
36c247e |
%gotest %{import_path}/rackspace/compute/v2/volumeattach
|
|
|
36c247e |
%gotest %{import_path}/rackspace/identity/v2/extensions
|
|
|
36c247e |
%gotest %{import_path}/rackspace/identity/v2/roles
|
|
|
36c247e |
%gotest %{import_path}/rackspace/identity/v2/tenants
|
|
|
36c247e |
%gotest %{import_path}/rackspace/identity/v2/tokens
|
|
|
36c247e |
%gotest %{import_path}/rackspace/identity/v2/users
|
|
|
36c247e |
%gotest %{import_path}/rackspace/lb/v1/acl
|
|
|
36c247e |
%gotest %{import_path}/rackspace/lb/v1/lbs
|
|
|
36c247e |
%gotest %{import_path}/rackspace/lb/v1/monitors
|
|
|
36c247e |
%gotest %{import_path}/rackspace/lb/v1/nodes
|
|
|
36c247e |
%gotest %{import_path}/rackspace/lb/v1/sessions
|
|
|
36c247e |
%gotest %{import_path}/rackspace/lb/v1/ssl
|
|
|
36c247e |
%gotest %{import_path}/rackspace/lb/v1/throttle
|
|
|
36c247e |
%gotest %{import_path}/rackspace/lb/v1/vips
|
|
|
36c247e |
%gotest %{import_path}/rackspace/networking/v2/networks
|
|
|
36c247e |
%gotest %{import_path}/rackspace/networking/v2/ports
|
|
|
36c247e |
%gotest %{import_path}/rackspace/networking/v2/security/groups
|
|
|
36c247e |
%gotest %{import_path}/rackspace/networking/v2/security/rules
|
|
|
36c247e |
%gotest %{import_path}/rackspace/networking/v2/subnets
|
|
|
36c247e |
%gotest %{import_path}/rackspace/objectstorage/v1/accounts
|
|
|
36c247e |
%gotest %{import_path}/rackspace/objectstorage/v1/bulk
|
|
|
36c247e |
%gotest %{import_path}/rackspace/objectstorage/v1/cdncontainers
|
|
|
36c247e |
%gotest %{import_path}/rackspace/objectstorage/v1/cdnobjects
|
|
|
36c247e |
%gotest %{import_path}/rackspace/objectstorage/v1/containers
|
|
|
36c247e |
%gotest %{import_path}/rackspace/objectstorage/v1/objects
|
|
|
36c247e |
%gotest %{import_path}/rackspace/orchestration/v1/buildinfo
|
|
|
36c247e |
%gotest %{import_path}/rackspace/orchestration/v1/stackevents
|
|
|
36c247e |
%gotest %{import_path}/rackspace/orchestration/v1/stackresources
|
|
|
36c247e |
%gotest %{import_path}/rackspace/orchestration/v1/stacks
|
|
|
36c247e |
%gotest %{import_path}/rackspace/orchestration/v1/stacktemplates
|
|
|
36c247e |
%gotest %{import_path}/rackspace/rackconnect/v3/cloudnetworks
|
|
|
36c247e |
%gotest %{import_path}/rackspace/rackconnect/v3/lbpools
|
|
|
36c247e |
%gotest %{import_path}/rackspace/rackconnect/v3/publicips
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
Fridolin Pokorny |
59e8216 |
|
|
|
36c247e |
#define license tag if not already defined
|
|
|
36c247e |
%{!?_licensedir:%global license %doc}
|
|
|
36c247e |
|
|
Fridolin Pokorny |
59e8216 |
%if 0%{?with_devel}
|
|
Fridolin Pokorny |
59e8216 |
%files devel -f devel.file-list
|
|
|
36c247e |
%license LICENSE
|
|
Fridolin Pokorny |
59e8216 |
%doc README.md CONTRIBUTING.md UPGRADING.md CONTRIBUTORS.md
|
|
|
55182d0 |
%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
Fridolin Pokorny |
59e8216 |
|
|
Fridolin Pokorny |
59e8216 |
%if 0%{?with_unit_test}
|
|
Fridolin Pokorny |
59e8216 |
%files unit-test -f unit-test.file-list
|
|
|
36c247e |
%license LICENSE
|
|
Fridolin Pokorny |
59e8216 |
%endif
|
|
|
55182d0 |
|
|
|
55182d0 |
%changelog
|
|
|
ee718b6 |
* Wed Feb 01 2017 Jan Chaloupka <jchaloup@redhat.com> - 1.0.0-14
|
|
|
ee718b6 |
- Fix [Build]Required yaml v2
|
|
|
ee718b6 |
related: #1214774
|
|
|
ee718b6 |
|
|
|
bf9104c |
* Wed Jan 18 2017 Jan Chaloupka <jchaloup@redhat.com> - 1.0.0-13
|
|
|
bf9104c |
- Bump to upstream c90cb954266e1bdd6d1914678fd6909fc5fabbfa
|
|
|
bf9104c |
related: #1214774
|
|
|
bf9104c |
|
|
|
36c247e |
* Wed Jan 18 2017 Jan Chaloupka <jchaloup@redhat.com>
|
|
|
36c247e |
- Polish the spec file
|
|
|
36c247e |
related: #1214774
|
|
|
36c247e |
|
|
|
e5cd624 |
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-11
|
|
|
e5cd624 |
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
e5cd624 |
|
|
|
bdf1ba4 |
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-10
|
|
|
bdf1ba4 |
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
bdf1ba4 |
|
|
|
3197ad4 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-9
|
|
|
3197ad4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3197ad4 |
|
|
Fridolin Pokorny |
59e8216 |
* Fri Aug 07 2015 Fridolin Pokorny <fpokorny@redhat.com> - 1.0.0-8
|
|
Fridolin Pokorny |
59e8216 |
- Update spec file to spec-2.0
|
|
Fridolin Pokorny |
59e8216 |
resolves: #1214774
|
|
Fridolin Pokorny |
59e8216 |
|
|
|
ca9795c |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-7
|
|
|
ca9795c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
ca9795c |
|
|
|
be6b89c |
* Thu Apr 23 2015 jchaloup <jchaloup@redhat.com> - 1.0.0-6
|
|
|
be6b89c |
- Bump to upstream f3ced00552c1c7d4a6184500af9062cfb4ff4463
|
|
|
be6b89c |
resolves: #1214774
|
|
|
be6b89c |
|
|
|
8499fd1 |
* Fri Mar 06 2015 jchaloup <jchaloup@redhat.com> - 1.0.0-5
|
|
|
8499fd1 |
- Fix root provide, replace double % with one
|
|
|
8499fd1 |
related: #1153733
|
|
|
8499fd1 |
|
|
|
574d493 |
* Fri Mar 06 2015 jchaloup <jchaloup@redhat.com> - 1.0.0-4
|
|
|
574d493 |
- Fix Provides, used import_path macro instead of its value
|
|
|
574d493 |
related: #1153733
|
|
|
574d493 |
|
|
|
a54cd1f |
* Fri Mar 06 2015 jchaloup <jchaloup@redhat.com> - 1.0.0-3
|
|
|
a54cd1f |
- Bump to upstream 6753165c3bb83a2b41bc495210509eacb12926d6
|
|
|
a54cd1f |
related: #1153733
|
|
|
a54cd1f |
|
|
|
622c304 |
* Wed Feb 25 2015 jchaloup <jchaloup@redhat.com> - 1.0.0-2
|
|
|
622c304 |
- Bump to upstream 75c3fecab50deff8ff90bce2147a9d3140c5a13f
|
|
|
622c304 |
related: #1153733
|
|
|
622c304 |
|
|
|
79239fd |
* Fri Jan 02 2015 jchaloup <jchaloup@redhat.com> - 1.0.0-1
|
|
|
79239fd |
- update to 1.0.0
|
|
|
79239fd |
related: #1153733
|
|
|
79239fd |
|
|
|
55182d0 |
* Thu Oct 16 2014 jchaloup <jchaloup@redhat.com> - 0-0.1.gite13cda2
|
|
|
55182d0 |
- First package for Fedora
|
|
|
55182d0 |
resolves: #1153733
|
|
|
55182d0 |
|