BEIJING — China’s Commerce Ministry has condemned a $1.1 trillion spending bill passed by the United States Congress last week over clauses that limit technological purchases from China, saying the limits clash with the principles of fair trade.

The bill, signed by President Obama on Friday, included a cyberespionage review process for federal purchases of technology from China, a provision incorporated last year as concern grew in the United States about Chinese cyberattacks.

In a weekend statement, the Commerce Ministry said the move “went against the principles of fair trade” in seeking to curb purchases of Chinese technology and the exporting of satellites and parts to China.

“China is resolutely opposed,” the ministry said in comments attributed to an unnamed official in its United States trade division.