switch to createrepo_c

createrepo used python2 and got removed from debian
This commit is contained in:
Joey Hess 2020-12-25 16:32:03 -04:00
parent 6280af2901
commit fe4725d66e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -6,7 +6,7 @@
- from the autobuild). - from the autobuild).
- -
- Builds standalone rpms from the standalone tarballs, and populates - 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. - Also gpg signs the files.
-} -}
@ -238,7 +238,7 @@ buildrpms topdir l = do
, File rpmrepo , File rpmrepo
] ]
void $ inRepo $ runBool [Param "annex", Param "get", 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] void $ inRepo $ runBool [Param "annex", Param "add", File rpmrepo]
where where
isstandalonetarball tararch f = isstandalonetarball tararch f =