Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion SPECS/glib/glib.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
%bcond bootstrap 0
%endif

%bcond static 0
%bcond static 1
# For -tests subpackage.
%bcond tests 0
%bcond doc 0
Expand Down Expand Up @@ -94,6 +94,10 @@ This package contains the essential runtime libraries and tools.
%package devel
Summary: Development files for the GLib library
Requires: %{name}%{?_isa} = %{version}-%{release}
%if %{with static}
Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static%{?_isa} = %{version}-%{release}
%endif

%description devel
This package contains the header files, libraries, and developer tools
Expand Down Expand Up @@ -180,6 +184,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/bash-completion/completions/gsettings

%files devel
%if %{with static}
%{_libdir}/lib*.a
%endif
%{_libdir}/lib*.so
%dir %{_libdir}/glib-2.0
%dir %{_libdir}/glib-2.0/include
Expand Down
8 changes: 5 additions & 3 deletions SPECS/qemu/qemu.spec
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
# By default build dynamic user-mode emulation
%bcond user_dynamic 1

# By default do not build static user-mode emulation
%bcond user_static 0
# By default build static user-mode emulation
%bcond user_static 1

# Disable compiler Werror by default
%bcond enable_werror 0
Expand Down Expand Up @@ -404,7 +404,7 @@ BuildRequires: igvm-devel
%if %{with user_static}
BuildRequires: glib-static
BuildRequires: glibc-static
BuildRequires: zlib-devel-static
BuildRequires: zlib-ng-compat-static
#BuildRequires: libatomic-static
%endif
# Requires for the openRuyi 'qemu' metapackage
Expand Down Expand Up @@ -1541,6 +1541,7 @@ popd
%{_bindir}/qemu-sparc32plus-static
%{_bindir}/qemu-sparc64-static
%{_bindir}/qemu-x86_64-static
%{_bindir}/qemu-i386-static
%if %{with have_systemtap}
%{_datadir}/systemtap/tapset/qemu-aarch64-log-static.stp
%{_datadir}/systemtap/tapset/qemu-aarch64-simpletrace-static.stp
Expand Down Expand Up @@ -1607,6 +1608,7 @@ popd
%endif
%ifnarch x86_64
%{_exec_prefix}/lib/binfmt.d/qemu-x86_64-static.conf
%{_exec_prefix}/lib/binfmt.d/qemu-i386-static.conf
%{_exec_prefix}/lib/binfmt.d/qemu-i486-static.conf
%endif
%{_exec_prefix}/lib/binfmt.d/qemu-s390x-static.conf
Expand Down
Loading