name = dialog
version = 1.1
svn_ver = 20111020
-release = 1.%{svn_ver}
+release = 2.%{svn_ver}
thisapp = %{name}-%{version}-%{svn_ver}
groups = Applications/System
build
requires
+ chrpath
findutils
gettext
libtool
--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