switch to createrepo_c
authorJoey Hess <joeyh@joeyh.name>
Fri, 25 Dec 2020 20:32:03 +0000 (16:32 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 25 Dec 2020 20:32:03 +0000 (16:32 -0400)
createrepo used python2 and got removed from debian

Build/DistributionUpdate.hs

index 78111d0cd70076ef22ebd26d5532d53d98b77de1..a5e92d7ee987adc73d6642f42c6f707b32235fe4 100644 (file)
@@ -6,7 +6,7 @@
  - from the autobuild).
  -
  - Builds standalone rpms from the standalone tarballs, and populates
- - a rpm package repository with them using the createrepo program.
+ - a rpm package repository with them using the createrepo_c program.
  -
  - Also gpg signs the files.
  -}
@@ -238,7 +238,7 @@ buildrpms topdir l = do
                                , File rpmrepo
                                ]
        void $ inRepo $ runBool [Param "annex", Param "get", File rpmrepo]
-       void $ liftIO $ boolSystem "createrepo" [File rpmrepo]
+       void $ liftIO $ boolSystem "createrepo_c" [File rpmrepo]
        void $ inRepo $ runBool [Param "annex", Param "add", File rpmrepo]
   where
        isstandalonetarball tararch f =