python-metalink 6.4-1 (x86_64;znver1) 2022-15380
0

Status rejected
Submitter alexander [@T] mezon.ru
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/235494
Packages
python-metalink-6.4-1.x86_64.source
python-metalink-6.4-1.x86_64.binary
python-metalink-6.4-1.znver1.source
python-metalink-6.4-1.znver1.binary
Build Date 2022-09-30 17:40:30 +0000 UTC
Last Updated 2022-09-30 19:02:04.628193817 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 5f174df8b5a3528d9617e5660360f9a891d40eac

commit 5f174df8b5a3528d9617e5660360f9a891d40eac
Author:     Bernhard Rosenkränzer <bero@lindev.ch>
AuthorDate: Wed Sep 28 00:46:44 2022 +0200
Commit:     Bernhard Rosenkränzer <bero@lindev.ch>
CommitDate: Wed Sep 28 00:46:44 2022 +0200

    6.4
---
 .abf.yml             |  2 +-
 python-metalink.spec | 62 +++++++++++-----------------------------------------
 2 files changed, 14 insertions(+), 50 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index ea99a17..fa7076a 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  "metalink-library-1.0.tar.bz2": 8aa989d3755d88e9702ce837d6f57459f6a437c1
+  pymetalink-6.4.tar.gz: 5d8dfb9764dc0a2b794e997a974ee72cdce870b3
diff --git a/python-metalink.spec b/python-metalink.spec
index 796edad..3ca5ce2 100644
--- a/python-metalink.spec
+++ b/python-metalink.spec
@@ -2,14 +2,15 @@
 
 Summary:	Python library for generating metalinks
 Name:		python-metalink
-Version:	1.0
-Release:	9
-Source0:	http://metalink-library.googlecode.com/files/%{oname}-%{version}.tar.bz2
-URL:		http://code.google.com/p/metalink-library/
+Version:	6.4
+Release:	1
+Source0:	https://files.pythonhosted.org/packages/source/p/pymetalink/pymetalink-%{version}.tar.gz
+URL:		https://github.com/metalink-dev/pymetalink
 License:	GPLv2
 Group:		Development/Python
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
 BuildArch:	noarch
+BuildRequires:	python
+BuildRequires:	python%{pyver}dist(setuptools)
 
 %description
 A script based library to create and manage Metalink download files,
@@ -17,54 +18,17 @@ which contain HTTP, FTP and P2P download links for single or multiple
 download files.
 
 %prep
-%setup -q -c -n %{oname}-%{version} -a 0
+%autosetup -p1 -n pymetalink-%{version}
 
 %build
+python setup.py build
 
 %install
-rm -rf %{buildroot}
-install -m644 metalink.py -D %{buildroot}%{python_sitelib}/metalink.py
-
-%clean
-rm -rf %{buildroot}
+python setup.py install --root=%{buildroot}
+#install -m644 metalink/metalink.py -D %{buildroot}%{python_sitelib}/metalink.py
 
 %files
 %defattr(-,root,root)
-%{python_sitelib}/metalink.py
-
-
-
-%changelog
-* Tue Sep 08 2009 Thierry Vignaud <tv@mandriva.org> 1.0-8mdv2010.0
-+ Revision: 433749
-- rebuild
-- rebuild
-
-  + Per Øyvind Karlsen <peroyvind@mandriva.org>
-    - rebuild so that module ends up in correct location
-
-* Fri Aug 01 2008 Thierry Vignaud <tv@mandriva.org> 1.0-5mdv2009.0
-+ Revision: 259704
-- rebuild
-
-* Fri Jul 25 2008 Thierry Vignaud <tv@mandriva.org> 1.0-4mdv2009.0
-+ Revision: 247511
-- rebuild
-
-* Fri Feb 01 2008 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.0-2mdv2008.1
-+ Revision: 160962
-- rebuild since rpm 4.4.2.2 hosed python macros last time..
-
-  + Olivier Blin <oblin@mandriva.com>
-    - restore BuildRoot
-
-  + Thierry Vignaud <tv@mandriva.org>
-    - kill re-definition of %%buildroot on Pixel's request
-
-* Wed Nov 28 2007 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.0-1mdv2008.1
-+ Revision: 113595
-- import python-metalink
-
-
-* Wed Nov 28 2007 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.0-1mdv2008.1
-- Initial release
+%{_bindir}/pymetalink
+%{py_puresitedir}/metalink
+%{py_puresitedir}/pymetalink*.egg-info
Not Available

benbullard79 [@T] cox.netNo Comment.782d 22hrs