summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 09:41:59 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 09:41:59 +0000
commit7db19f556c13f6b749231189ab86a1161813eb78 (patch)
treeb36b5851d2b44696a25facd9cf8d20e95e1c7143
parent3085b9ced86128dc5157a012f5cd49e67c768b2f (diff)
automatic import of python-onefuzztypes
-rw-r--r--.gitignore1
-rw-r--r--python-onefuzztypes.spec172
-rw-r--r--sources1
3 files changed, 174 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8e03fdb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/onefuzztypes-8.1.0.tar.gz
diff --git a/python-onefuzztypes.spec b/python-onefuzztypes.spec
new file mode 100644
index 0000000..47c5195
--- /dev/null
+++ b/python-onefuzztypes.spec
@@ -0,0 +1,172 @@
+%global _empty_manifest_terminate_build 0
+Name: python-onefuzztypes
+Version: 8.1.0
+Release: 1
+Summary: Onefuzz Types Library
+License: MIT
+URL: https://github.com/microsoft/onefuzz/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0c/7e/ae09bd0739c45692bf6d3fbd2e0139c8f36024d77173c8d443c359d848c5/onefuzztypes-8.1.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-pydantic
+
+%description
+# Python types used by OneFuzz
+
+See [Onefuzz SDK](https://github.com/microsoft/onefuzz)
+
+# Contributing
+
+This project welcomes contributions and suggestions. Most contributions require you to
+agree to a Contributor License Agreement (CLA) declaring that you have the right to,
+and actually do, grant us the rights to use your contribution. For details, visit
+https://cla.microsoft.com.
+
+When you submit a pull request, a CLA-bot will automatically determine whether you need
+to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
+instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
+
+This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
+For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
+or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
+
+# Privacy & Cookies
+
+[Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839)
+
+# Reporting Security Issues
+
+Security issues and bugs should be reported privately, via email, to the Microsoft Security
+Response Center (MSRC) at [secure@microsoft.com](mailto:secure@microsoft.com). You should
+receive a response within 24 hours. If for some reason you do not, please follow up via
+email to ensure we received your original message. Further information, including the
+[MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in
+the [Security TechCenter](https://technet.microsoft.com/en-us/security/default).
+
+
+
+
+%package -n python3-onefuzztypes
+Summary: Onefuzz Types Library
+Provides: python-onefuzztypes
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-onefuzztypes
+# Python types used by OneFuzz
+
+See [Onefuzz SDK](https://github.com/microsoft/onefuzz)
+
+# Contributing
+
+This project welcomes contributions and suggestions. Most contributions require you to
+agree to a Contributor License Agreement (CLA) declaring that you have the right to,
+and actually do, grant us the rights to use your contribution. For details, visit
+https://cla.microsoft.com.
+
+When you submit a pull request, a CLA-bot will automatically determine whether you need
+to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
+instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
+
+This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
+For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
+or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
+
+# Privacy & Cookies
+
+[Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839)
+
+# Reporting Security Issues
+
+Security issues and bugs should be reported privately, via email, to the Microsoft Security
+Response Center (MSRC) at [secure@microsoft.com](mailto:secure@microsoft.com). You should
+receive a response within 24 hours. If for some reason you do not, please follow up via
+email to ensure we received your original message. Further information, including the
+[MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in
+the [Security TechCenter](https://technet.microsoft.com/en-us/security/default).
+
+
+
+
+%package help
+Summary: Development documents and examples for onefuzztypes
+Provides: python3-onefuzztypes-doc
+%description help
+# Python types used by OneFuzz
+
+See [Onefuzz SDK](https://github.com/microsoft/onefuzz)
+
+# Contributing
+
+This project welcomes contributions and suggestions. Most contributions require you to
+agree to a Contributor License Agreement (CLA) declaring that you have the right to,
+and actually do, grant us the rights to use your contribution. For details, visit
+https://cla.microsoft.com.
+
+When you submit a pull request, a CLA-bot will automatically determine whether you need
+to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
+instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
+
+This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
+For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
+or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
+
+# Privacy & Cookies
+
+[Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839)
+
+# Reporting Security Issues
+
+Security issues and bugs should be reported privately, via email, to the Microsoft Security
+Response Center (MSRC) at [secure@microsoft.com](mailto:secure@microsoft.com). You should
+receive a response within 24 hours. If for some reason you do not, please follow up via
+email to ensure we received your original message. Further information, including the
+[MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in
+the [Security TechCenter](https://technet.microsoft.com/en-us/security/default).
+
+
+
+
+%prep
+%autosetup -n onefuzztypes-8.1.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-onefuzztypes -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 8.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..0706ddf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6105bde72daabd0de7f147eaa997cd9d onefuzztypes-8.1.0.tar.gz