summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 05:23:38 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 05:23:38 +0000
commitd4d720a23c4f16eeb5f58e191781fd4cac7042ee (patch)
tree4b405e304c4403dfe4add5eb072b758bb774b272
parent30ebe0ce0325bb04e244b1d7ccd00b88bc580230 (diff)
automatic import of python-os-refresh-config
-rw-r--r--.gitignore1
-rw-r--r--python-os-refresh-config.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d48902a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/os-refresh-config-13.1.0.tar.gz
diff --git a/python-os-refresh-config.spec b/python-os-refresh-config.spec
new file mode 100644
index 0000000..7ad74a2
--- /dev/null
+++ b/python-os-refresh-config.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-os-refresh-config
+Version: 13.1.0
+Release: 1
+Summary: Refresh system configuration
+License: Apache Software License
+URL: http://opendev.org/openstack/os-refresh-config
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/67/bd/303577e9f491a48b2b707dc2a2745fe0f489062f13e60c6a9bce61c1484a/os-refresh-config-13.1.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-dib-utils
+Requires: python3-pbr
+Requires: python3-psutil
+
+%description
+
+
+%package -n python3-os-refresh-config
+Summary: Refresh system configuration
+Provides: python-os-refresh-config
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-os-refresh-config
+
+
+%package help
+Summary: Development documents and examples for os-refresh-config
+Provides: python3-os-refresh-config-doc
+%description help
+
+
+%prep
+%autosetup -n os-refresh-config-13.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-os-refresh-config -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 13.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..cca4897
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+68ee085065a4fea2644b87df5550e94c os-refresh-config-13.1.0.tar.gz