diff --git a/bleachbit.spec b/bleachbit.spec index f7be8b9..c4ca9cb 100644 --- a/bleachbit.spec +++ b/bleachbit.spec @@ -20,7 +20,6 @@ BuildRequires: python3-rpm-macros Requires: python(abi) >= 3.0 Requires: gtk3 -Requires: usermode Requires: python3-chardet Requires: python3-gobject @@ -43,23 +42,6 @@ to make them run faster. %prep %setup -q -# Upstream also creates this extra .desktop file, for running BleachBit as root, by copying the basic version instead of tracking a separate file in git. -cp -p ./org.bleachbit.BleachBit.desktop ./org.bleachbit.BleachBit-root.desktop -sed --regexp-extended 's/^Name=BleachBit$/Name=BleachBit as Administrator/g' --in-place ./org.bleachbit.BleachBit-root.desktop -sed --regexp-extended 's/^(.*Exec)=bleachbit$/\1=bleachbit-root/g' --in-place ./org.bleachbit.BleachBit-root.desktop - -cat > ./bleachbit.pam < ./bleachbit.console <