diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:23:48 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:23:48 +0000 |
commit | e49477f1dc67b794d8c1237f747aaa6b903abebd (patch) | |
tree | 3a313e1e5c52a0a45c68ea211a93ead8a0eaa120 | |
parent | b80d05814ce026dd7e7740c3cd302e0e6ed3bec8 (diff) |
automatic import of python-SQLAlchemy-Defaultsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-sqlalchemy-defaults.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/SQLAlchemy-Defaults-0.4.4.tar.gz diff --git a/python-sqlalchemy-defaults.spec b/python-sqlalchemy-defaults.spec new file mode 100644 index 0000000..93275c5 --- /dev/null +++ b/python-sqlalchemy-defaults.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-SQLAlchemy-Defaults +Version: 0.4.4 +Release: 1 +Summary: Smart SQLAlchemy defaults for lazy guys, like me. +License: BSD +URL: https://github.com/kvesteri/sqlalchemy-defaults +Source0: https://mirrors.aliyun.com/pypi/web/packages/bc/15/9fe67cd92e4a2419a00671e5ceddaa420c785d1b6cdcb347b4f1bd9e2ff9/SQLAlchemy-Defaults-0.4.4.tar.gz +BuildArch: noarch + + +%description +Smart SQLAlchemy defaults for lazy guys, like me. + +%package -n python3-SQLAlchemy-Defaults +Summary: Smart SQLAlchemy defaults for lazy guys, like me. +Provides: python-SQLAlchemy-Defaults +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-SQLAlchemy-Defaults +Smart SQLAlchemy defaults for lazy guys, like me. + +%package help +Summary: Development documents and examples for SQLAlchemy-Defaults +Provides: python3-SQLAlchemy-Defaults-doc +%description help +Smart SQLAlchemy defaults for lazy guys, like me. + +%prep +%autosetup -n SQLAlchemy-Defaults-0.4.4 + +%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-SQLAlchemy-Defaults -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.4-1 +- Package Spec generated @@ -0,0 +1 @@ +58b9fe940dba7f6b2211f59912cbfa0a SQLAlchemy-Defaults-0.4.4.tar.gz |