forked from pool/dialog
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/dialog?expand=0&rev=30
This commit is contained in:
@@ -21,7 +21,7 @@ Url: http://invisible-island.net/dialog/
|
||||
Version: 1.2
|
||||
Release: 0
|
||||
%define src_date 20150225
|
||||
%define somajor 11
|
||||
%define somajor 12
|
||||
Summary: Menus and Input Boxes for Shell Scripts
|
||||
License: LGPL-2.1
|
||||
Group: Development/Tools/Other
|
||||
@@ -69,7 +69,6 @@ Examples of using menus and dialog boxes in shell scripts.
|
||||
bzcat %{S:2} > po/ko.po
|
||||
%patch0 -p0
|
||||
%patch2 -p1
|
||||
chmod -x samples/*
|
||||
|
||||
%build
|
||||
CC=gcc
|
||||
@@ -94,9 +93,13 @@ chmod -x samples/*
|
||||
--disable-rpath-hack \
|
||||
--includedir=%{_includedir}/dialog
|
||||
|
||||
# libtool seems to be broken in shell function func_lalib_unsafe_p()
|
||||
exec 0</dev/null
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
# libtool seems to be broken in shell function func_lalib_unsafe_p()
|
||||
exec 0</dev/null
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
||||
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||
|
Reference in New Issue
Block a user