aboutsummaryrefslogtreecommitdiffstats
path: root/iurt
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-03-15 23:14:52 +0000
committerPascal Terjan <pterjan@mageia.org>2020-03-15 23:16:33 +0000
commitd1617f868b16a297a9644b86b00889b954b450f1 (patch)
tree9b319a3b2551aabc3e6c7eb779ad5593959cf86a /iurt
parent6511f894ab99f9036505ba315834d2470569c6b9 (diff)
downloadiurt-d1617f868b16a297a9644b86b00889b954b450f1.tar
iurt-d1617f868b16a297a9644b86b00889b954b450f1.tar.gz
iurt-d1617f868b16a297a9644b86b00889b954b450f1.tar.bz2
iurt-d1617f868b16a297a9644b86b00889b954b450f1.tar.xz
iurt-d1617f868b16a297a9644b86b00889b954b450f1.zip
Move check_{no,}arch to a new RPM module
They have nothing to do with the config and work on an RPM file.
Diffstat (limited to 'iurt')
-rwxr-xr-xiurt3
1 files changed, 2 insertions, 1 deletions
diff --git a/iurt b/iurt
index d7d72e3..fd01672 100755
--- a/iurt
+++ b/iurt
@@ -34,7 +34,7 @@
use strict;
use RPM4::Header;
-use Iurt::Config qw(config_usage get_date get_prefix config_init get_maint check_arch %arch_comp get_package_prefix);
+use Iurt::Config qw(config_usage get_date get_prefix config_init get_maint %arch_comp get_package_prefix);
use Data::Dumper;
use URPM;
@@ -42,6 +42,7 @@ use Iurt::Urpmi;
use Iurt::Chroot qw(add_local_user create_temp_chroot remove_chroot create_build_chroot clean_chroot);
use Iurt::Process qw(perform_command kill_for_good sudo);
use Iurt::Mail qw(sendmail);
+use Iurt::RPM qw(check_arch);
use Iurt::Util qw(plog_init plog);
use File::NCopy qw(copy);
use File::Path qw(mkpath);