dialog: Make package compile on x86_64.

This commit is contained in:
Michael Tremer 2012-03-07 23:59:13 +01:00
parent 5218f081de
commit c3197273dd
1 changed files with 6 additions and 9 deletions

View File

@ -6,7 +6,7 @@
name = dialog
version = 1.1
svn_ver = 20111020
release = 1.%{svn_ver}
release = 2.%{svn_ver}
thisapp = %{name}-%{version}-%{svn_ver}
groups = Applications/System
@ -27,6 +27,7 @@ sources = %{thisapp}.tgz
build
requires
chrpath
findutils
gettext
libtool
@ -37,17 +38,13 @@ build
--enable-nls \
--with-libtool \
--with-ncursesw \
--includedir=/usr/include/dialog \
--mandir=/usr/share/man
--includedir=/usr/include/dialog
install_cmds
chmod -v 755 %{BUILDROOT}/usr/lib/libdialog.so.*.*.*
end
end
chmod -v 755 %{BUILDROOT}%{libdir}/libdialog.so.*.*.*
quality-agent
whitelist_rpath
/usr/lib
# Remove RPATH.
chrpath --delete %{BUILDROOT}%{bindir}/dialog
end
end