diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-03-28 08:39:58 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-03-28 08:39:58 +0000 |
commit | 6565fecc44ff70047c44f2b7e142a49a096846a8 (patch) | |
tree | 550561d017831165be335f4886aad14dfd568ca3 | |
parent | 7ec3af9615c23a04e412063fb7c964ace1912dcc (diff) |
automatic import of python-cos2epel9
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-cos2.spec | 57 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 59 insertions, 0 deletions
@@ -0,0 +1 @@ +/cos2-0.1.8.tar.gz diff --git a/python-cos2.spec b/python-cos2.spec new file mode 100644 index 0000000..1815475 --- /dev/null +++ b/python-cos2.spec @@ -0,0 +1,57 @@ +Name: python-cos2 +Version: 0.1.8 +Release: 1%{?dist} +Summary: Chinac COS (Object Storage Service) SDK + +# Check if the automatically generated License and its spelling is correct for Fedora +# https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ +License: MIT +URL: http://cos.chinac.com +Source0: %{pypi_source cos2} + +BuildArch: noarch +BuildRequires: python3-devel + + +# Fill in the actual package description to submit package to Fedora +%global _description %{expand: +This is package 'cos2' generated automatically by pyp2spec.} + + +%description %_description + +%package -n python3-cos2 +Summary: %{summary} + +%description -n python3-cos2 %_description + + +%prep +%autosetup -p1 -n cos2-%{version} + + +%generate_buildrequires +%pyproject_buildrequires -r + + +%build +%pyproject_wheel + + +%install +%pyproject_install +# For official Fedora packages, including files with '*' +auto is not allowed +# Replace it with a list of relevant Python modules/globs and list extra files in %%files +%pyproject_save_files '*' +auto + + +%check +%pyproject_check_import -t + + +%files -n python3-cos2 -f %{pyproject_files} + + +%changelog +* Mon Mar 28 2022 mockbuilder - 0.1.8-1 +- Package generated with pyp2spec
\ No newline at end of file @@ -0,0 +1 @@ +f04814d9f389cc0bac66ebfdf6e1b2b9 cos2-0.1.8.tar.gz |