code: def add_patchs_to_build_without_pkg_config(self, lib_dir, include_dir):
          
          additional_patches = [
              {
                  'src': r"pkgconfig\('--libs-only-L'\)",
                  'dest': "['{0}']".format(lib_dir),
              },
              # Considering -libs-only-l and -libs-only-L
              # https://github.com/rpm-software-management/rpm/pull/327
              {
                  'src': r"pkgconfig\('--libs(-only-l)?'\)",
                  'dest': "['rpm', 'rpmio']",
                  'required': True,
              },
              {
                  'src': r"pkgconfig\('--cflags'\)",
                  'dest': "['{0}']".format(include_dir),
                  'required': True,
              },
          ]
          self.patches.extend(additional_patches)
docs: Add patches to remove pkg-config command and rpm.pc part.
  
          Replace with given library_path: lib_dir and include_path: include_dir
          without rpm.pc file.