[python-remoto] Update to remoto-0.0.23 (RHBZ #1146478)

Ken Dreyer ktdreyer at fedoraproject.org
Fri Jan 2 22:36:51 UTC 2015


commit 01c5f46ed240c1890e6a2e3661ebd24b259b4d17
Author: Ken Dreyer <ktdreyer at ktdreyer.com>
Date:   Fri Dec 12 13:06:21 2014 -0700

    Update to remoto-0.0.23 (RHBZ #1146478)
    
    - Use pypi URL for Source0 (requires LICENSE file to be shipped
      separately)
    - Use HTTPS for homepage

 .gitignore                   |    1 +
 python-remoto-0.0.23-LICENSE |   20 ++++++++++++++++++++
 python-remoto.spec           |   18 ++++++++++++++----
 sources                      |    2 +-
 4 files changed, 36 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c7568f2..a8b79ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /remoto-0.0.17.tar.xz
 /remoto-0.0.19.tar.xz
 /remoto-0.0.21.tar.xz
+/remoto-0.0.23.tar.gz
diff --git a/python-remoto-0.0.23-LICENSE b/python-remoto-0.0.23-LICENSE
new file mode 100644
index 0000000..3589596
--- /dev/null
+++ b/python-remoto-0.0.23-LICENSE
@@ -0,0 +1,20 @@
+The MIT License (MIT)
+Copyright (c) 2013 Alfredo Deza
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
+OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/python-remoto.spec b/python-remoto.spec
index 602f069..7c17544 100644
--- a/python-remoto.spec
+++ b/python-remoto.spec
@@ -6,15 +6,17 @@
 %global pkgname remoto
 
 Name:           python-%{pkgname}
-Version:        0.0.21
+Version:        0.0.23
 Release:        1%{?dist}
 Summary:        Execute remote commands or processes
 
 License:        MIT
-URL:            http://github.com/alfredodeza/remoto
+URL:            https://github.com/alfredodeza/remoto
 
-# http://github.com/alfredodeza/%{pkgname}/archive/%{version}.tar.gz
-Source0:        %{pkgname}-%{version}.tar.xz
+Source0:        https://pypi.python.org/packages/source/r/%{pkgname}/%{pkgname}-%{version}.tar.gz
+# From https://raw.githubusercontent.com/alfredodeza/remoto/master/LICENSE
+# See https://github.com/alfredodeza/remoto/pull/9 for the upstream fix
+Source1:        python-remoto-0.0.23-LICENSE
 
 BuildArch:      noarch
 BuildRequires:  python2-devel
@@ -29,6 +31,9 @@ Execute remote commands or processes.
 %prep
 %setup -q -n %{pkgname}-%{version}
 
+# Until upstream ships the full text of the MIT license in a released pkg, we
+# will ship the copy from Git master.
+cp -p %{SOURCE1} LICENSE
 
 %build
 REMOTO_NO_VENDOR=1 %{__python2} setup.py build
@@ -44,6 +49,11 @@ REMOTO_NO_VENDOR=1 %{__python2} setup.py install -O1 --skip-build --root $RPM_BU
 
 
 %changelog
+* Fri Dec 12 2014 Ken Dreyer <kdreyer at redhat.com> - 0.0.23-1
+- Update to remoto-0.0.23 (RHBZ #1146478)
+- Use pypi URL for Source0 (requires LICENSE file to be shipped separately)
+- Use HTTPS for homepage
+
 * Fri Sep 12 2014 Federico Simoncelli <fsimonce at redhat.com> 0.0.21-1
 - update remoto-0.0.21
 
diff --git a/sources b/sources
index d18d761..f46b0f8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-841844f352330ad4dcd2d25c63fba437  remoto-0.0.21.tar.xz
+845a4ccdb09f77e359aad62e6e034157  remoto-0.0.23.tar.gz


More information about the scm-commits mailing list