diff --git a/LICENSE.md b/LICENSE.md
deleted file mode 100644
index 253596f..0000000
--- a/LICENSE.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# License
-
-Copyright © 2017-present, Tom Christie.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-* Neither the name of the copyright holder nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/_service b/_service
new file mode 100644
index 0000000..98a46f6
--- /dev/null
+++ b/_service
@@ -0,0 +1,18 @@
+
+
+ https://github.com/PavanTatikonda/itypes.git
+ git
+ 1.2.0
+ @PARENT_TAG@
+
+ .git*
+ enable
+ mcepl@cepl.eu
+
+
+
+ *.tar
+ gz
+
+
+
diff --git a/_servicedata b/_servicedata
new file mode 100644
index 0000000..5d1e77e
--- /dev/null
+++ b/_servicedata
@@ -0,0 +1,4 @@
+
+
+ https://github.com/PavanTatikonda/itypes.git
+ 86b6fb6aea3546fd86eb319bd06a82a655a94a97
\ No newline at end of file
diff --git a/itypes-1.1.0.tar.gz b/itypes-1.1.0.tar.gz
deleted file mode 100644
index 388728f..0000000
--- a/itypes-1.1.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c6e77bb9fd68a4bfeb9d958fea421802282451a25bac4913ec94db82a899c073
-size 2188
diff --git a/itypes-1.2.0.tar.gz b/itypes-1.2.0.tar.gz
new file mode 100644
index 0000000..a59eaf1
--- /dev/null
+++ b/itypes-1.2.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:96b5a71a940bc8a4dafecbc1541df2e32dd5d27adf45534f80372c50fefee44b
+size 5573
diff --git a/itypes.obsinfo b/itypes.obsinfo
new file mode 100644
index 0000000..7a04a79
--- /dev/null
+++ b/itypes.obsinfo
@@ -0,0 +1,5 @@
+name: itypes
+version: 1.2.0
+mtime: 1587332795
+commit: 86b6fb6aea3546fd86eb319bd06a82a655a94a97
+
diff --git a/python-itypes.changes b/python-itypes.changes
index c0c7e73..0df212c 100644
--- a/python-itypes.changes
+++ b/python-itypes.changes
@@ -1,3 +1,29 @@
+-------------------------------------------------------------------
+Sun Aug 29 19:21:21 UTC 2021 - Matej Cepl
+
+- Enable tests (we need to get source tarball from GitHub
+ directly).
+
+-------------------------------------------------------------------
+Sun Aug 29 19:18:05 UTC 2021 - mcepl@cepl.eu
+
+- Update to version 1.2.0:
+ * adding long description content type text/markdown
+ * adding read func in setup.py
+ * removing python v3.3 support
+ * fix collections deprecation warning
+ * Create LICENSE.md
+ * Add Python 2/3 trove classifiers to setup.py
+ * Add support for running tests on Travis
+ * Add 'itypes.Object'
+ * Update README.md
+
+-------------------------------------------------------------------
+Wed Aug 25 10:16:51 UTC 2021 - John Paul Adrian Glaubitz
+
+- Update to 1.2.0
+ * fix collections deprecation warning
+
-------------------------------------------------------------------
Mon Feb 25 12:46:09 UTC 2019 - Tomáš Chvátal
diff --git a/python-itypes.spec b/python-itypes.spec
index 9d2a8e9..27e4e93 100644
--- a/python-itypes.spec
+++ b/python-itypes.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-itypes
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-itypes
-Version: 1.1.0
+Version: 1.2.0
Release: 0
Summary: Basic immutable container types for Python
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/tomchristie/itypes
-Source: https://files.pythonhosted.org/packages/source/i/itypes/itypes-%{version}.tar.gz
-Source1: https://raw.githubusercontent.com/tomchristie/itypes/master/LICENSE.md
+Source: itypes-%{version}.tar.gz
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -41,8 +41,7 @@ Use these in circumstances where it may result in more comprehensible code, or
when you want to create custom types with restricted, immutable interfaces.
%prep
-%setup -q -n itypes-%{version}
-cp %{SOURCE1} .
+%autosetup -p1 -n itypes-%{version}
%build
%python_build
@@ -51,6 +50,9 @@ cp %{SOURCE1} .
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+%pytest tests.py
+
%files %{python_files}
%license LICENSE.md
%{python_sitelib}/itypes.py*