From: Todd C. Miller Date: Thu, 5 Jul 2012 13:34:20 +0000 (-0400) Subject: Add "Provides: sudo" to debian sudo-ldap package X-Git-Tag: SUDO_1_8_6^2~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5904f7ede9a57c1dfdd348866c3620d9f469f7ac;p=sudo Add "Provides: sudo" to debian sudo-ldap package --- diff --git a/sudo.pp b/sudo.pp index a6cb9e650..50307e983 100644 --- 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.$$