0806a53
%if 0%{?fedora}
0806a53
%else
0806a53
%global with_python3 0
0806a53
%endif
0806a53
0806a53
Name:           python-gccinvocation
0806a53
Version:        0.1
c5cfb85
Release:        28%{?dist}
0806a53
Summary:        Library for parsing GCC command-line options
0806a53
0806a53
License:        LGPLv2+
0806a53
URL:            https://github.com/fedora-static-analysis/gccinvocation
0806a53
Source0:        https://pypi.python.org/packages/source/g/gccinvocation/gccinvocation-%{version}.tar.gz
0806a53
0806a53
BuildArch:      noarch
0806a53
BuildRequires:  python3-devel
0806a53
# ^^^: used during selftests
0806a53
68063d9
%global _description\
68063d9
"gccinvocation" is a python module that can parse gcc command lines and\
0806a53
extract data of interest e.g. include paths, defines, etc.
0806a53
68063d9
%description %_description
68063d9
0806a53
%package -n python3-gccinvocation
0806a53
Summary:        Library for parsing GCC command-line options
0806a53
0806a53
%description -n python3-gccinvocation
0806a53
"gccinvocation" is a python module that can parse gcc command lines and
0806a53
extract data of interest e.g. include paths, defines, etc.
0806a53
0806a53
0806a53
%prep
0806a53
%setup -q -n gccinvocation-%{version}
0806a53
0806a53
0806a53
0806a53
%build
0806a53
0806a53
%{__python3} setup.py build
0806a53
0806a53
0806a53
%install
0806a53
0806a53
%{__python3} setup.py install --skip-build --root %{buildroot}
0806a53
0806a53
0806a53
%check
0806a53
%{__python3} gccinvocation.py -v
0806a53
0806a53
0806a53
%files -n python3-gccinvocation
0806a53
%doc README.rst lgpl-2.1.txt
e4121f5
%{python3_sitelib}/gccinvocation-%{version}-py%{python3_version}.egg-info
0806a53
%{python3_sitelib}/gccinvocation.py
cf64b1c
%{python3_sitelib}/__pycache__/gccinvocation.cpython-*.py[co]
0806a53
0806a53
0806a53
%changelog
c5cfb85
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-28
c5cfb85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
c5cfb85
180700b
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.1-27
180700b
- Rebuilt for Python 3.10
180700b
625df7f
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-26
625df7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
625df7f
dcace32
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-25
dcace32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
dcace32
31cc949
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1-24
31cc949
- Rebuilt for Python 3.9
31cc949
c80c771
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-23
c80c771
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c80c771
d6f2046
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1-22
d6f2046
- Rebuilt for Python 3.8.0rc1 (#1748018)
d6f2046
a6b9ac4
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1-21
a6b9ac4
- Rebuilt for Python 3.8
a6b9ac4
20aeaf0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-20
20aeaf0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
20aeaf0
5e7756c
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-19
5e7756c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5e7756c
bcd33fc
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.1-18
bcd33fc
- Subpackage python2-gccinvocation has been removed
bcd33fc
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
bcd33fc
edd3590
* Fri Jul 20 2018 David Malcolm <dmalcolm@redhat.com> - 0.1-17
edd3590
- Use explicit "python2" versions of specfile macros (rhbz #1605703)
edd3590
27ba657
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-16
27ba657
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
27ba657
14c58fb
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1-15
14c58fb
- Rebuilt for Python 3.7
14c58fb
e2f33ff
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-14
e2f33ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e2f33ff
68063d9
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.1-13
68063d9
- Python 2 binary package renamed to python2-gccinvocation
68063d9
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
68063d9
3e6beb7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-12
3e6beb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3e6beb7
21728af
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-11
21728af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
21728af
a8bf669
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.1-10
a8bf669
- Rebuild for Python 3.6
a8bf669
a99bad1
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-9
a99bad1
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a99bad1
67776f7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-8
67776f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
67776f7
8c4dfa6
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
8c4dfa6
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
8c4dfa6
0b805b9
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-6
0b805b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0b805b9
a2fd339
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
a2fd339
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a2fd339
7c73cb6
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.1-4
7c73cb6
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
7c73cb6
4322468
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
4322468
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4322468
0806a53
* Tue Jun 25 2013 David Malcolm <dmalcolm@redhat.com> - 0.1-2
0806a53
- remove redundant clean of buildroot from install phase; change BR from
0806a53
python-devel to python2-devel; add trailing period to description
0806a53
0806a53
* Fri May 31 2013 David Malcolm <dmalcolm@redhat.com> - 0.1-1
0806a53
- initial packaging
0806a53