| |
@@ -3,20 +3,17 @@
|
| |
|
| |
Name: python-%{srcname}
|
| |
Version: 0.1.2
|
| |
- Release: 5%{?dist}
|
| |
+ Release: 6%{?dist}
|
| |
Summary: %{sum}
|
| |
|
| |
License: ISC
|
| |
URL: http://github.com/eevee/camel
|
| |
Source0: https://github.com/eevee/%{srcname}/archive/v%{version}.tar.gz
|
| |
|
| |
- BuildRequires: python2-devel
|
| |
BuildRequires: python3-devel
|
| |
BuildRequires: git
|
| |
# %check dependencies
|
| |
- BuildRequires: PyYAML
|
| |
BuildRequires: python3-PyYAML
|
| |
- BuildRequires: python2-pytest
|
| |
BuildRequires: python3-pytest
|
| |
|
| |
BuildArch: noarch
|
| |
@@ -26,15 +23,6 @@
|
| |
your objects in YAML - and refuses to serialize them if
|
| |
you don't.
|
| |
|
| |
- %package -n python2-%{srcname}
|
| |
- Summary: %{sum}
|
| |
- %{?python_provide:%python_provide python2-%{srcname}}
|
| |
-
|
| |
- %description -n python2-%{srcname}
|
| |
- Camel is a library that lets you describe how to serialize
|
| |
- your objects in YAML - and refuses to serialize them if
|
| |
- you don't.
|
| |
-
|
| |
%package -n python3-%{srcname}
|
| |
Summary: %{sum}
|
| |
%{?python_provide:%python_provide python3-%{srcname}}
|
| |
@@ -48,28 +36,17 @@
|
| |
%autosetup -n %{srcname}-%{version}
|
| |
|
| |
%build
|
| |
- %py2_build
|
| |
%py3_build
|
| |
|
| |
|
| |
%install
|
| |
- %py2_install
|
| |
%py3_install
|
| |
|
| |
%check
|
| |
- pushd %{buildroot}%{python2_sitelib}/%{srcname}/tests
|
| |
- %{__python2} -m pytest
|
| |
- popd
|
| |
pushd %{buildroot}%{python3_sitelib}/%{srcname}/tests
|
| |
%{__python3} -m pytest
|
| |
popd
|
| |
|
| |
- %files -n python2-%{srcname}
|
| |
- %doc README.txt
|
| |
- %license LICENSE
|
| |
- %{python2_sitelib}/%{srcname}
|
| |
- %{python2_sitelib}/%{srcname}-%{version}-py%{python2_version}.egg-info
|
| |
-
|
| |
%files -n python3-%{srcname}
|
| |
%doc README.txt
|
| |
%license LICENSE
|
| |
@@ -77,6 +54,10 @@
|
| |
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
|
| |
|
| |
%changelog
|
| |
+ * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.1.2-6
|
| |
+ - Subpackage python2-camel has been removed
|
| |
+ See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
| |
+
|
| |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-5
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
| |
|
| |
Not tested because package FTBFS.