Adjust conditionals that disable glib2-fam
This commit is contained in:
parent
c64ee0c537
commit
4d9a5aaf01
19
glib2.spec
19
glib2.spec
@ -1,6 +1,6 @@
|
|||||||
Name: glib2
|
Name: glib2
|
||||||
Version: 2.67.0
|
Version: 2.67.0
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: A library of handy utility functions
|
Summary: A library of handy utility functions
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -69,7 +69,7 @@ BuildArch: noarch
|
|||||||
%description doc
|
%description doc
|
||||||
The glib2-doc package includes documentation for the GLib library.
|
The glib2-doc package includes documentation for the GLib library.
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} <= 8
|
%if !0%{?rhel}
|
||||||
%package fam
|
%package fam
|
||||||
Summary: FAM monitoring module for GIO
|
Summary: FAM monitoring module for GIO
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
@ -77,9 +77,7 @@ BuildRequires: gamin-devel
|
|||||||
|
|
||||||
%description fam
|
%description fam
|
||||||
The glib2-fam package contains the FAM (File Alteration Monitor) module for GIO.
|
The glib2-fam package contains the FAM (File Alteration Monitor) module for GIO.
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?fedora}
|
|
||||||
%package static
|
%package static
|
||||||
Summary: glib static
|
Summary: glib static
|
||||||
Requires: %{name}-devel = %{version}-%{release}
|
Requires: %{name}-devel = %{version}-%{release}
|
||||||
@ -111,14 +109,12 @@ rm glib/pcre/*.[ch]
|
|||||||
-Ddtrace=true \
|
-Ddtrace=true \
|
||||||
-Dsystemtap=true \
|
-Dsystemtap=true \
|
||||||
-Dgtk_doc=true \
|
-Dgtk_doc=true \
|
||||||
%if 0%{?fedora} || 0%{?rhel} <= 8
|
|
||||||
-Dfam=true \
|
|
||||||
%endif
|
|
||||||
-Dinstalled_tests=true \
|
-Dinstalled_tests=true \
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
-Dgnutls=true \
|
-Dgnutls=true \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora}
|
%if !0%{?rhel}
|
||||||
|
-Dfam=true \
|
||||||
--default-library=both \
|
--default-library=both \
|
||||||
%endif
|
%endif
|
||||||
%{nil}
|
%{nil}
|
||||||
@ -229,12 +225,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
%files doc
|
%files doc
|
||||||
%doc %{_datadir}/gtk-doc/html/*
|
%doc %{_datadir}/gtk-doc/html/*
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} <= 8
|
%if !0%{?rhel}
|
||||||
%files fam
|
%files fam
|
||||||
%{_libdir}/gio/modules/libgiofam.so
|
%{_libdir}/gio/modules/libgiofam.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?fedora}
|
|
||||||
%files static
|
%files static
|
||||||
%{_libdir}/libgio-2.0.a
|
%{_libdir}/libgio-2.0.a
|
||||||
%{_libdir}/libglib-2.0.a
|
%{_libdir}/libglib-2.0.a
|
||||||
@ -248,6 +242,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
%{_datadir}/installed-tests
|
%{_datadir}/installed-tests
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 01 2020 Ondrej Holy and Michael Catanzaro <mcatanzaro@redhat.com> - 2.67.0-6
|
||||||
|
- Disable glib2-fam in RHEL
|
||||||
|
|
||||||
* Tue Nov 24 2020 Kalev Lember <klember@redhat.com> - 2.67.0-5
|
* Tue Nov 24 2020 Kalev Lember <klember@redhat.com> - 2.67.0-5
|
||||||
- Backport upstream patches to fix invalid use of volatile objects
|
- Backport upstream patches to fix invalid use of volatile objects
|
||||||
(gcc 11 support)
|
(gcc 11 support)
|
||||||
|
Loading…
Reference in New Issue
Block a user