diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 3eb6ba2..0000000 --- a/LICENSE +++ /dev/null @@ -1,16 +0,0 @@ -No-notice MIT License - -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. - -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/b212790.tar.gz b/b212790.tar.gz new file mode 100644 index 0000000..38c976d --- /dev/null +++ b/b212790.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:551bae7c70d83a315a3ed092caa3fbc6b2e8d65fb52d0f555647cbc3f5eb5f3b +size 19525 diff --git a/fa9501a1.tar.gz b/fa9501a1.tar.gz deleted file mode 100644 index d0cb50a..0000000 --- a/fa9501a1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a097166292d39e69b8d95f20d67e3609e48b96d88a11e76382e1e5e8e099209d -size 16627 diff --git a/python-pytoml.changes b/python-pytoml.changes index 9c763cd..08b2162 100644 --- a/python-pytoml.changes +++ b/python-pytoml.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Dec 7 10:20:44 UTC 2018 - Tomáš Chvátal + +- Fix fdupes call +- Update to 0.1.20: + * many small bugfixes around + * Include license file +- Update the test tgz tarball from the git + ------------------------------------------------------------------- Fri May 18 06:07:49 UTC 2018 - bruno@ioda-net.ch diff --git a/python-pytoml.spec b/python-pytoml.spec index 9540987..09015e6 100644 --- a/python-pytoml.spec +++ b/python-pytoml.spec @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytoml -Version: 0.1.14 +Version: 0.1.20 Release: 0 Summary: TOML-0.4.0 parser/writer for Python License: MIT @@ -26,10 +26,7 @@ Group: Development/Libraries/Python URL: https://github.com/avakar/pytoml Source0: https://files.pythonhosted.org/packages/source/p/pytoml/pytoml-%{version}.tar.gz # toml-test for tests from author's fork with specific commit -Source1: https://github.com/avakar/toml-test/archive/fa9501a1.tar.gz -# Next release should contain it in std tgz -Source2: https://raw.githubusercontent.com/avakar/pytoml/master/LICENSE -BuildRequires: %{python_module base} +Source1: https://github.com/avakar/toml-test/archive/b212790.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -39,29 +36,26 @@ BuildArch: noarch %description A specs-conforming and strict parser and writer for TOML files. -The library currently supports version 0.4.0 of the specs and -runs with Python 2.6+ and 3.3+. +The library currently supports version 0.4.0 of the specs. %prep %setup -q -n pytoml-%{version} -cp -a %{SOURCE2} LICENSE tar -C test -xzf%{SOURCE1} -cd test -mv toml-test-fa9501a192b7c46b82059caddaef978e3de883dc toml-test - +cd test +mv toml-test-b212790a6b7367489f389411bda009e5ff765f20 toml-test %build %python_build %install %python_install -%fdupes %{buildroot}%{_prefix} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand export PYTHONPATH=%{buildroot}%{python_sitelib}; python test/test.py +export PYTHONDONTWRITEBYTECODE=1 +%python_expand PYTHONPATH=%{buildroot}%{python_sitelib} $python test/test.py %files %{python_files} -%defattr(-,root,root) %license LICENSE %{python_sitelib}/pytoml/ %{python_sitelib}/pytoml-%{version}-py%{py_ver}.egg-info/ diff --git a/pytoml-0.1.14.tar.gz b/pytoml-0.1.14.tar.gz deleted file mode 100644 index 27af4c2..0000000 --- a/pytoml-0.1.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aff69147d436c3ba8c7f3bc1b3f4aa3d7e47d305a495f2631872e6429694aabf -size 6466 diff --git a/pytoml-0.1.20.tar.gz b/pytoml-0.1.20.tar.gz new file mode 100644 index 0000000..3f8881e --- /dev/null +++ b/pytoml-0.1.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca2d0cb127c938b8b76a9a0d0f855cf930c1d50cc3a0af6d3595b566519a1013 +size 8491