diff options
-rw-r--r-- | devel/management/commands/reporead.py | 3 | ||||
-rw-r--r-- | main/fixtures/arches.json | 36 |
2 files changed, 2 insertions, 37 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index 52a9758e..9fe643bb 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -595,7 +595,8 @@ def read_repo(primary_arch, repo_file, options): for package in packages: if package.arch == 'any': - setattr(package, 'arch', 'any_%s' % primary_arch.name) + # https://labs.parabola.nu/issues/1666 + setattr(package, 'arch', primary_arch.name) if package.arch in packages_arches: packages_arches[package.arch].append(package) else: diff --git a/main/fixtures/arches.json b/main/fixtures/arches.json index 767f16e3..fa245941 100644 --- a/main/fixtures/arches.json +++ b/main/fixtures/arches.json @@ -1,14 +1,5 @@ [ { - "pk": 1, - "model": "main.arch", - "fields": { - "agnostic": true, - "name": "any", - "required_signoffs": 2 - } -}, -{ "pk": 2, "model": "main.arch", "fields": { @@ -34,32 +25,5 @@ "name": "armv7h", "required_signoffs": 1 } -}, -{ - "pk": 5, - "model": "main.arch", - "fields": { - "agnostic": true, - "name": "any_i686", - "required_signoffs": 1 - } -}, -{ - "pk": 6, - "model": "main.arch", - "fields": { - "agnostic": true, - "name": "any_x86_64", - "required_signoffs": 1 - } -}, -{ - "pk": 7, - "model": "main.arch", - "fields": { - "agnostic": true, - "name": "any_armv7h", - "required_signoffs": 1 - } } ] |