commit 482441bc72ba922f9a3a7b3c6a447877fc3eb8e3ceda5c345280e6301ca66b76 Author: Tomáš Chvátal Date: Thu Aug 27 19:47:03 2020 +0000 Accepting request 830048 from home:jayvdb:py-submit dep of many dns servers OBS-URL: https://build.opensuse.org/request/show/830048 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnslib?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/dnslib-0.9.14.tar.gz b/dnslib-0.9.14.tar.gz new file mode 100644 index 0000000..8a683a7 --- /dev/null +++ b/dnslib-0.9.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbd20a7cd704836923be8e130f0da6c3d840f14ac04590fae420a41d1f1be6fb +size 72759 diff --git a/python-dnslib.changes b/python-dnslib.changes new file mode 100644 index 0000000..179793a --- /dev/null +++ b/python-dnslib.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 27 16:12:36 UTC 2020 - John Vandenberg + +- Update to v0.9.14 + +------------------------------------------------------------------- +Mon Dec 16 03:36:26 AM UTC 2019 - John Vandenberg + +- Initial spec for v0.9.10 diff --git a/python-dnslib.spec b/python-dnslib.spec new file mode 100644 index 0000000..26a311f --- /dev/null +++ b/python-dnslib.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-dnslib +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-dnslib +Version: 0.9.14 +Release: 0 +Summary: Simple library to encode/decode DNS wire-format packets +License: BSD-2-Clause +Group: Development/Languages/Python +URL: https://github.com/paulc/dnslib +Source: https://files.pythonhosted.org/packages/source/d/dnslib/dnslib-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +Simple library to encode/decode DNS wire-format packets. + +%prep +%setup -q -n dnslib-%{version} +sed -i '1{/^#!/d}' dnslib/test_decode.py + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_expand VERSIONS="$python" sh ./run_tests.sh + +%files %{python_files} +%doc README +%license LICENSE +%{python_sitelib}/* + +%changelog