2010-02-12 01:21:57 +00:00
|
|
|
Summary: Tool for removing ifdef'd lines
|
2006-07-15 03:27:06 +00:00
|
|
|
Name: unifdef
|
2014-02-27 01:50:18 +00:00
|
|
|
Version: 2.10
|
2018-02-09 20:01:28 +00:00
|
|
|
Release: 9%{?dist}
|
2006-07-15 03:27:06 +00:00
|
|
|
License: BSD
|
|
|
|
Group: Development/Languages
|
2010-02-12 01:21:57 +00:00
|
|
|
URL: http://dotat.at/prog/unifdef/
|
2013-06-09 07:02:55 +00:00
|
|
|
Source0: http://dotat.at/prog/unifdef/unifdef-%{version}.tar.xz
|
2006-07-15 03:27:06 +00:00
|
|
|
|
2010-02-12 01:21:57 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
2006-07-15 03:27:06 +00:00
|
|
|
%description
|
|
|
|
Unifdef is useful for removing ifdefed lines from a file while otherwise
|
|
|
|
leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #endif
|
|
|
|
lines, and it knows only enough about C and C++ to know when one of these
|
|
|
|
is inactive because it is inside a comment, or a single or double quote.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2011-05-01 07:10:11 +00:00
|
|
|
make CFLAGS="$RPM_OPT_FLAGS"
|
2006-07-15 03:27:06 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
install -d -m0755 $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -p -m0755 unifdef $RPM_BUILD_ROOT%{_bindir}/unifdef
|
|
|
|
install -p -m0755 unifdefall.sh $RPM_BUILD_ROOT%{_bindir}/unifdefall.sh
|
|
|
|
|
|
|
|
install -d -m0755 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
install -p -m0644 unifdef.1 $RPM_BUILD_ROOT%{_mandir}/man1/unifdef.1
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/unifdef
|
|
|
|
%{_bindir}/unifdefall.sh
|
|
|
|
%{_mandir}/man1/unifdef.1.gz
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2018-02-09 20:01:28 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 09:47:46 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 20:59:40 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 16:44:02 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-05 02:21:30 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 01:33:40 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-18 06:57:56 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 02:48:56 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-02-27 01:50:18 +00:00
|
|
|
* Wed Feb 26 2014 Eric Smith <spacewar@gmail.com> - 2.10-1
|
|
|
|
- Update to latest upstream.
|
|
|
|
|
2013-08-04 05:34:42 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2014-02-27 01:50:18 +00:00
|
|
|
* Sun Jun 09 2013 Eric Smith <spacewar@gmail.com> - 2.9-1
|
2013-06-09 07:02:55 +00:00
|
|
|
- Update to latest upstream.
|
|
|
|
|
2013-02-15 02:27:29 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-22 01:45:25 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-14 07:32:21 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2014-02-27 01:50:18 +00:00
|
|
|
* Sat Apr 30 2011 Eric Smith <eric@brouhaha.com> 2.6-1
|
2011-05-01 07:10:11 +00:00
|
|
|
- Update to latest upstream
|
|
|
|
- Upstream now includes their own strlcmp, so we no longer need to use
|
|
|
|
libbsd
|
|
|
|
|
2011-02-08 00:20:55 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.334-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-02-12 01:21:57 +00:00
|
|
|
* Thu Feb 11 2010 Eric Smith <eric@brouhaha.com> 1.334-1
|
|
|
|
- Remove package name from summary
|
|
|
|
- Change URL from FreeBSD CVS to project home page
|
|
|
|
- Update source to upstream 1.334
|
|
|
|
- No longer need getline() patch
|
|
|
|
- Use strlcpy from libbsd
|
|
|
|
|
2010-01-15 20:52:09 +00:00
|
|
|
* Fri Jan 15 2010 Kyle McMartin <kyle@redhat.com> 1.171-10
|
2010-02-12 01:21:57 +00:00
|
|
|
- fix unifdef ftbfs
|
2010-01-15 20:52:09 +00:00
|
|
|
|
2009-07-27 06:32:46 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.171-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 23:01:25 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.171-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-02-19 02:10:36 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.171-7
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-08-22 14:50:48 +00:00
|
|
|
* Wed Aug 22 2007 David Woodhouse <dwmw2@infradead.org> - 1.171-6
|
|
|
|
- Rebuild
|
|
|
|
|
2006-07-15 16:04:43 +00:00
|
|
|
* Sat Jul 15 2006 David Woodhouse <dwmw2@infradead.org> - 1.171-5
|
|
|
|
- Don't redefine %%dist
|
|
|
|
|
2006-07-15 03:28:36 +00:00
|
|
|
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 1.171-4
|
|
|
|
- Minor specfile cleanups from review
|
|
|
|
|
2006-07-15 03:27:06 +00:00
|
|
|
* Tue May 2 2006 David Woodhouse <dwmw2@infradead.org> - 1.171-3
|
|
|
|
- Minor specfile cleanups from review
|
|
|
|
|
|
|
|
* Wed Apr 26 2006 David Woodhouse <dwmw2@infradead.org> - 1.171-2
|
|
|
|
- Change BuildRoot
|
|
|
|
|
|
|
|
* Tue Apr 25 2006 David Woodhouse <dwmw2@infradead.org> - 1.171-1
|
|
|
|
- Initial import from FreeBSD CVS
|
|
|
|
|