[python-flask-principal] add missing LICENSE file

Richard Marko rmarko at fedoraproject.org
Mon Aug 12 13:47:51 UTC 2013


commit 18422449bf5ba371cf4d52745e87c77d904d1513
Author: Richard Marko <rmarko at fedoraproject.org>
Date:   Mon Aug 12 15:45:45 2013 +0200

    add missing LICENSE file

 LICENSE                     |   22 ++++++++++++++++++++++
 python-flask-principal.spec |   10 ++++++++--
 2 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..85522fd
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2012 Ali Afshar
+
+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.
\ No newline at end of file
diff --git a/python-flask-principal.spec b/python-flask-principal.spec
index 446f1cf..269c91e 100644
--- a/python-flask-principal.spec
+++ b/python-flask-principal.spec
@@ -1,13 +1,15 @@
 %global pypi_name Flask-Principal
 Name:           python-flask-principal
 Version:        0.4.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Identity management for Flask applications
 
 Group:          Development/Languages
 License:        MIT
 URL:            https://pypi.python.org/pypi/%{pypi_name}
 Source0:        https://pypi.python.org/packages/source/F/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+# patch adding LICENSE to release tarball accepted upstream, will be included in the next version
+Source1:        LICENSE
 
 BuildArch:      noarch
 
@@ -25,6 +27,7 @@ application.
 %prep
 %setup -q -n %{pypi_name}-%{version}
 rm -rf %{pypi_name}.egg-info
+cp %{SOURCE1} .
 
 %build
 %{__python} setup.py build
@@ -33,10 +36,13 @@ rm -rf %{pypi_name}.egg-info
 %{__python} setup.py install --skip-build --root %{buildroot}
 
 %files
-%doc README.rst
+%doc LICENSE README.rst
 %{python_sitelib}/*
 
 %changelog
+* Mon Aug 12 2013  Richard Marko <rmarko at fedoraproject.org> - 0.4.0-5
+- Added missing LICENSE file
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list