35a2285
%global srcname colcon-library-path
35a2285
35a2285
Name:           python-%{srcname}
35a2285
Version:        0.2.1
d42bebe
Release:        16%{?dist}
35a2285
Summary:        Extension for colcon adding an environment variable to find libraries
35a2285
35a2285
License:        ASL 2.0
35a2285
URL:            https://colcon.readthedocs.io
35a2285
Source0:        https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
35a2285
35a2285
BuildArch:      noarch
35a2285
35a2285
%description
35a2285
An extension for colcon-core to set an environment variable to find shared
35a2285
libraries at runtime.
35a2285
35a2285
35a2285
%package -n python%{python3_pkgversion}-%{srcname}
35a2285
Summary:        %{summary}
35a2285
BuildRequires:  python%{python3_pkgversion}-devel
35a2285
BuildRequires:  python%{python3_pkgversion}-pytest
35a2285
BuildRequires:  python%{python3_pkgversion}-setuptools >= 30.3.0
35a2285
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
35a2285
35a2285
%if %{undefined __pythondist_requires}
35a2285
Requires:       python%{python3_pkgversion}-colcon-core
35a2285
%endif # __pythondist_requires
35a2285
35a2285
%description -n python%{python3_pkgversion}-%{srcname}
35a2285
An extension for colcon-core to set an environment variable to find shared
35a2285
libraries at runtime.
35a2285
35a2285
35a2285
%prep
35a2285
%autosetup -p1 -n %{srcname}-%{version}
35a2285
35a2285
35a2285
%build
35a2285
%py3_build
35a2285
35a2285
35a2285
%install
35a2285
%py3_install
35a2285
35a2285
35a2285
%check
35a2285
%{__python3} -m pytest \
35a2285
    --ignore=test/test_spell_check.py \
35a2285
    --ignore=test/test_flake8.py \
35a2285
    test
35a2285
35a2285
35a2285
%files -n python%{python3_pkgversion}-%{srcname}
35a2285
%license LICENSE
35a2285
%doc README.rst
35a2285
%{python3_sitelib}/colcon_library_path/
35a2285
%{python3_sitelib}/colcon_library_path-%{version}-py%{python3_version}.egg-info/
35a2285
35a2285
35a2285
%changelog
d42bebe
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-16
d42bebe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
d42bebe
aaa9ea0
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-15
aaa9ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
aaa9ea0
b8d3e97
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.1-14
b8d3e97
- Rebuilt for Python 3.11
b8d3e97
7a08c63
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-13
7a08c63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
7a08c63
95e723f
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-12
95e723f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
95e723f
7ae239f
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.1-11
7ae239f
- Rebuilt for Python 3.10
7ae239f
55b1ae0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-10
55b1ae0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
55b1ae0
46c6d1b
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-9
46c6d1b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
46c6d1b
1bff2c1
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-8
1bff2c1
- Rebuilt for Python 3.9
1bff2c1
3ec0135
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-7
3ec0135
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3ec0135
f8d6c21
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-6
f8d6c21
- Rebuilt for Python 3.8.0rc1 (#1748018)
f8d6c21
0cac8c3
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-5
0cac8c3
- Rebuilt for Python 3.8
0cac8c3
a9b7327
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-4
a9b7327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a9b7327
35a2285
* Fri Apr 26 2019 Scott K Logan <logans@cottsay.net> - 0.2.1-3
35a2285
- Drop obsolte Group
35a2285
35a2285
* Fri Apr 26 2019 Scott K Logan <logans@cottsay.net> - 0.2.1-2
35a2285
- Rebuilt to change main python from 3.4 to 3.6 in EPEL 7
35a2285
- Handle automatic dependency generation (f30+)
35a2285
35a2285
* Thu Jan 17 2019 Scott K Logan <logans@cottsay.net> - 0.2.1-1
35a2285
- Update to 0.2.1
35a2285
35a2285
* Fri Oct 26 2018 Scott K Logan <logans@cottsay.net> - 0.2.0-1
35a2285
- Initial package