Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions pyp2rpm/templates/epel6.spec
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ Documentation for {{ data.name }}

%prep
%setup -q -n %{pypi_name}-%{version}
{%- if data.has_bundled_egg_info %}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
{%- endif %}
{% call(pv) for_python_versions(data.sorted_python_versions, data.base_python_version) -%}
{%- if pv != data.base_python_version -%}
rm -rf python{{pv}}
Expand Down
4 changes: 0 additions & 4 deletions pyp2rpm/templates/epel7.spec
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ Documentation for {{ data.name }}

%prep
%autosetup -n {{ data.dirname|replace(data.name, '%{pypi_name}')|replace(data.version, '%{version}')|default('%{pypi_name}-%{version}', true) }}
{%- if data.has_bundled_egg_info %}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
{%- endif %}

%build
{%- for pv in data.sorted_python_versions %}
Expand Down
4 changes: 0 additions & 4 deletions pyp2rpm/templates/fedora.spec
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ Documentation for {{ data.name }}

%prep
%autosetup -n {{ data.dirname|replace(data.name, '%{pypi_name}')|replace(data.version, '%{version}')|default('%{pypi_name}-%{version}', true) }}
{%- if data.has_bundled_egg_info %}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
{%- endif %}

%build
{%- for pv in data.sorted_python_versions %}
Expand Down
4 changes: 0 additions & 4 deletions pyp2rpm/templates/mageia.spec
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ Documentation for {{ data.name }}

%prep
%autosetup -n {{ data.dirname|replace(data.name, '%{pypi_name}')|replace(data.version, '%{version}')|default('%{pypi_name}-%{version}', true) }}
{%- if data.has_bundled_egg_info %}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
{%- endif %}

%build
{%- for pv in data.sorted_python_versions %}
Expand Down
5 changes: 0 additions & 5 deletions pyp2rpm/templates/pld.spec
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ Group: Libraries/Python

%prep
%setup -q -n %{pypi_name}-%{version}
{%- if data.has_bundled_egg_info %}

# Remove bundled egg-info
%{__rm} -r %{egg_name}.egg-info
{%- endif %}

{% call(pv) for_python_versions([data.base_python_version] + data.python_versions, data.base_python_version, use_with=False) -%}
{%- if data.sphinx_dir %}
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-Jinja2_dnfnc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ Documentation for Jinja2

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py2_build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-Jinja2_epel6_dnfnc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ Documentation for Jinja2

%prep
%setup -q -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

# generate html docs
PYTHONPATH=${PWD} sphinx-build docs html
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-Jinja2_epel6_nc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ Documentation for Jinja2

%prep
%setup -q -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

# generate html docs
PYTHONPATH=${PWD} sphinx-build docs html
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-Jinja2_epel7_dnfnc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ Documentation for Jinja2

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%{__python2} setup.py build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-Jinja2_epel7_nc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ Documentation for Jinja2

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%{__python2} setup.py build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-Jinja2_mageia_py23.spec
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ Documentation for Jinja2

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py2_build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-Jinja2_nc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ Documentation for Jinja2

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py2_build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-Jinja2_py23_autonc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ Documentation for Jinja2

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py2_build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-Jinja2_py2_autonc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ Documentation for Jinja2

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py2_build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-Jinja2_py3_autonc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ Documentation for Jinja2

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py3_build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-StructArray_autonc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ equation. It's...

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py2_build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-buildkit_autonc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ repo...

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py2_build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-paperwork-backend.spec
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ Indexing - Searching - Suggestions- ExportThere is no GUI here. The GUI is .

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py3_build
Expand Down
2 changes: 0 additions & 2 deletions tests/test_data/python-sphinx_autonc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ Documentation for Sphinx

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py2_build
Expand Down