BuildRequires: pkg-config
%endif
-BuildRequires: libsolv-devel >= 0.3.0
+BuildRequires: libsolv-devel >= 0.4.1
%if 0%{?suse_version} >= 1100
%requires_eq libsolv-tools
%else
ExternalProgram::Arguments cmd;
cmd.push_back( "repo2solv.sh" );
-
// repo2solv expects -o as 1st arg!
cmd.push_back( "-o" );
cmd.push_back( solvfile.asString() );
+ cmd.push_back( "-X" ); // autogenerate pattern from pattern-package
if ( repokind == RepoType::RPMPLAINDIR )
{
/** Those are denoted to be installed, if the
* solver verifies them as being satisfied. */
inline bool isPseudoInstalled( ResKind kind_r )
- { return( kind_r == ResKind::patch || kind_r == ResKind::pattern ); }
+ { return( kind_r == ResKind::patch ); }
/////////////////////////////////////////////////////////////////
} // namespace traits
cmd << "rpmdb2solv";
if ( ! _root.empty() )
cmd << " -r '" << _root << "'";
-
+ cmd << " -X"; // autogenerate pattern from pattern-package
cmd << " -p '" << Pathname::assertprefix( _root, "/etc/products.d" ) << "'";
if ( ! oldSolvFile.empty() )