Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f56eaacdb7 | ||
|
|
5d72150f5c | ||
|
|
b5819d35ed | ||
|
|
be521f6aa4 | ||
|
|
7dc185b4f7 | ||
|
|
885702ce2b |
7 changed files with 67 additions and 36 deletions
|
|
@ -1 +0,0 @@
|
|||
monotone-0.43.tar.gz
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
monotone-0.46.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: monotone
|
||||
# $Id$
|
||||
NAME := monotone
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
monotone-0_42-1_fc10:HEAD:monotone-0.42-1.fc10.src.rpm:1230916116
|
||||
monotone-0_42-2_fc10:HEAD:monotone-0.42-2.fc10.src.rpm:1230932958
|
||||
monotone-0_42-3_fc10:HEAD:monotone-0.42-3.fc10.src.rpm:1234192456
|
||||
monotone-0_42-5_fc10:HEAD:monotone-0.42-5.fc10.src.rpm:1235765112
|
||||
monotone-0_43-1_fc10:HEAD:monotone-0.43-1.fc10.src.rpm:1238237776
|
||||
36
monotone-0.46-netsync_large_file.patch
Normal file
36
monotone-0.46-netsync_large_file.patch
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
#
|
||||
#
|
||||
# patch "netxx/socket.cxx"
|
||||
# from [ca9a59bb394a41f6aae1527678162678d5e60419]
|
||||
# to [16b61df71104d616a1dc68adc6da02160ce1714a]
|
||||
#
|
||||
============================================================
|
||||
--- netxx/socket.cxx ca9a59bb394a41f6aae1527678162678d5e60419
|
||||
+++ netxx/socket.cxx 16b61df71104d616a1dc68adc6da02160ce1714a
|
||||
@@ -172,9 +172,9 @@ Netxx::signed_size_type Netxx::Socket::w
|
||||
Netxx::signed_size_type Netxx::Socket::write (const void *buffer, size_type length, const Timeout &timeout)
|
||||
{
|
||||
const char *buffer_ptr = static_cast<const char*>(buffer);
|
||||
- signed_size_type rc, bytes_written=0;
|
||||
+ signed_size_type rc;
|
||||
|
||||
- while (length) {
|
||||
+ for (;;) {
|
||||
if (timeout && !writable(timeout)) return -1;
|
||||
|
||||
if ( (rc = send(socketfd_, buffer_ptr, length, 0)) < 0) {
|
||||
@@ -213,12 +213,10 @@ Netxx::signed_size_type Netxx::Socket::w
|
||||
}
|
||||
}
|
||||
|
||||
- buffer_ptr += rc;
|
||||
- bytes_written += rc;
|
||||
- length -= rc;
|
||||
+ break;
|
||||
}
|
||||
|
||||
- return bytes_written;
|
||||
+ return rc;
|
||||
}
|
||||
//####################################################################
|
||||
Netxx::signed_size_type Netxx::Socket::read (void *buffer, size_type length, const Timeout &timeout)
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
Name: monotone
|
||||
Version: 0.43
|
||||
Version: 0.46
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: A free, distributed version control system
|
||||
|
|
@ -11,6 +11,7 @@ Source0: http://monotone.ca/downloads/%{version}/%{name}-%{version}.tar.gz
|
|||
Source1: monotone.init
|
||||
Source2: monotone.sysconfig
|
||||
Source3: README.monotone-server
|
||||
Patch0: monotone-0.46-netsync_large_file.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
|
|
@ -64,21 +65,20 @@ and then pass commands to it.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0 -b .netsync-large-file
|
||||
|
||||
%build
|
||||
%configure --with-bundled-lua=%{bundled_lua} \
|
||||
--with-bundled-sqlite=%{bundled_sqlite}
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
# disable parallel runs in the testsuite for now
|
||||
make check || { cat tester_dir/*.log; false; }
|
||||
make check %{?_smp_mflags} || { cat tester_dir/*.log; false; }
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot}
|
||||
rm -f %{buildroot}%{_infodir}/dir
|
||||
rm -f %{buildroot}%{_datadir}/doc/monotone/monotone.html
|
||||
mv %{buildroot}%{_datadir}/doc/%{name} _doc
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
|
|
@ -137,8 +137,7 @@ fi
|
|||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README README.changesets UPGRADE
|
||||
%doc monotone.html
|
||||
|
||||
%doc _doc/*
|
||||
%{_bindir}/mtn
|
||||
%{_bindir}/mtnopt
|
||||
%{_infodir}/monotone.info*
|
||||
|
|
@ -191,6 +190,28 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Jan 23 2010 Thomas Moschny <thomas.moschny@gmx.de> - 0.46-1
|
||||
- Update to 0.46.
|
||||
- Remove patch applied upstream.
|
||||
- Add patch from trunk for failing test.
|
||||
- Fix installation of documentation: include figures in the package.
|
||||
- Let tests in the testsuite run in parallel.
|
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.45-2
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
* Sat Sep 12 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.45-1
|
||||
- Update to 0.45.
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.44-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed May 13 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.44-1
|
||||
- Update to 0.44.
|
||||
|
||||
* Sat Apr 25 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.43-2
|
||||
- Rebuilt for new botan version.
|
||||
|
||||
* Fri Mar 27 2009 Thomas Moschny <thomas.moschny@gmx.de> - 0.43-1
|
||||
- Update to 0.43.
|
||||
- Add BRs for libraries monotone doesn't bundle anylonger.
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
a9e82b899ff7f676f620c450d6aff4cf monotone-0.43.tar.gz
|
||||
405286223efcf375cd022dabf2f1c845 monotone-0.46.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue