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:
Vítězslav Čížek 2012-05-31 11:30:44 +00:00 committed by Git OBS Bridge
parent bfab5cad69
commit a49875c593
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 29 14:06:26 UTC 2012 - puzel@suse.com
- fix build with automake 1.12
-------------------------------------------------------------------
Thu Mar 22 09:33:49 UTC 2012 - dvaleev@suse.com

View File

@ -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;\