diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-06-09 00:23:30 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 00:23:30 +0000 |
| commit | 004c453a741f05137dc16e29f7736811101ab35f (patch) | |
| tree | c3b3ec6361ed7ace6dc601370a8fbc3d0bf761d0 | |
| parent | c23607ef33ce00c548bdd87bd83482cfa9dc0ffc (diff) | |
automatic import of python-service-configuration-libopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-service-configuration-lib.spec | 77 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/service-configuration-lib-2.17.0.tar.gz diff --git a/python-service-configuration-lib.spec b/python-service-configuration-lib.spec new file mode 100644 index 0000000..b2c3947 --- /dev/null +++ b/python-service-configuration-lib.spec @@ -0,0 +1,77 @@ +%global _empty_manifest_terminate_build 0 +Name: python-service-configuration-lib +Version: 2.17.0 +Release: 1 +Summary: Start, stop, and inspect Yelp SOA services +License: Copyright Yelp 2013, All Rights Reserved +URL: https://github.com/Yelp/service_configuration_lib +Source0: https://mirrors.aliyun.com/pypi/web/packages/fa/a0/4092cb77a7dc98f985d8f303a315d84a9fe6bc2efd5c50f1a4e5903b647f/service-configuration-lib-2.17.0.tar.gz +BuildArch: noarch + +Requires: python3-ephemeral-port-reserve +Requires: python3-PyYAML +Requires: python3-pyinotify +Requires: python3-requests +Requires: python3-boto3 + +%description + + +%package -n python3-service-configuration-lib +Summary: Start, stop, and inspect Yelp SOA services +Provides: python-service-configuration-lib +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-service-configuration-lib + + +%package help +Summary: Development documents and examples for service-configuration-lib +Provides: python3-service-configuration-lib-doc +%description help + + +%prep +%autosetup -n service-configuration-lib-2.17.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-service-configuration-lib -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.17.0-1 +- Package Spec generated @@ -0,0 +1 @@ +1c630d0131e7a1915a9369f2c8815fd3 service-configuration-lib-2.17.0.tar.gz |
