From 5c789d9a59da7c90d07001574c86f9882f821111 Mon Sep 17 00:00:00 2001 From: Michal Cyprian Date: Apr 13 2016 08:17:48 +0000 Subject: Update to 3.0.1 --- diff --git a/.gitignore b/.gitignore index d755c4d..8aff03d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /pyp2rpm-1.1.2-tests.tgz /pyp2rpm-2.0.0.tar.gz /pyp2rpm-2.0.0-tests.tgz +/pyp2rpm-3.0.1.tar.gz diff --git a/pyp2rpm.spec b/pyp2rpm.spec index 032f255..13e99a4 100644 --- a/pyp2rpm.spec +++ b/pyp2rpm.spec @@ -2,8 +2,8 @@ %global pypi_name pyp2rpm Name: %{pypi_name} -Version: 2.0.0 -Release: 3%{?dist} +Version: 3.0.1 +Release: 1%{?dist} Summary: Convert Python packages to RPM SPECFILES License: MIT @@ -11,20 +11,20 @@ URL: http://pypi.python.org/pypi/pyp2rpm Source0: http://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz # to get tests: # git clone git@github.com:fedora-python/pyp2rpm.git && cd pyp2rpm -# git checkout v1.0.1 && tar czf pyp2rpm-1.0.1-tests.tgz tests/ +# git checkout v3.0.1 && tar czf pyp2rpm-3.0.1-tests.tgz tests/ Source1: %{name}-%{version}-tests.tgz BuildArch: noarch BuildRequires: python3-devel +BuildRequires: python3-setuptools BuildRequires: python3-pytest BuildRequires: python3-flexmock >= 0.9.3 -BuildRequires: python3-setuptools -BuildRequires: python3-jinja2 -BuildRequires: python3-click +BuildRequires: python3-virtualenv-api Requires: python3-jinja2 Requires: python3-setuptools Requires: python3-click +Requires: python3-virtualenv-api Requires: rpmdevtools %description @@ -32,44 +32,33 @@ Convert Python packages to RPM SPECFILES. The packages can be downloaded from PyPI and the produced SPEC is in line with Fedora Packaging Guidelines or Mageia Python Policy. -Users -can provide their own templates for rendering the package metadata. Both the -package -source and metadata can be extracted from PyPI or from local filesystem -(local file doesn't -provide that much information though). - - %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info - %build %py3_build - %install %py3_install -cp %{buildroot}/%{_bindir}/pyp2rpm %{buildroot}/%{_bindir}/pyp2rpm-3 -ln -sf %{_bindir}/pyp2rpm-3 %{buildroot}/%{_bindir}/pyp2rpm-%{python3_version} - %check tar xzf %{SOURCE1} %{__python3} setup.py test %files -%doc LICENSE +%license LICENSE +%doc README.md %{_bindir}/pyp2rpm -%{_bindir}/pyp2rpm-3 -%{_bindir}/pyp2rpm-%{python3_version} %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog +* Wed Apr 13 2016 Michal Cyprian - 3.0.1-1 +- Update to 3.0.1 + * Thu Feb 04 2016 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 07a00d7..ea26ba6 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -935066a6d90f13f673753c0ce27d98e0 pyp2rpm-2.0.0.tar.gz -c6b11deff0e5bc07ffe5957a09604b9c pyp2rpm-2.0.0-tests.tgz +798bc63d9d9f583914891fb0aa13d9af pyp2rpm-3.0.1.tar.gz