Fix macro-in-comment warnings.

This commit is contained in:
Ralph Bean 2016-05-03 09:07:20 -04:00
parent 733ebbd832
commit dcba5d865c

View File

@ -99,19 +99,19 @@ Acts as a drop-in replacement to the socket module. Featuring:
%py3_install %py3_install
%endif %endif
#%check #%%check
## No tests included in the tarball... ## No tests included in the tarball...
## https://github.com/Anorov/PySocks/issues/37 ## https://github.com/Anorov/PySocks/issues/37
#%{__python2} setup.py test #%%{__python2} setup.py test
#%if 0%{?with_python3} #%%if 0%%{?with_python3}
#%{__python3} setup.py test #%%{__python3} setup.py test
#%endif #%%endif
%files -n python2-%{flatname} %files -n python2-%{flatname}
# https://github.com/Anorov/PySocks/issues/42 # https://github.com/Anorov/PySocks/issues/42
#%doc README.md #%%doc README.md
# https://github.com/Anorov/PySocks/issues/43 # https://github.com/Anorov/PySocks/issues/43
#%license LICENSE #%%license LICENSE
%{python2_sitelib}/socks.py* %{python2_sitelib}/socks.py*
%{python2_sitelib}/sockshandler.py* %{python2_sitelib}/sockshandler.py*
%{python2_sitelib}/%{distname}-%{version}* %{python2_sitelib}/%{distname}-%{version}*
@ -119,9 +119,9 @@ Acts as a drop-in replacement to the socket module. Featuring:
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-%{flatname} %files -n python3-%{flatname}
# https://github.com/Anorov/PySocks/issues/42 # https://github.com/Anorov/PySocks/issues/42
#%doc README.md #%%doc README.md
# https://github.com/Anorov/PySocks/issues/43 # https://github.com/Anorov/PySocks/issues/43
#%license LICENSE #%%license LICENSE
%{python3_sitelib}/socks.py* %{python3_sitelib}/socks.py*
%{python3_sitelib}/sockshandler.py* %{python3_sitelib}/sockshandler.py*
%{python3_sitelib}/__pycache__/*socks* %{python3_sitelib}/__pycache__/*socks*