summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 12:45:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 12:45:20 +0000
commit4c65047f034c03f8befb95fde86c95b44e39f385 (patch)
treea3e50c1db1d39c49d51646efa30521f2ae0c1fde
parent50b127b51668f09575131fac5f96ce7d16736a1a (diff)
automatic import of python-odcsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-odcs.spec27
-rw-r--r--sources2
3 files changed, 14 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index 9818298..a8e1d28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/odcs-0.5.0.tar.gz
+/odcs-0.6.0.tar.gz
diff --git a/python-odcs.spec b/python-odcs.spec
index 9247e59..b8a731c 100644
--- a/python-odcs.spec
+++ b/python-odcs.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-odcs
-Version: 0.5.0
+Version: 0.6.0
Release: 1
Summary: On Demand Compose Service
License: MIT
URL: https://pagure.io/odcs/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/aa/07/c317e85df91a6b22b1585ea2c5c577fdbba08d6ebde42d0e9591a5047b94/odcs-0.5.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/26/ff/973a60ddc5f6ce970bafd10b898596609bdcf6454c04859f60a13ab88a37/odcs-0.6.0.tar.gz
BuildArch: noarch
@@ -339,7 +339,7 @@ RAW_CONFIG_URLS=<Raw config settings in JSON format>
# ODCS CONFIGURATION
ODCS_CONFIG_SECTION=DevConfiguration
-ODCS_CONFIG_FILE=/src/server/conf/config.py
+ODCS_CONFIG_DIR=/src/server/conf/
ODCS_CELERY_BROKER_URL=amqp://guest:guest@rabbitmq:5672/
ODCS_DB_URL=postgresql+psycopg2://odcs:password@postgres/odcs
# Directory where the generated composes are stored. This hast to match
@@ -409,7 +409,6 @@ Here are some REST calls for checking the ODCS.
* `$ odcs --server http://localhost:5000/ create-pulp <Pulp content set>` This call starts a pulp compose that match the given pulp content set
* `$ odcs --server http://localhost:5000/ create-raw-config --compose-type test my_raw_config master` This call starts a compose with the configuration defined as my_raw_config
-
%package -n python3-odcs
Summary: On Demand Compose Service
Provides: python-odcs
@@ -746,7 +745,7 @@ RAW_CONFIG_URLS=<Raw config settings in JSON format>
# ODCS CONFIGURATION
ODCS_CONFIG_SECTION=DevConfiguration
-ODCS_CONFIG_FILE=/src/server/conf/config.py
+ODCS_CONFIG_DIR=/src/server/conf/
ODCS_CELERY_BROKER_URL=amqp://guest:guest@rabbitmq:5672/
ODCS_DB_URL=postgresql+psycopg2://odcs:password@postgres/odcs
# Directory where the generated composes are stored. This hast to match
@@ -816,7 +815,6 @@ Here are some REST calls for checking the ODCS.
* `$ odcs --server http://localhost:5000/ create-pulp <Pulp content set>` This call starts a pulp compose that match the given pulp content set
* `$ odcs --server http://localhost:5000/ create-raw-config --compose-type test my_raw_config master` This call starts a compose with the configuration defined as my_raw_config
-
%package help
Summary: Development documents and examples for odcs
Provides: python3-odcs-doc
@@ -1150,7 +1148,7 @@ RAW_CONFIG_URLS=<Raw config settings in JSON format>
# ODCS CONFIGURATION
ODCS_CONFIG_SECTION=DevConfiguration
-ODCS_CONFIG_FILE=/src/server/conf/config.py
+ODCS_CONFIG_DIR=/src/server/conf/
ODCS_CELERY_BROKER_URL=amqp://guest:guest@rabbitmq:5672/
ODCS_DB_URL=postgresql+psycopg2://odcs:password@postgres/odcs
# Directory where the generated composes are stored. This hast to match
@@ -1220,9 +1218,8 @@ Here are some REST calls for checking the ODCS.
* `$ odcs --server http://localhost:5000/ create-pulp <Pulp content set>` This call starts a pulp compose that match the given pulp content set
* `$ odcs --server http://localhost:5000/ create-raw-config --compose-type test my_raw_config master` This call starts a compose with the configuration defined as my_raw_config
-
%prep
-%autosetup -n odcs-0.5.0
+%autosetup -n odcs-0.6.0
%build
%py3_build
@@ -1236,20 +1233,20 @@ 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
+ 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
+ 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
+ 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
+ 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
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -1262,5 +1259,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.0-1
- Package Spec generated
diff --git a/sources b/sources
index ae48a8c..5a39925 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3a1054b19016b38b1b3eb33cac0b24d9 odcs-0.5.0.tar.gz
+f51424323ba736aba470ceee93658a8d odcs-0.6.0.tar.gz