Accepting request 122770 from home:puzel:branches:server:http
- fix build with automake 1.12 OBS-URL: https://build.opensuse.org/request/show/122770 OBS-URL: https://build.opensuse.org/package/show/server:http/thttpd?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
bfab5cad69
commit
a49875c593
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: thttpd
|
||||
Provides: http_daemon
|
||||
Provides: http_daemon
|
||||
PreReq: %fillup_prereq %insserv_prereq permissions
|
||||
Version: 2.25b
|
||||
Release: 0
|
||||
@@ -41,7 +41,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Small and very simple webserver
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
BuildRequires: libtool automake
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
|
||||
%description
|
||||
Thttpd is a very compact no-frills httpd serving daemon that can handle
|
||||
@@ -76,7 +77,7 @@ Authors:
|
||||
%patch12
|
||||
|
||||
%build
|
||||
cp /usr/share/automake-1.11/config.* .
|
||||
cp /usr/share/automake-1.11/config.* . || cp /usr/share/automake-1.12/config.* .
|
||||
# update server root path
|
||||
sed -i "s@__SRVROOT__@%{serverroot}/htdocs@g" README.SuSE SuSE/etc/thttpd.conf
|
||||
sed -i "s@__PREFIX__@%{_prefix}@g;\
|
||||
|
Reference in New Issue
Block a user