#1547 make lint should check all-arch directories
Closed: Fixed None Opened 10 years ago by mjakubicek.

With the introduction of noarch subpackages, I noticed that "make lint" checks only $(LOCALARCH)/*.rpm, imo it should catch any arch-subdirectory. The proposed solution is:


check the build with rpmlint

@test -e $(NAME)-$(VERSION)-$(RELEASE).src.rpm || (echo "run 'make local' first" ; exit 1 )
@for ARCH in $(ARCHES); do [ -d $$ARCH ] && RPMLINT_ARGS="$$RPMLINT_ARGS $$ARCH/*-$(VERSION)-$(RELEASE).$$ARCH.rpm" || :; done \
&& rpmlint $$RPMLINT_ARGS $(NAME)-$(VERSION)-$(RELEASE).src.rpm


It seems like fedpkg lint doesn't work either...

Can you re-file this against https://fedorahosted.org/fedora-packager/newticket if the problem persists?


Login to comment on this ticket.