#5685 post-receive-alternativearch updates/fixes
Closed: Fixed Opened by sharkcz.

I have 2 comments for the git hook
- s/ExcludesArch/ExcludeArch/ to fix the tag syntax
- add %ifarch and %ifnarch to the patterns

Thanks, Dan


Fixed in https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=7f0f327c3d7b78ce005d6abb4899aafce3c7819e

Let us know if we can do something else to help :)

@pingou changed the status to Closed

The %ifarch/%ifnarch check doesn't work it seems, eg. http://pkgs.fedoraproject.org/cgit/rpms/mono.git/commit/?id=cfca29745c2402201fbe77d6cc441ce235485304 or http://pkgs.fedoraproject.org/cgit/rpms/bibletime.git/commit/?id=3a687a70d6d305631bfd564784a00f9e3f1e2907 didn't produce any report. Isn't the percent sign missing in the patterns or do we wait for the new version to get into production?

The "The package %(pkg)s has added or updated either ExclusiveArch or ExcludesArch" text could be changed into "The package %(pkg)s has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch)".

Isn't the percent sign missing in the patterns or do we wait for the new version to get into production?

Good catch, it's missing the '%' :)

Let me do both fix :)

Fixed in https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=083901a

Deploying :)

Metadata