]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
shadow-utils: Fix not building some binaries.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Oct 2011 20:30:45 +0000 (22:30 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Oct 2011 20:30:45 +0000 (22:30 +0200)
shadow-utils/shadow-utils.nm

index 7c8b7825ccf28e01aaa67e7cf1b3f45788f2fcea..b8f0a14bff69a7700fe4140375dc1a939c945f19 100644 (file)
@@ -5,7 +5,8 @@
 
 name       = shadow-utils
 version    = 4.1.4.3
-release    = 1
+release    = 2
+thisapp    = shadow-%{version}
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = Base System/Base
@@ -19,9 +20,6 @@ description
        format, plus programs for managing user and group accounts.
 end
 
-obsoletes += shadow
-thisapp    = shadow-%{version}
-
 source_dl  = http://pkg-shadow.alioth.debian.org/releases/
 sources    = %{thisapp}.tar.bz2
 
@@ -45,8 +43,8 @@ build
                # Do not build these files:
                for i in nologin chfn chgpasswd chpasswd chsh expiry gpasswd groups login \
                                logoutd passwd su; do \
-                       sed -i "s/$$i\$%{EXEEXT}//" src/Makefile.in; \
-                       find man -name Makefile.in -exec sed -i "s/$$i\.1/ /" {} \;; \
+                       sed -i "s/$i\$(EXEEXT)//" src/Makefile.in; \
+                       find man -name Makefile.in -exec sed -i "s/$i\.1/ /" {} \;; \
                done
 
                sed -i src/Makefile.in \
@@ -67,5 +65,11 @@ end
 
 packages
        package %{name}
+               obsoletes += shadow
+
+               conflicts
+                       shadow
+                       pam<1.1.0-4
+               end
        end
 end