RPM now disallows comments in macro lines
This commit is contained in:
parent
0bf36a51f0
commit
bf121c5c6c
@ -91,7 +91,7 @@ Requires: python2-%srcname = %version-%release
|
||||
%description -n python2-%{srcname}-tests
|
||||
%desc
|
||||
This sub-package delivers set of tests for the adapter.
|
||||
%endif # python2
|
||||
%endif
|
||||
|
||||
|
||||
%if %{with python2_debug}
|
||||
@ -104,7 +104,7 @@ Requires: python2-%{srcname} = %{version}-%{release}
|
||||
%description -n python2-%{srcname}-debug
|
||||
This is a build of the psycopg PostgreSQL database adapter for the debug
|
||||
build of Python 2.
|
||||
%endif # python2_debug
|
||||
%endif
|
||||
|
||||
|
||||
%if %{with python3}
|
||||
@ -123,7 +123,7 @@ Requires: python3-%srcname = %version-%release
|
||||
%description -n python3-%{srcname}-tests
|
||||
%desc
|
||||
This sub-package delivers set of tests for the adapter.
|
||||
%endif # python3
|
||||
%endif
|
||||
|
||||
|
||||
%if %{with python3_debug}
|
||||
@ -135,7 +135,7 @@ Requires: python3-psycopg2 = %{version}-%{release}
|
||||
%description -n python3-%{srcname}-debug
|
||||
This is a build of the psycopg PostgreSQL database adapter for the debug
|
||||
build of Python 3.
|
||||
%endif # python3_debug
|
||||
%endif
|
||||
|
||||
|
||||
%package doc
|
||||
@ -200,7 +200,7 @@ PYTHONPATH=%buildroot%python2_sitearch %__python2 -c "$cmd" --verbose
|
||||
%if %{with python3}
|
||||
PYTHONPATH=%buildroot%python3_sitearch %__python3 -c "$cmd" --verbose
|
||||
%endif
|
||||
%endif # check
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
@ -231,14 +231,14 @@ done
|
||||
|
||||
%files -n python2-%{srcname}-tests
|
||||
%{python2_sitearch}/psycopg2/tests
|
||||
%endif # python2
|
||||
%endif
|
||||
|
||||
|
||||
%if %{with python2_debug}
|
||||
%files -n python2-%{srcname}-debug
|
||||
%license LICENSE
|
||||
%{python2_sitearch}/psycopg2/_psycopg_d.so
|
||||
%endif # python2_debug
|
||||
%endif
|
||||
|
||||
|
||||
%if %{with python3}
|
||||
@ -255,14 +255,14 @@ done
|
||||
|
||||
%files -n python3-%{srcname}-tests
|
||||
%{python3_sitearch}/psycopg2/tests
|
||||
%endif # python3
|
||||
%endif
|
||||
|
||||
|
||||
%if %{with python3_debug}
|
||||
%files -n python3-psycopg2-debug
|
||||
%license LICENSE
|
||||
%{python3_sitearch}/psycopg2/_psycopg.cpython-3?d*.so
|
||||
%endif # python3_debug
|
||||
%endif
|
||||
|
||||
|
||||
%files doc
|
||||
|
Loading…
Reference in New Issue
Block a user