diff --git a/.gitignore b/.gitignore index bb50a66..ade4e27 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /trytond_account_stock_continental-2.4.2.tar.gz /trytond_account_stock_continental-2.6.1.tar.gz +/trytond_account_stock_continental-4.0.1.tar.gz diff --git a/sources b/sources index c47b280..6fd20c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8f3d0cbf4f2a218f6dab8d7347068b00 trytond_account_stock_continental-2.6.1.tar.gz +ba79e0238fd0dfe13fa45e00ed16ed94 trytond_account_stock_continental-4.0.1.tar.gz diff --git a/trytond-account-stock-continental.spec b/trytond-account-stock-continental.spec index 63be04b..cef9f78 100644 --- a/trytond-account-stock-continental.spec +++ b/trytond-account-stock-continental.spec @@ -1,11 +1,11 @@ # -*- rpm-spec -*- -%global tryton_major 2.6 +%global tryton_major 4.0 %global modname account-stock-continental %global pkgname %(echo \"%{name}\" | sed 's/-/_/g') Name: trytond-%{modname} -Version: 2.6.1 -Release: 7%{?dist} +Version: 4.0.1 +Release: 1%{?dist} Summary: %{modname} module for Tryton Group: System Environment/Libraries @@ -14,8 +14,7 @@ URL: http://www.tryton.org Source0: http://downloads.tryton.org/%{tryton_major}/%{pkgname}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python-setuptools +BuildRequires: python3-devel Requires: tryton(kernel) = %{tryton_major} Requires: trytond-account-product @@ -32,21 +31,24 @@ rm -rf %{pkgname}.egg-info %build -%{__python} setup.py build +%py3_build %install -%{__python} setup.py install --skip-build --root %{buildroot} +%py3_install %files %doc CHANGELOG COPYRIGHT LICENSE README %doc doc -%{python_sitelib}/trytond/modules/* -%{python_sitelib}/%{pkgname}-%{version}-*.egg-info +%{python3_sitelib}/trytond/modules/*/ +%{python3_sitelib}/%{pkgname}-%{version}-*.egg-info/ %changelog +* Fri Aug 05 2016 Dan HorĂ¡k - 4.0.1-1 +- new upstream version 4.0.1 + * Tue Jul 19 2016 Fedora Release Engineering - 2.6.1-7 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages