Accepting request 503690 from home:scarabeus_iv:branches:devel:tools:building

- Switch to github distribution as the code.google.com is dead
- Drop the distcc-3.0-xinetd.patch as we do not install the service
  and user can tweak it up to his liking

OBS-URL: https://build.opensuse.org/request/show/503690
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/distcc?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal 2017-06-14 12:57:35 +00:00 committed by Git OBS Bridge
parent 79636ed78c
commit 7e21c5b971
5 changed files with 16 additions and 23 deletions

View File

@ -1,15 +0,0 @@
diff -Naur distcc-3.0.orig/doc/example/xinetd distcc-3.0/doc/example/xinetd
--- distcc-3.0.orig/doc/example/xinetd 2008-08-07 05:52:13.000000000 +0900
+++ distcc-3.0/doc/example/xinetd 2008-10-27 15:32:14.000000000 +0900
@@ -19,10 +19,6 @@
socket_type = stream
wait = no
user = distcc
- server = /usr/local/bin/distccd
+ server = /usr/bin/distccd
server_args = --inetd
-
- # This makes xinetd cope if there is no service listed in
- # /etc/services
- type = UNLISTED
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:311671e844625d7fdb18dd3d096cd855751cfe8de13827682bcb7beff9133b30
size 609904

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jun 14 12:51:30 UTC 2017 - tchvatal@suse.com
- Switch to github distribution as the code.google.com is dead
- Drop the distcc-3.0-xinetd.patch as we do not install the service
and user can tweak it up to his liking
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 9 09:30:01 UTC 2015 - tchvatal@suse.com Fri Jan 9 09:30:01 UTC 2015 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package distcc # spec file for package distcc
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,13 +22,12 @@ Release: 0
Summary: A fast, free distributed C/C++ compiler Summary: A fast, free distributed C/C++ compiler
License: GPL-2.0+ License: GPL-2.0+
Group: Development/Tools/Building Group: Development/Tools/Building
Url: https://code.google.com/p/distcc/ Url: https://github.com/distcc/distcc
Source0: http://distcc.googlecode.com/files/%{name}-%{version}.tar.bz2 Source0: https://github.com/distcc/distcc/archive/v%{version}.tar.gz
Source1: distccd.sysconfig Source1: distccd.sysconfig
Source2: distccd.service Source2: distccd.service
Source3: distccd.firewall Source3: distccd.firewall
Patch0: distcc-3.0-fix-fortify.patch Patch0: distcc-3.0-fix-fortify.patch
Patch1: distcc-3.0-xinetd.patch
Patch2: distcc-3.2_rc1-freedesktop.patch Patch2: distcc-3.2_rc1-freedesktop.patch
Patch3: distcc-3.2_rc1-gssapi.patch Patch3: distcc-3.2_rc1-gssapi.patch
Patch4: distcc-3.2_rc1-python.patch Patch4: distcc-3.2_rc1-python.patch
@ -80,7 +79,6 @@ This package contains the compilation server needed to use %{name}.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
%patch4 -p1 %patch4 -p1
@ -97,6 +95,8 @@ sed -i \
autoreconf -fvi autoreconf -fvi
%build %build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
%configure \ %configure \
--with-docdir=%{_docdir}/%{name} \ --with-docdir=%{_docdir}/%{name} \
--disable-Werror \ --disable-Werror \
@ -198,3 +198,4 @@ rm -rf %{buildroot}%{_docdir}/distcc/INSTALL
%{_datadir}/applications/distccmon-gnome.desktop %{_datadir}/applications/distccmon-gnome.desktop
%{_datadir}/pixmaps/distccmon-gnome-icon.png %{_datadir}/pixmaps/distccmon-gnome-icon.png
%changelog

3
v3.2rc1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33e85981ff6afd94efc38b23b2d8b9036b3dff2dc6eac6982b9ff0ae1de64caa
size 936590