.B \-A
Show ancestor branch when a new branch is found.
.TP
---- b/cvsps.c
-+++ b/cvsps.c 2011-01-31 08:14:42.846391432 +0200
+--- cvsps-2.2b1/cvsps.c~ 2011-01-31 08:19:44.000000000 +0200
++++ cvsps-2.2b1/cvsps.c 2011-01-31 08:53:43.552797755 +0200
@@ -39,7 +39,8 @@
enum
static CvsFileRevision * parse_revision(CvsFile * file, char * rev_str);
static void assign_pre_revision(PatchSetMember *, CvsFileRevision * rev);
static void check_print_patch_set(PatchSet *);
-@@ -260,12 +263,13 @@
+@@ -267,12 +267,13 @@
{
FILE * cvsfp;
char buff[BUFSIZ];
+ int state = NEED_RCS_FILE;
CvsFile * file = NULL;
PatchSetMember * psm = NULL;
- char datebuff[20];
+ char datebuff[26];
char authbuff[AUTH_STR_MAX];
- char logbuff[LOG_STR_MAX + 1];
+ int logbufflen = LOG_STR_MAX + 1;
}
else
{
-@@ -480,24 +506,22 @@
+@@ -509,25 +510,22 @@
*/
if (have_log || !is_revision_metadata(buff))
{
- /* if the log buffer is full, that's it.
- *
- * Also, read lines (fgets) always have \n in them
+- * (unless truncation happens)
- * which we count on. So if truncation happens,
- * be careful to put a \n on.
- *
+%define subver b1
+%define rel 1
Summary: Patchsets for CVS
Summary(pl.UTF-8): Zestawy łatek dla CVS
Name: cvsps
-Version: 2.1
-Release: 5
+Version: 2.2
+Release: 0.%{subver}.%{rel}
License: GPL
Group: Development/Version Control
-Source0: http://www.cobite.com/cvsps/%{name}-%{version}.tar.gz
-# Source0-md5: bde2110ed9f5d14de8f8cb04e9d596fe
+Source0: http://www.cobite.com/cvsps/%{name}-%{version}%{subver}.tar.gz
+# Source0-md5: 997580e8e283034995b9209076858c68
# Fixes made by git people, see:
# http://ydirson.free.fr/en/software/scm/cvsps.html
Patch0: %{name}-fixes.patch
'atomowo' do repozytorium nie jest rzeczą łatwą.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}%{subver}
%patch0 -p1
%build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-
-install cvsps $RPM_BUILD_ROOT%{_bindir}
-install cvsps.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install -p cvsps $RPM_BUILD_ROOT%{_bindir}
+cp -a cvsps.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT