diff --git a/dill-0.3.3.zip b/dill-0.3.3.zip new file mode 100644 index 0000000000000000000000000000000000000000..9c6a398560123f9c725345343157f98ff071d469 Binary files /dev/null and b/dill-0.3.3.zip differ diff --git a/python-dill.spec b/python-dill.spec new file mode 100644 index 0000000000000000000000000000000000000000..d1ecd1e641575ec73fb977d8440c3db1af9d2392 --- /dev/null +++ b/python-dill.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dill +Version: 0.3.3 +Release: 1 +Summary: serialize all of python +License: 3-clause BSD +URL: https://pypi.org/project/dill +Source0: https://files.pythonhosted.org/packages/0d/5a/0534e0eb113be5635a6bd5e8b22ddf780cf977a403155fd4e07e6b92fb3d/dill-0.3.3.zip +BuildArch: noarch + +Requires: python3-objgraph + +%description + + +%package -n python3-dill +Summary: serialize all of python +Provides: python-dill +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-dill + + +%package help +Summary: Development documents and examples for dill +Provides: python3-dill-doc +%description help + + +%prep +%autosetup -n dill-0.3.3 + +%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-dill -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Feb 04 2021 Python_Bot +- Package Spec generated