diff --git a/.gitignore b/.gitignore index 49b9830..f7d2d72 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /fros-1.0-60d9d1c.tar.gz /fros-1.0-48a4297.tar.gz /fros-1.0-988d73a.tar.gz +/fros-1.1-30275a0.tar.gz diff --git a/fros.spec b/fros.spec index ed6ad86..fb48dc2 100644 --- a/fros.spec +++ b/fros.spec @@ -1,9 +1,9 @@ Name: fros -Version: 1.0 -Release: 5%{?dist} +Version: 1.1 +Release: 1%{?dist} Summary: Universal screencasting frontend with pluggable support for various backends -%global commit 988d73aea77ad0da5731983f6d45385db440e568 +%global commit 30275a07dab7891b9f31ff115743f67d757c7c1a %global shortcommit %(c=%{commit}; echo ${c:0:7}) Group: Applications/System @@ -14,8 +14,8 @@ Source: https://github.com/mozeq/fros/archive/%{commit}/%{name}-%{versio BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python-setuptools +BuildRequires: python3-devel +BuildRequires: python3-setuptools %description Universal screencasting frontend with pluggable support for various backends. @@ -43,35 +43,43 @@ fros plugin for screencasting using Gnome3 integrated screencaster %setup -qn %{name}-%{commit} %build -CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build +CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %install -%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT +%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT %check -%{__python} setup.py test +%{__python3} setup.py test %files %doc README COPYING -%dir %{python_sitelib}/pyfros -%{python_sitelib}/pyfros/*.py* -%dir %{python_sitelib}/pyfros/plugins -%{python_sitelib}/pyfros/plugins/__init__.* -%{python_sitelib}/pyfros/plugins/const.* +%dir %{python3_sitelib}/pyfros +%{python3_sitelib}/pyfros/*.py* +%dir %{python3_sitelib}/pyfros/__pycache__ +%{python3_sitelib}/pyfros/__pycache__/*.cpython-%{python3_version_nodots}.py* +%dir %{python3_sitelib}/pyfros/plugins +%{python3_sitelib}/pyfros/plugins/__init__.* +%{python3_sitelib}/pyfros/plugins/const.* +%dir %{python3_sitelib}/pyfros/plugins/__pycache__ +%{python3_sitelib}/pyfros/plugins/__pycache__/*.cpython-%{python3_version_nodots}.py* # fros-1.0-py2.7.egg-info -%dir %{python_sitelib}/%{name}-%{version}-py2.7.egg-info -%{python_sitelib}/%{name}-%{version}-py2.7.egg-info/* +%dir %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info/* %{_bindir}/fros %{_mandir}/man1/%{name}.1* %files recordmydesktop -%{python_sitelib}/pyfros/plugins/*recordmydesktop.* +%{python3_sitelib}/pyfros/plugins/*recordmydesktop.* %files gnome -%{python_sitelib}/pyfros/plugins/*gnome.* +%{python3_sitelib}/pyfros/plugins/*gnome.* %changelog +* Tue Jan 27 2015 Jakub Filak 1.1-1 +- switch to Python3 +- Resolves: #1125200 + * Sat Jun 07 2014 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index 1727121..ae590fe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5e7398ee9e4654c7c9beceae64527c26 fros-1.0-988d73a.tar.gz +40387f57a86859e8a798f64d64273b53 fros-1.1-30275a0.tar.gz