private void fillRequirements ( ) throws IOException { this . requirements . add ( new Dependency ( "rpmlib(CompressedFileNames)" , "3.0.4-1" , RpmDependencyFlags . LESS , RpmDependencyFlags . EQUAL , RpmDependencyFlags . RPMLIB ) ) ; if ( ! this . options . getFileDigestAlgorithm ( ) . equals ( DigestAlgorithm . MD5 ) ) { this . requirements . add ( new Dependency ( "rpmlib(FileDigests)" , "4.6.0-1" , RpmDependencyFlags . LESS , RpmDependencyFlags . EQUAL , RpmDependencyFlags . RPMLIB ) ) ; } this . requirements . add ( new Dependency ( "rpmlib(PayloadFilesHavePrefix)" , "4.0-1" , RpmDependencyFlags . LESS , RpmDependencyFlags . EQUAL , RpmDependencyFlags . RPMLIB ) ) ; this . options . getPayloadCoding ( ) . createProvider ( ) . fillRequirements ( this . requirements :: add ) ; }
Fill extra requirements the RPM file itself may have