Created
August 25, 2015 21:40
-
-
Save boc-tothefuture/0d1c722a0e306aad3cc9 to your computer and use it in GitHub Desktop.
FPM Cookery Test with Package Dependency Issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Test < FPM::Cookery::Recipe | |
name 'Test' | |
version '1:1.0.0.0' | |
source '', :with => :noop | |
omnibus_package true | |
omnibus_dir '/tmp' | |
def build | |
end | |
def install | |
end | |
system_arch_packages = %w(ksh compat-glibc compat-glibc-headers glibc-headers glibc-devel kernel-headers kernel-devel glibc-common) | |
multi_arch_packages = %w(compat-libstdc++-33 libstdc++ nss-softokn-freebl glibc libgcc) | |
i686_packages = multi_arch_packages.map { |package| "#{package}.i686" } | |
x86_32_packages = multi_arch_packages.map { |package| "#{package}(x86-32)" } | |
build_depends(system_arch_packages + multi_arch_packages + i686_packages) | |
depends(system_arch_packages + multi_arch_packages + x86_32_packages) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment