diff --git a/python-yubico-1.3.3.tar.gz b/python-yubico-1.3.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..04d49ef63fbdbd4b90c277f02dcded144d85d6c0 Binary files /dev/null and b/python-yubico-1.3.3.tar.gz differ diff --git a/python-yubico.spec b/python-yubico.spec new file mode 100644 index 0000000000000000000000000000000000000000..48ae12e14d2780311fba82f7e43629c04dc5ef1f --- /dev/null +++ b/python-yubico.spec @@ -0,0 +1,53 @@ +%{!?_licensedir:%global license %%doc} + +Name: python-yubico +Version: 1.3.3 +Release: 1 +Summary: Python package for talking to YubiKeys +License: BSD +URL: https://github.com/Yubico/python-yubico +Source0: https://github.com/Yubico/python-yubico/archive/python-yubico-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel python3-setuptools python3-nose python3-pyusb + +%description +Python package for talking to YubiKeys + +%package -n python3-yubico +Summary: Python package for talking to YubiKeys +Requires: python3-pyusb + +%{?python_provide:%python_provide python3-yubico} + +%description -n python3-yubico +Python package for talking to YubiKeys. For Python 3. + +%package -n python-yubico-help +Summary: Docs for python3-yubico + +%description -n python-yubico-help +Docs for python-yubico + +%prep +%autosetup -n python-yubico-python-yubico-%{version} -p1 + +%build +%py3_build + +%install +%py3_install + +%check +nosetests-%{python3_version} -e test_challenge_response -e test_serial -e test_status + +%files -n python3-yubico +%doc COPYING +%{python3_sitelib}/* + +%files -n python-yubico-help +%doc NEWS README + +%changelog +* Tue Apr 14 2020 huanghaitao - 1.3.3-1 +- Package init diff --git a/python-yubico.yaml b/python-yubico.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b1b4e5c137f8f9dd011a228c613d0b6b0ad4fc0c --- /dev/null +++ b/python-yubico.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: Yubico/python-yubico +tag_prefix: "python-yubico-" +seperator: "."