Summary: Python module to convert gfwlist to pac file Name: gfwlist2pac Version: 1.1.3 Release: 4%{?dist} Source0: https://pypi.python.org/packages/source/g/gfwlist2pac/gfwlist2pac-%{version}.tar.gz Patch0: gfwlist2pac-python3.patch BuildArch: noarch License: MIT Group: Development/Libraries Url: https://pypi.python.org/pypi/gfwlist2pac BuildRequires: python3-setuptools BuildRequires: python3-devel %description Python module to convert gfwlist to pac file %prep %setup -q -n %{name}-%{version} %patch0 -p1 %build CFLAGS="%{optflags}" %{__python3} setup.py build %install %{__python3} setup.py install --skip-build --root %{buildroot} %files %{_bindir}/gfwlist2pac %{python3_sitelib}/gfwlist2pac %{python3_sitelib}/gfwlist2pac-*.egg-info %changelog * Thu Nov 01 2018 Yupeng Chang - 1.1.3-4 - Convert to python3 based script * Wed Oct 31 2018 Yupeng Chang - 1.1.3-3 - Rebuild * Wed Dec 21 2016 Yupeng Chang - 1.1.3-1 - Initial build