]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - dialog/dialog.nm
glibc: Update to 2.19.
[people/ms/ipfire-3.x.git] / dialog / dialog.nm
index 00fefbfc0c11c2c54077545a98f309f2d343999e..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
 
@@ -57,4 +54,8 @@ packages
        package %{name}-devel
                template DEVEL
        end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
 end