Description of problem: Some macro is not expanded (googletranslate:is not dereferenced) during the building of the package. Version-Release number of selected component (if applicable): rpm -q --info redhat-lsb-core Name : redhat-lsb-core Version : 4.1 Release : 10.fc18 Architecture: armv7hl How reproducible: Steps to Reproduce: install redhat-lsb-core package and query list of files. rpm -ql redhat-lsb-core | grep \% Actual results: # rpm -ql redhat-lsb-core | grep \% /etc/lsb-release.d/core-4.1-%{archname} /lib/%{lsbldso}.3 /usr/share/lsb/4.1/modules/core/core-4.1-%{archname} /usr/share/lsb/4.1/modules/core/security-4.1-%{archname} /usr/share/lsb/4.1/submodules/core-4.1-%{archname} Also symlink /lib/%{lsbldso}.3 points to a nonexistent file %{ldso} Expected results: There should be no files with %-symbol. But instead of this file: /etc/lsb-release.d/core-4.1-%{archname} should be /etc/lsb-release.d/core-4.1-armv7hl Additional info: As the platform using SoC Hackberry A10.
I believe this architecture is wrong and unsupported by the redhat-lsb package. From arm architectures, we support just %{arm} (which expands to arm) and aarch64 - which expands to aarch64. As the package is ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x %{arm} aarch64 , I just wonder how you made it working on armv7hl architecture. If you (or someone adjusting the spec for SoC Hackberry A10) just added the architecture, this is NOTABUG (as it needs more adjustments than that and I'm not going to adjust that myself). Could you please tell me what steps you did?
As you can see in http://koji.fedoraproject.org/koji/rpminfo?rpmID=4316141 , macros get correctly expanded, when used on koji builders. Package is ExclusiveArch , so when the %{arm} is not defined, it should not build on armv7hl architecture. Closing NOTABUG, feel free to reopen if you provide information what's wrong in the redhat-lsb package. So far it looks to me as you don't have defined %{arm} rpm macro (which is provided on Fedora20, where armv7hl became primary) and you commented out the ExclusiveArch line (or added armv7hl). Unfortunately, this is not expected to work.
I saw these macros in spec from 4.1-15. Thank you.