]> granicus.if.org Git - sudo/commitdiff
Move macos section to be with the other OS-specific sections.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 10 Feb 2012 21:22:21 +0000 (16:22 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 10 Feb 2012 21:22:21 +0000 (16:22 -0500)
sudo.pp

diff --git a/sudo.pp b/sudo.pp
index 2dc508157ad52d63444612e800605b2999df42b5..b89e24531f5a71b6e089f294042414379dafc9f3 100644 (file)
--- a/sudo.pp
+++ b/sudo.pp
@@ -176,6 +176,13 @@ still allow people to get their work done."
        EOF
 %endif
 
+%if [macos]
+       pp_macos_bundle_id=ws.sudo.pkg.sudo
+       pp_macos_pkg_license=doc/LICENSE
+       pp_macos_pkg_readme=${pp_wrkdir}/ReadMe.txt
+       perl -pe 'last if (/^What/i && $seen++)' NEWS > ${pp_wrkdir}/ReadMe.txt
+%endif
+
        # OS-level directories that should generally exist but might not.
        extradirs=`echo ${pp_destdir}/${mandir}/[mc]* | sed "s#${pp_destdir}/##g"`
        extradirs="$extradirs `dirname $docdir` `dirname $timedir`"
@@ -188,13 +195,6 @@ still allow people to get their work done."
        done
        osdirs=`echo $osdirs | tr " " "\n" | sort -u`
 
-%if [macos]
-       pp_macos_bundle_id=ws.sudo.pkg.sudo
-       pp_macos_pkg_license=doc/LICENSE
-       pp_macos_pkg_readme=${pp_wrkdir}/ReadMe.txt
-       perl -pe 'last if (/^What/i && $seen++)' NEWS > ${pp_wrkdir}/ReadMe.txt
-%endif
-
 %files
        $osdirs                 -
        $bindir/sudo            4111 root: