Spec URL: https://athmane.fedorapeople.org/pkgs/gns3/python-zipstream.spec SRPM URL: https://athmane.fedorapeople.org/pkgs/gns3/python-zipstream-1.1.4-1.fc24.src.rpm Description: zipstream.py is a zip archive generator based on python 3.3's zipfile.py. It was created to generate a zip file generator for streaming (ie web apps) Fedora Account System Username: athmane
New SPEC/SRPMS: Spec URL: https://athmane.fedorapeople.org/pkgs/gns3/python-zipstream.spec SRPM URL: https://athmane.fedorapeople.org/pkgs/gns3/python-zipstream-1.1.4-2.fc24.src.rpm
> %global sum A zip archive generator for Python drop this line > Name: python-zipstream Name: python-%{srcname} > Summary: A zip archive generator for Python Summary: ZIP archive generator for Python > License: GPLv3 License: GPLv3+ > URL: https://github.com/allanlei/python-zipstream URL: https://github.com/allanlei/%{name} > Source0: https://github.com/allanlei/python-zipstream/archive/v%{version}.tar.gz Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz > BuildRequires: python3-devel python-devel Drop this lines > %package -n python2-%{srcname} > Summary: %{sum} Summary: %{summary} BuildRequires: python2-devel > %description -n python2-%{srcname} > %{desc} Python 2 version. ... same for python3 ... > %autosetup -n %{name}-%{version} %autosetup > nosetests-%{python2_version} -v Why not %{__python2} setup.py test? ... same for python3 ...
Ah, also missing BuildRequires: pythonX-setuptools
Thanks for reviewing, bellow the updated SPEC/SRPM: Spec URL: https://athmane.fedorapeople.org/pkgs/gns3/python-zipstream.spec SRPM URL: https://athmane.fedorapeople.org/pkgs/gns3/python-zipstream-1.1.4-3.fc24.src.rpm
python-setuptools -> python2-setuptools python-nose -> python2-nose also move BuildRequires under python2/python3 subpackages > %autosetup -n %{name}-%{version} still not fixed. remove "-n %{name}-%{version} %{desc} should be with "." in the end.
Fix. Spec URL: https://athmane.fedorapeople.org/pkgs/gns3/python-zipstream.spec SRPM URL: https://athmane.fedorapeople.org/pkgs/gns3/python-zipstream-1.1.4-4.fc24.src.rpm
Everything is according to packaging guidelines. APPROVED.
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/python-zipstream
Built in rawhide and f24, I forgot to add the bug # to the update, now it's locked :P