]> granicus.if.org Git - sudo/commitdiff
Add "Provides: sudo" to debian sudo-ldap package
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Jul 2012 13:34:20 +0000 (09:34 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Jul 2012 13:34:20 +0000 (09:34 -0400)
sudo.pp

diff --git a/sudo.pp b/sudo.pp
index a6cb9e650e56f438e3e31fe0498ead29e390a8c8..50307e983c410f1ba986e5f292e71a1e155a495c 100644 (file)
--- a/sudo.pp
+++ b/sudo.pp
@@ -247,6 +247,7 @@ still allow people to get their work done."
        elif test "%{flavor}" = "ldap"; then
            echo "Conflicts: sudo" >> %{pp_wrkdir}/%{name}/DEBIAN/control
            echo "Replaces: sudo" >> %{pp_wrkdir}/%{name}/DEBIAN/control
+           echo "Provides: sudo" >> %{pp_wrkdir}/%{name}/DEBIAN/control
            cp -p %{pp_wrkdir}/%{name}/DEBIAN/control %{pp_wrkdir}/%{name}/DEBIAN/control.$$
            sed 's/^\(Depends:.*\) *$/\1, libldap-2.4-2/' %{pp_wrkdir}/%{name}/DEBIAN/control.$$ > %{pp_wrkdir}/%{name}/DEBIAN/control
            rm -f %{pp_wrkdir}/%{name}/DEBIAN/control.$$