]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
dialog: Make package compile on x86_64.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Mar 2012 22:59:13 +0000 (23:59 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Mar 2012 22:59:13 +0000 (23:59 +0100)
dialog/dialog.nm

index b46ae2bba96d104e860b69fbeea4e3b2d51a5f0c..17d5d9f6b766259d15bb4d55a853a6c3fbd914ec 100644 (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