remove empty double-lines
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
7423b82ee0
commit
418efd07be
@ -18,7 +18,6 @@ BuildArch: noarch
|
||||
%description
|
||||
py.test provides simple, yet powerful testing for Python.
|
||||
|
||||
|
||||
%package -n python2-%{name}
|
||||
Summary: Simple powerful testing with Python
|
||||
BuildRequires: python2-devel
|
||||
@ -47,7 +46,6 @@ Obsoletes: %{name} < 2.8.7-3
|
||||
%description -n python2-%{name}
|
||||
py.test provides simple, yet powerful testing for Python.
|
||||
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: Simple powerful testing with Python
|
||||
BuildRequires: python3-devel
|
||||
@ -74,11 +72,9 @@ Obsoletes: platform-python-%{name} < 3.2.3-2
|
||||
%description -n python3-%{name}
|
||||
py.test provides simple, yet powerful testing for Python.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
@ -89,7 +85,6 @@ for f in README CHANGELOG CONTRIBUTING ; do
|
||||
rst2html ${f}.rst > ${f}.html
|
||||
done
|
||||
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
mv %{buildroot}%{_bindir}/pytest %{buildroot}%{_bindir}/pytest-%{python2_version}
|
||||
@ -118,7 +113,6 @@ find %{buildroot}{%{python2_sitelib},%{python3_sitelib}} \
|
||||
-name '*.py' \
|
||||
-exec sed -i -e '1{/^#!/d}' {} \;
|
||||
|
||||
|
||||
%check
|
||||
PATH=%{buildroot}%{_bindir}:${PATH} \
|
||||
PYTHONPATH=%{buildroot}%{python2_sitelib} \
|
||||
@ -134,7 +128,6 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
||||
--timeout=30
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python2-%{name}
|
||||
%doc CHANGELOG.html
|
||||
%doc README.html
|
||||
@ -149,7 +142,6 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
||||
%{_bindir}/py.test-%{python2_version}
|
||||
%{python2_sitelib}/*
|
||||
|
||||
|
||||
%files -n python3-%{name}
|
||||
%doc CHANGELOG.html
|
||||
%doc README.html
|
||||
@ -163,7 +155,6 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
||||
%{python3_sitelib}/*
|
||||
%exclude %dir %{python3_sitelib}/__pycache__
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Nov 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.2.3-2
|
||||
- Remove platform-python subpackage
|
||||
|
Loading…
Reference in New Issue
Block a user