- Apply patch updating minilzo (taken from fedora):

* distcc-minilzo-2.08.patch
- Wrong user setting in service file, we run it as root

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/distcc?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal 2014-12-17 11:03:30 +00:00 committed by Git OBS Bridge
parent b0bcdfddc2
commit bd8d044c92
6 changed files with 23638 additions and 2 deletions

7
_service Normal file
View File

@ -0,0 +1,7 @@
<services>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">pkgs.fedoraproject.org</param>
<param name="path">/cgit/distcc.git/plain/distcc-minilzo-2.08.patch</param>
</service>
</services>

File diff suppressed because it is too large Load Diff

11811
distcc-minilzo-2.08.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Dec 17 11:01:49 UTC 2014 - tchvatal@suse.com
- Apply patch updating minilzo (taken from fedora):
* distcc-minilzo-2.08.patch
- Wrong user setting in service file, we run it as root
-------------------------------------------------------------------
Mon Dec 15 10:54:01 UTC 2014 - tchvatal@suse.com
@ -23,7 +30,6 @@ Thu Dec 11 14:32:00 UTC 2014 - tchvatal@suse.com
* distccd.service
* distccd.firewall
-------------------------------------------------------------------
Thu Dec 11 14:23:07 UTC 2014 - tchvatal@suse.com

View File

@ -33,6 +33,7 @@ Patch1: distcc-3.0-xinetd.patch
Patch2: distcc-3.2_rc1-freedesktop.patch
Patch3: distcc-3.2_rc1-gssapi.patch
Patch4: distcc-3.2_rc1-python.patch
Patch5: distcc-minilzo-2.08.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
@ -84,6 +85,7 @@ This package contains the compilation server needed to use %{name}.
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
# do not use date/time in the c files
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"

View File

@ -4,7 +4,6 @@ After=network.target
[Service]
EnvironmentFile=-/etc/sysconfig/distccd
User=distcc
ExecStart=/usr/bin/distccd --verbose --no-detach --daemon --port 3632 -N 15 --allow $ALLOWED_SERVERS $EXTRA_PARAMS
[Install]