diff --git a/glib2.spec b/glib2.spec index 27772fc..782ae97 100644 --- a/glib2.spec +++ b/glib2.spec @@ -4,7 +4,7 @@ Summary: A library of handy utility functions Name: glib2 # git snapshot to work around https://bugzilla.gnome.org/show_bug.cgi?id=762637 Version: 2.48.0 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtk.org @@ -15,6 +15,7 @@ BuildRequires: pkgconfig BuildRequires: gettext BuildRequires: libattr-devel BuildRequires: libselinux-devel +BuildRequires: pkgconfig(libpcre) # for sys/inotify.h BuildRequires: glibc-devel BuildRequires: zlib-devel @@ -88,6 +89,7 @@ the functionality of the installed glib2 package. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; %configure $CONFIGFLAGS \ --with-python=/usr/bin/python \ + --with-pcre=system \ --enable-systemtap \ --enable-static \ --enable-installed-tests @@ -229,6 +231,11 @@ chmod 644 $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/* %{_datadir}/installed-tests %changelog +* Wed Apr 06 2016 Colin Walters - 2.48.0-2 +- Explicitly require system pcre, though we happened to default to this now + anyways due to something else pulling PCRE into the buildroot + Closes rhbz#1287266 + * Tue Mar 22 2016 Kalev Lember - 2.48.0-1 - Update to 2.48.0