3edd9c2
%global prever  b1
9d88391
9850b82
Name:           cvsps
9d88391
Version:        2.2
579d9ec
Release:        0.17.%{prever}%{?dist}
9850b82
Summary:        Patchset tool for CVS
9850b82
9850b82
Group:          Development/Tools
27d3c7e
License:        GPL+
9850b82
URL:            http://www.cobite.com/cvsps/
9d88391
Source0:        http://www.cobite.com/cvsps/%{name}-%{version}%{prever}.tar.gz
7fe3c20
# https://bugzilla.redhat.com/516083
3edd9c2
Patch0:         %{name}-2.2b1-dynamic-logbuf.patch
a8a258a
Patch1:         %{name}-2.2b1-man.patch
1ee46df
Patch2:         %{name}-2.2b1-bufferoverflow.patch
9850b82
9850b82
BuildRequires:  zlib-devel
7fe3c20
# Strictly speaking, requires cvs only with --no-cvs-direct (which is
7fe3c20
# the default as of 2.2b1), but this shouldn't be a problem on systems
7fe3c20
# where cvsps will be installed.
4793d71
Requires: cvs
9850b82
9850b82
%description
9850b82
CVSps is a program for generating 'patchset' information from a CVS
9850b82
repository.  A patchset in this case is defined as a set of changes
9850b82
made to a collection of files, and all committed at the same time
9850b82
(using a single 'cvs commit' command).  This information is valuable
9850b82
to seeing the big picture of the evolution of a cvs project.  While
9850b82
cvs tracks revision information, it is often difficult to see what
9850b82
changes were committed 'atomically' to the repository.
9850b82
9850b82
9850b82
%prep
9d88391
%setup -q -n %{name}-%{version}%{prever}
3edd9c2
%patch0 -p1
7fe3c20
%patch1 -p1
1ee46df
%patch2 -p1
9850b82
9850b82
9850b82
%build
7fe3c20
CFLAGS="$RPM_OPT_FLAGS -DLINUX" make %{?_smp_mflags}
9850b82
9850b82
9850b82
%install
9d88391
make install prefix=$RPM_BUILD_ROOT%{_prefix}
9850b82
9850b82
9850b82
%files
20359b6
%doc CHANGELOG COPYING README merge_utils.sh
9850b82
%{_bindir}/cvsps
9850b82
%{_mandir}/man1/cvsps.1*
9850b82
9850b82
9850b82
%changelog
579d9ec
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-0.17.b1
579d9ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
579d9ec
31323fc
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.16.b1
31323fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
31323fc
ab875ae
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.15.b1
ab875ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ab875ae
07e2cab
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.14.b1
07e2cab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
07e2cab
234f2f9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.13.b1
234f2f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
234f2f9
f386ef4
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.12.b1
f386ef4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f386ef4
6326715
* Mon Aug 27 2012 Honza Horak <hhorak@redhat.com> - 2.2-0.11.b1
6326715
- Spec file cleanup
6326715
0335ed2
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.10.b1
0335ed2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0335ed2
048e66b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.9.b1
048e66b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
048e66b
1ee46df
* Mon Feb 14 2011 Honza Horak <hhorak@redhat.com> - 2.2-0.8.b1
1ee46df
- Patch to fix buffer overflow.
1ee46df
- https://bugzilla.redhat.com/show_bug.cgi?id=576076
1ee46df
f6715d2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
f6715d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f6715d2
a8a258a
* Tue May 18 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.2-0.6.b1
a8a258a
- Patch to fix man page formatting errors.
a8a258a
7fe3c20
* Tue Dec 22 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.2-0.5.b1
7fe3c20
- Build with -DLINUX to fix --cvs-direct on 64-bit platforms (#539765).
7fe3c20
- Use patch instead of sed for man page fixes.
7fe3c20
7fe3c20
* Thu Aug  6 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.2-0.4.b1
3edd9c2
- Apply David D. Kilzer's dynamic log buffer allocation patch (#516083,
3edd9c2
  Andreas Schwab).
3edd9c2
- Use %%global instead of %%define.
3edd9c2
2f7dcab
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.3.b1
2f7dcab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2f7dcab
d53f942
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.2.b1
d53f942
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d53f942
7fe3c20
* Sat Jun 14 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.2-0.1.b1
9d88391
- 2.2b1.
9d88391
7fe3c20
* Sat Feb  9 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.1-6
f027f2c
- Change cvs dependency to a Requires(hint).
f027f2c
- Fix typo in man page.
f027f2c
7fe3c20
* Thu Aug 16 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.1-5
27d3c7e
- License: GPL+
27d3c7e
7fe3c20
* Tue Aug 29 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.1-4
36dd570
- Rebuild.
36dd570
7fe3c20
* Wed Feb 15 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.1-3
bddb65d
- Rebuild.
bddb65d
7fe3c20
* Fri May 27 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.1-2
20359b6
- 2.1.
20359b6
7fe3c20
* Sun Mar 20 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.0-0.2.rc1
9850b82
- Drop 0.fdr and Epoch: 0.
9850b82
7fe3c20
* Sun Sep 14 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.0-0.fdr.0.2.rc1
9850b82
- Remove #---- section markers.
9850b82
7fe3c20
* Fri Jul  4 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.0-0.fdr.0.1.rc1
9850b82
- First build.