Updated the source URL and Python to Python 3

epel8
Denis Arnaud 5 years ago
parent 85cc3061a7
commit 64a049f532

@ -1,18 +1,20 @@
Name: openpgm
Version: 5.2.122
Release: 17%{?dist}
Release: 18%{?dist}
Summary: An implementation of the PGM reliable multicast protocol
# The license is LGPLv2.1
License: LGPLv2
# New URL is https://github.com/steve-o/openpgm
URL: http://openpgm.googlecode.com/
Source0: http://openpgm.googlecode.com/files/libpgm-%{version}~dfsg.tar.gz
# The files are now on https://code.google.com/archive/p/openpgm/downloads
# https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/openpgm/libpgm-%{version}~dfsg.tar.gz
URL: https://github.com/steve-o/openpgm
Source0: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/openpgm/libpgm-%{version}~dfsg.tar.gz
Patch0001: https://github.com/steve-o/openpgm/commit/ee25ff3d13f2639b4c3a42125e79f77f921c3320.patch
BuildRequires: gcc
BuildRequires: python2
BuildRequires: python3
BuildRequires: perl-interpreter
@ -32,7 +34,7 @@ This package contains OpenPGM related development libraries and header files.
%prep
%autosetup -n libpgm-%{version}~dfsg/openpgm/pgm -p3
sed -i "s:#!/usr/bin/python:#!/usr/bin/python2:" version_generator.py
sed -i "s:#!/usr/bin/python:#!/usr/bin/python3:" version_generator.py
%build
@ -59,6 +61,9 @@ rm %{buildroot}%{_libdir}/libpgm.{a,la}
%changelog
* Sat Oct 26 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 5.2.122-18
- Updated the source URL and Python to Python 3
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

Loading…
Cancel
Save