redline
redline copied to clipboard
RPM is not installable on Fedora 20
Builder builder = new Builder(); builder.setPackage( "test", "1.0", "1" ); builder.setBuildHost( "localhost" ); builder.setLicense( "GPL" ); builder.setPlatform( Architecture.NOARCH, Os.LINUX ); builder.setType( RpmType.BINARY ); builder.build(outputPath);
yum install test-1.0-1.noarch.rpm Loaded plugins: langpacks, refresh-packagekit error: /home/metadeus/test-1.0-1.noarch.rpm: headerRead failed: hdr load: BAD Cannot open: test-1.0-1.noarch.rpm. Skipping. Error: Nothing to do
What's wrong?
I ran into this problem on RHEL/CentOS 5 w/ Redline 1.2.2. It works fine on Redline 1.2.1