|
|
0f28bbf |
Name: coan
|
|
|
44483ea |
Version: 6.0.1
|
|
|
28ee915 |
Release: 11%{?dist}
|
|
|
73dd872 |
Summary: A command line tool for simplifying the pre-processor conditionals in source code
|
|
|
73dd872 |
Group: Development/Languages
|
|
|
73dd872 |
License: BSD
|
|
|
73dd872 |
URL: http://coan2.sourceforge.net/
|
|
|
73dd872 |
Source0: http://downloads.sourceforge.net/coan2/%{name}-%{version}.tar.gz
|
|
|
78675f8 |
BuildRequires: gcc-c++
|
|
|
ea4f861 |
BuildRequires: python
|
|
|
37c45f1 |
# For pod2man:
|
|
|
75d2213 |
BuildRequires: perl-podlators
|
|
|
37c45f1 |
# On Fedora 23 pod2html is included in the perl package, whereas in 24
|
|
|
37c45f1 |
# and later it's split out into perl-Pod-Html.
|
|
|
37c45f1 |
%if 0%{fedora} > 23
|
|
|
37c45f1 |
BuildRequires: perl-Pod-Html
|
|
|
37c45f1 |
%endif
|
|
|
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
|
|
|
0f28bbf |
%setup -q
|
|
|
0f28bbf |
|
|
|
0f28bbf |
for i in AUTHORS LICENSE.BSD README ChangeLog ; do
|
|
|
0f28bbf |
sed -i -e 's/\r$//' $i
|
|
|
0f28bbf |
done
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%build
|
|
|
0f28bbf |
%configure
|
|
|
0f28bbf |
make %{?_smp_mflags}
|
|
|
0f28bbf |
|
|
|
a451f38 |
%check
|
|
|
70784c9 |
#some tests are broken in armv7hl - disable until upstream fixes the issue
|
|
|
70784c9 |
#upstream bug report: https://sourceforge.net/p/coan2/bugs/83/
|
|
|
a451f38 |
#so for now we'll just allow the tests to fail
|
|
|
a451f38 |
#make check || (for f in test_coan/*.log ; do cat ${f} ; done ; false)
|
|
|
a451f38 |
make check || (for f in test_coan/*.log ; do cat ${f} ; done ; true)
|
|
|
7bed5a9 |
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%install
|
|
|
0f28bbf |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%files
|
|
|
0f28bbf |
%doc AUTHORS LICENSE.BSD README ChangeLog
|
|
|
0f28bbf |
%{_bindir}/%{name}
|
|
|
0f28bbf |
%{_mandir}/man1/%{name}.1.*
|
|
|
0f28bbf |
|
|
|
0f28bbf |
%changelog
|
|
|
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 |
|