|
|
0f28bbf |
Name: coan
|
|
|
44483ea |
Version: 6.0.1
|
|
|
f525f35 |
Release: 33%{?dist}
|
|
|
73dd872 |
Summary: A command line tool for simplifying the pre-processor conditionals in source code
|
|
|
73dd872 |
License: BSD
|
|
|
73dd872 |
URL: http://coan2.sourceforge.net/
|
|
|
73dd872 |
Source0: http://downloads.sourceforge.net/coan2/%{name}-%{version}.tar.gz
|
|
|
d2b04cc |
# https://sourceforge.net/p/coan2/bugs/92/
|
|
|
d2b04cc |
Patch0: expression_parser.patch
|
|
|
3d8e23d |
# https://sourceforge.net/p/coan2/bugs/95/
|
|
|
3d8e23d |
Patch1: coan-autoconf-c99.patch
|
|
|
d2b04cc |
|
|
|
78675f8 |
BuildRequires: gcc-c++
|
|
|
3cfc7f4 |
BuildRequires: make
|
|
|
75d2213 |
BuildRequires: perl-podlators
|
|
|
37c45f1 |
BuildRequires: perl-Pod-Html
|
|
|
3d8e23d |
BuildRequires: autoconf automake
|
|
|
3cfc7f4 |
|
|
|
3cfc7f4 |
# removed python2 dependencies and asked upstream to port tests to python3
|
|
|
3cfc7f4 |
# https://sourceforge.net/p/coan2/bugs/93/
|
|
|
37c45f1 |
|
|
|
28ee915 |
# Regression on other arches with F26 mass rebuild (big endian systems)
|
|
|
28ee915 |
# Temporarily exclude them
|
|
|
28ee915 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1423293
|
|
|
28ee915 |
# checking for big-endian host... yes
|
|
|
28ee915 |
# RPM build errors:
|
|
|
28ee915 |
# configure: error: Sorry. Coan is buggy on big-endian systems
|
|
|
28ee915 |
ExcludeArch: ppc64 s390x
|
|
|
28ee915 |
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%description
|
|
|
0f28bbf |
%{name} (formerly sunifdef) is a software engineering tool for analyzing
|
|
|
0f28bbf |
pre-processor-based configurations of C or C++ source code. Its principal use
|
|
|
0f28bbf |
is to simplify a body of source code by eliminating any parts that are
|
|
|
0f28bbf |
redundant with respect to a specified configuration.
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%{name} is most useful to developers of constantly evolving products
|
|
|
0f28bbf |
with large code bases, where pre-processor conditionals are used to
|
|
|
0f28bbf |
configure the feature sets, APIs or implementations of different
|
|
|
0f28bbf |
releases. In these environments the code base steadily
|
|
|
0f28bbf |
accumulates #ifdef-pollution as transient configuration options become
|
|
|
0f28bbf |
obsolete. %{name} can largely automate the recurrent task of purging
|
|
|
0f28bbf |
redundant #if-logic from the code.
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%prep
|
|
|
aacfeda |
%autosetup -p0
|
|
|
0f28bbf |
|
|
|
0f28bbf |
for i in AUTHORS LICENSE.BSD README ChangeLog ; do
|
|
|
0f28bbf |
sed -i -e 's/\r$//' $i
|
|
|
0f28bbf |
done
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%build
|
|
|
9d26374 |
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
|
|
|
3d8e23d |
autoreconf -vi
|
|
|
0f28bbf |
%configure
|
|
|
aacfeda |
%make_build
|
|
|
0f28bbf |
|
|
|
a78ffd8 |
# disabling all checks it's broken again on rawhide :(
|
|
|
fc7dafc |
# some tests are broken in armv7hl and ppc64le - disable until upstream
|
|
|
fc7dafc |
# fixes the issue upstream bug report:
|
|
|
fc7dafc |
# https://sourceforge.net/p/coan2/bugs/83/
|
|
|
fc7dafc |
# so for now we'll just allow the tests to fail
|
|
|
a78ffd8 |
#
|
|
|
a78ffd8 |
# %ifnarch %{arm} ppc64le
|
|
|
a78ffd8 |
# make check || (for f in test_coan/*.log ; do cat ${f} ; done ; false)
|
|
|
a78ffd8 |
# %else
|
|
|
a78ffd8 |
# make check || (for f in test_coan/*.log ; do cat ${f} ; done ; true)
|
|
|
a78ffd8 |
# %endif
|
|
|
a78ffd8 |
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%install
|
|
|
aacfeda |
%make_install
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%files
|
|
|
aacfeda |
%doc AUTHORS README ChangeLog
|
|
|
aacfeda |
%license LICENSE.BSD
|
|
|
0f28bbf |
%{_bindir}/%{name}
|
|
|
0f28bbf |
%{_mandir}/man1/%{name}.1.*
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%changelog
|
|
|
f525f35 |
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-33
|
|
|
f525f35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
f525f35 |
|
|
|
0854977 |
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-32
|
|
|
0854977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
0854977 |
|
|
|
076f617 |
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-31
|
|
|
076f617 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
076f617 |
|
|
|
b834ecd |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-30
|
|
|
b834ecd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
b834ecd |
|
|
|
3d8e23d |
* Sun Dec 18 2022 Peter Fordham <peter.fordham@gmail.com> - 6.0.1-29
|
|
|
3d8e23d |
- Fix c99 complaince isses in configure.ac and add autoreconf to build.
|
|
|
3d8e23d |
|
|
|
f844459 |
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-28
|
|
|
f844459 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
f844459 |
|
|
|
1bcbb83 |
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-27
|
|
|
1bcbb83 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
1bcbb83 |
|
|
|
fadb087 |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-26
|
|
|
fadb087 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
fadb087 |
|
|
|
3cfc7f4 |
* Thu Jan 28 2021 Filipe Rosset <rosset.filipe@gmail.com> - 6.0.1-25
|
|
|
3cfc7f4 |
- Remove python2 dependencies (required only for tests) fix rhbz#1805173
|
|
|
3cfc7f4 |
|
|
|
9d26374 |
* Thu Jan 28 2021 Filipe Rosset <rosset.filipe@gmail.com> - 6.0.1-24
|
|
|
9d26374 |
- Fix FTBFS
|
|
|
9d26374 |
|
|
|
3e6dd64 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-23
|
|
|
3e6dd64 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
3e6dd64 |
|
|
|
2948ad2 |
* Mon Jul 27 2020 Jeff Law <law@redhat.com> - 6.0.1-23
|
|
|
2948ad2 |
- Force C++14 as the code is not ready for C++17
|
|
|
2948ad2 |
|
|
|
9c4bd48 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-22
|
|
|
9c4bd48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
9c4bd48 |
|
|
|
43370e6 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-21
|
|
|
43370e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
43370e6 |
|
|
|
a78ffd8 |
* Sun Jul 28 2019 Filipe Rosset <rosset.filipe@gmail.com> - 6.0.1-20
|
|
|
a78ffd8 |
- Disable (again) all tests to fix FTBFS F31+
|
|
|
a78ffd8 |
|
|
|
5164f9b |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-19
|
|
|
5164f9b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
5164f9b |
|
|
|
dc694ca |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-18
|
|
|
dc694ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
dc694ca |
|
|
|
d2b04cc |
* Tue Sep 18 2018 Jonathan Underwood <jonathan.underwood@gmail.com> - 6.0.1-17
|
|
|
d2b04cc |
- Add patch to fix crash on Fedora 28 and later (BZ 1626440)
|
|
|
d2b04cc |
- Fix missing python on Fedora >=29
|
|
|
fc7dafc |
- Re-enable test failures on x86_64 and i686 only
|
|
|
d2b04cc |
|
|
|
15332fc |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-16
|
|
|
15332fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
15332fc |
|
|
|
977c31b |
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 6.0.1-15
|
|
|
977c31b |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
977c31b |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
977c31b |
|
|
|
0df1663 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-14
|
|
|
0df1663 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
0df1663 |
|
|
|
ab880ca |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-13
|
|
|
ab880ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
ab880ca |
|
|
|
df7b3cb |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-12
|
|
|
df7b3cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
df7b3cb |
|
|
|
28ee915 |
* Sat Jun 17 2017 Filipe Rosset <rosset.filipe@gmail.com> - 6.0.1-11
|
|
|
28ee915 |
- ExcludeArch ppc64 and s390x due FTBFS, fixes rhbz #1423293
|
|
|
28ee915 |
|
|
|
3172ceb |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-10
|
|
|
3172ceb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
3172ceb |
|
|
|
1e0a2ee |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-9
|
|
|
1e0a2ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
1e0a2ee |
|
|
|
14d38be |
* Thu Feb 25 2016 Jonathan Underwood <jonathan.underwood@gmail.com> - 6.0.1-8
|
|
|
14d38be |
- Re-enable tests
|
|
|
14d38be |
|
|
|
fb1379a |
* Thu Feb 25 2016 Jonathan Underwood <jonathan.underwood@gmail.com> - 6.0.1-7
|
|
|
78675f8 |
- Add BuildRequires: gcc-c++
|
|
|
37c45f1 |
- BuildRequire perl-Pod-Html for Fedora 24 and later (for pod2html)
|
|
|
fb1379a |
|
|
|
75d2213 |
* Thu Feb 25 2016 Jonathan Underwood <jonathan.underwood@gmail.com> - 6.0.1-6
|
|
|
75d2213 |
- Add BuildRequires: perl-podlators to fix FTBFS (BZ 1307386)
|
|
|
75d2213 |
|
|
|
5eaffd4 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-5
|
|
|
5eaffd4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5eaffd4 |
|
|
|
7ba5af4 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.1-4
|
|
|
7ba5af4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7ba5af4 |
|
|
|
70784c9 |
* Fri May 08 2015 Filipe Rosset <rosset.filipe@gmail.com> - 6.0.1-3
|
|
|
70784c9 |
- Disable tests until upstream fixes armv7hl
|
|
|
70784c9 |
|
|
|
ea4f861 |
* Fri May 08 2015 Filipe Rosset <rosset.filipe@gmail.com> - 6.0.1-2
|
|
|
ea4f861 |
- Fixes a broken build plus spec cleanup, added python as BR to run tests
|
|
|
ea4f861 |
|
|
|
44483ea |
* Thu May 07 2015 Filipe Rosset <rosset.filipe@gmail.com> - 6.0.1-1
|
|
|
44483ea |
- Rebuilt for new upstream version 6.0.1, fixes rhbz #1135805
|
|
|
44483ea |
|
|
|
db1f571 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.2-4
|
|
|
db1f571 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
db1f571 |
|
|
|
c4345d5 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-3
|
|
|
c4345d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
c4345d5 |
|
|
|
e542178 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-2
|
|
|
e542178 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
e542178 |
|
|
|
73dd872 |
* Sat May 24 2014 Filipe Rosset <rosset.filipe@gmail.com> - 5.2-1
|
|
|
73dd872 |
- Rebuilt for new upstream version, fixes rhbz #925162, #992071 and #902927
|
|
|
73dd872 |
|
|
|
f22264d |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.2-2
|
|
|
f22264d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f22264d |
|
|
|
9167728 |
* Fri Jan 25 2013 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 5.1.2-1
|
|
|
9167728 |
- Update to version 5.1.2
|
|
|
9167728 |
|
|
|
b28520d |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1-3
|
|
|
b28520d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b28520d |
|
|
|
3d6ed5e |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1-2
|
|
|
3d6ed5e |
- Rebuilt for c++ ABI breakage
|
|
|
3d6ed5e |
|
|
|
ceb067f |
* Wed Feb 8 2012 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 5.1-1
|
|
|
ceb067f |
- Update to version 5.1
|
|
|
ceb067f |
|
|
|
a1b302f |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-4
|
|
|
a1b302f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a1b302f |
|
|
|
67e2e30 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-3
|
|
|
67e2e30 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
67e2e30 |
|
|
|
0f28bbf |
* Sat Jun 12 2010 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 4.1-2
|
|
|
0f28bbf |
- Use wild card for manpage extension to allow future compression changes
|
|
|
0f28bbf |
- Replace occurences of Sunifdef in package description with %%{name}
|
|
|
0f28bbf |
- Use INSTALL="install -p" to preserve file time stamps
|
|
|
0f28bbf |
- Beautify top of spec file
|
|
|
0f28bbf |
- No longer need to remove executable bit on source files
|
|
|
0f28bbf |
- Fix up spelling mistakes
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Sat Jun 12 2010 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 4.1-1
|
|
|
0f28bbf |
- Rename package to coan (from sunifdef)
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.3-4
|
|
|
0f28bbf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.3-3
|
|
|
0f28bbf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Sun Mar 9 2008 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 3.1.3-2
|
|
|
0f28bbf |
- Fix Source0 URL
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Wed Feb 6 2008 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 3.1.3-1
|
|
|
0f28bbf |
- Update to version 3.1.3
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Sun Nov 25 2007 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 3.1.2-1
|
|
|
0f28bbf |
- Update to version 3.1.2
|
|
|
0f28bbf |
- Fix typo in changelog
|
|
|
0f28bbf |
- Fix line endings in AUTHORS LICENSE.BSD README ChangeLog
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Fri Aug 31 2007 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 3.1-4
|
|
|
0f28bbf |
- Fix source URL
|
|
|
0f28bbf |
- Fix email addresses in changelog entries
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Tue Aug 28 2007 Stepan Kasal <skasal@redhat.com> - 3.1-3
|
|
|
0f28bbf |
- Fix typos, do not try to use '\#' to avoid interpretation of #
|
|
|
0f28bbf |
as a comment; it seems the only way is to take care that it does
|
|
|
0f28bbf |
not appear at the beginning of a line.
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Tue Aug 21 2007 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 3.1-2
|
|
|
0f28bbf |
- Bump release and rebuild
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Mon May 21 2007 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 3.1-1
|
|
|
0f28bbf |
- Update to version 3.1 (bug fix release)
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Wed Jan 24 2007 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 3.0-1
|
|
|
0f28bbf |
- Update to version 3.0
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Tue Jul 25 2006 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 2.1.2-1
|
|
|
0f28bbf |
- Update to version 2.1.2
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Tue Jul 11 2006 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 2.1.1-1
|
|
|
0f28bbf |
- Update to version 2.1.1
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Mon Jun 5 2006 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.0.1-4
|
|
|
0f28bbf |
- Update to version 1.0.1
|
|
|
0f28bbf |
- No need to remove build-bin and autom4te.cache with this release
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Sat Jun 3 2006 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.0-3
|
|
|
0f28bbf |
- Move make check to a check section
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Fri Jun 2 2006 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.0-2
|
|
|
0f28bbf |
- Clean up permissions on source files
|
|
|
0f28bbf |
- Remove prebuilt binary directory and automa4te.cache that are included in
|
|
|
0f28bbf |
tarball
|
|
|
0f28bbf |
- Add make check to build
|
|
|
0f28bbf |
- Wrap description at 70 columns rather than 80
|
|
|
0f28bbf |
|
|
|
0f28bbf |
* Mon May 29 2006 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.0-1
|
|
|
0f28bbf |
- Initial package
|
|
|
0f28bbf |
|