Skip to content

Commit

Permalink
Drop automatic inclusion of .pc file for baselibs.
Browse files Browse the repository at this point in the history
Fixes openSUSE#724.

Avoid default inclusion of pkgconfig files in automatically generated
baselibs configured biarch packages. This avoids the "have choice" issue
seen with `BuildRequires: pkgconfig(FOO)` type dependencies on OBS for
any dependents of a biarch FOO-devel package. It is wrong to ask every
project supporting biarch devel packages to configure project macros to
disfavour one pkgconfig based dependency in favour of another.

Packager may at their wish explicitly include the pkgconfig file in the
biarch package explicitly by appropriately configure the associated
baselibs.conf file, but as a default, this should be hardly ever
required.
  • Loading branch information
badshah400 committed May 9, 2024
1 parent e6e9e29 commit 824b288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baselibs_configs/baselibs_global.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ targettype 64bit extension 64

targetname <name>-<targettype>

+.*/lib(64|ilp32)?/.*\.(so\..*|so|o|a|la|pc)$
+.*/lib(64|ilp32)?/.*\.(so\..*|so|o|a|la)$

targettype 64bit -^(/usr)?/lib(ilp32)?/lib
targettype 32bit -/lib64/
Expand Down

0 comments on commit 824b288

Please sign in to comment.