summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2022-03-28 08:39:58 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2022-03-28 08:39:58 +0000
commit6565fecc44ff70047c44f2b7e142a49a096846a8 (patch)
tree550561d017831165be335f4886aad14dfd568ca3
parent7ec3af9615c23a04e412063fb7c964ace1912dcc (diff)
automatic import of python-cos2epel9
-rw-r--r--.gitignore1
-rw-r--r--python-cos2.spec57
-rw-r--r--sources1
3 files changed, 59 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a835cd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/sources b/sources
new file mode 100644
index 0000000..a31e57a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f04814d9f389cc0bac66ebfdf6e1b2b9 cos2-0.1.8.tar.gz