[openstack-swift-plugin-swift3] Update to 1.7
Pete Zaitcev
zaitcev at fedoraproject.org
Fri Dec 14 19:49:53 UTC 2012
commit 89a523efd59201f1555cddbdc9d66850620d92c7
Author: Pete Zaitcev <zaitcev at kotori.zaitcev.us>
Date: Fri Dec 14 12:49:41 2012 -0700
Update to 1.7
.gitignore | 1 +
openstack-swift-plugin-swift3.spec | 25 ++++++++++++++++++-------
sources | 2 +-
3 files changed, 20 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 91d6a37..ca422d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/swift3-1.0.0-5c74ba04.tar.xz
/swift3-1.0.0-f216f1b4.tar.xz
+/swift3-1.7.tar.gz
diff --git a/openstack-swift-plugin-swift3.spec b/openstack-swift-plugin-swift3.spec
index 791de9c..9fcea0d 100644
--- a/openstack-swift-plugin-swift3.spec
+++ b/openstack-swift-plugin-swift3.spec
@@ -1,15 +1,20 @@
-%global git_rev f216f1b4
+#global git_rev f216f1b4
Name: openstack-swift-plugin-swift3
-Version: 1.0.0
-Release: 0.20120711git%{?dist}
+Version: 1.7
+#Release: 0.20120711git%{?dist}
+Release: 1
Summary: The swift3 plugin for Openstack Swift
License: ASL 2.0
URL: https://github.com/fujita/swift3
# git config --global tar.tar.xz.command "xz -c"
-# git archive --format=tar.xz --prefix=swift3-1.0.0-%{git_rev}/ %{git_rev}
-Source0: swift3-1.0.0-%{git_rev}.tar.xz
+# git archive --format=tar.xz --prefix=swift3-1.0.0-#{git_rev}/ #{git_rev}
+#Source0: swift3-1.0.0-#{git_rev}.tar.xz
+# URL: https://github.com/fujita/swift3/archive/v1.7.tar.gz
+# However, github returns 302 for it. When follow redirect, it returns
+# Content-Disposition: attachment; filename=swift3-1.7.tar.gz
+Source0: swift3-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
@@ -22,7 +27,8 @@ The swift3 plugin permits accessing Openstack Swift via the
Amazon S3 API.
%prep
-%setup -q -n swift3-1.0.0-%{git_rev}
+#setup -q -n swift3-1.0.0-#{git_rev}
+%setup -q -n swift3-1.7
%build
%{__python} setup.py build
@@ -38,11 +44,16 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
#{python_sitelib}/#{name}-#{version}-*.egg-info/
-%{python_sitelib}/swift3-%{version}-*.egg-info/
+# Tomo posted official release 1.7 but setup.py creating 1.7.0, way to go.
+%{python_sitelib}/swift3-1.7.0-*.egg-info/
%{python_sitelib}/swift3/
%doc AUTHORS LICENSE README.md
%changelog
+* Fri Dec 14 2012 Pete Zaitcev <zaitcev at redhat.com> - 1.7-1
+- Update to upstream 1.7; keep git style as comments in the spec
+- Upstream update fixes Cyberduck
+
* Mon Sep 17 2012 Alan Pevec <apevec at redhat.com> - 1.0.0-0.20120711git
- Pull bugfixes from upstream git.
diff --git a/sources b/sources
index 80df226..7d2e9ab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4401cc1302f4f22d90f3ee8a4c6a2892 swift3-1.0.0-f216f1b4.tar.xz
+b3243b227603795c68a8ff3cded3455a swift3-1.7.tar.gz
More information about the scm-commits
mailing list