9d3ca49387
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
48 lines
1.3 KiB
Diff
48 lines
1.3 KiB
Diff
diff --git a/SPECS/python-keystoneclient.spec b/SPECS/python-keystoneclient.spec
|
|
index 2844d30..edd6720 100644
|
|
--- a/SPECS/python-keystoneclient.spec
|
|
+++ b/SPECS/python-keystoneclient.spec
|
|
@@ -167,6 +167,12 @@ BuildRequires: python-openstackdocstheme
|
|
%description doc
|
|
Documentation for the keystoneclient module
|
|
|
|
+%package sdk
|
|
+Summary: SDK files for %{name}
|
|
+
|
|
+%description sdk
|
|
+Contains SDK files for %{name} package
|
|
+
|
|
%prep
|
|
%autosetup -n %{name}-%{upstream_version} -S git
|
|
|
|
@@ -194,6 +200,10 @@ rm -rf {test-,}requirements.txt
|
|
# Fix hidden-file-or-dir warnings
|
|
rm -fr doc/build/html/.{doctrees,buildinfo}
|
|
|
|
+# prep SDK package
|
|
+mkdir -p %{buildroot}/usr/share/remote-clients/%{name}
|
|
+tar zcf %{buildroot}/usr/share/remote-clients/%{name}/%{name}-%{version}.tgz --exclude='.gitignore' --exclude='.gitreview' -C .. %{name}-%{version}
|
|
+
|
|
|
|
%check
|
|
%{__python2} setup.py test
|
|
@@ -202,6 +212,7 @@ rm -fr .testrepository
|
|
%{__python3} setup.py test
|
|
%endif
|
|
|
|
+
|
|
%files -n python2-keystoneclient
|
|
%license LICENSE
|
|
%doc README.rst
|
|
@@ -232,6 +243,10 @@ rm -fr .testrepository
|
|
%{python3_sitelib}/keystoneclient/tests
|
|
%endif
|
|
|
|
+%files sdk
|
|
+/usr/share/remote-clients/%{name}/%{name}-%{version}.tgz
|
|
+
|
|
+
|
|
%changelog
|
|
* Fri Aug 11 2017 Alfredo Moralejo <amoralej@redhat.com> 1:3.13.0-1
|
|
- Update to 3.13.0
|