Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
maint: spec: use pkgconfig for glib-2.0
...as this is the only reference configure script uses.

References:
http://rpm.org/gitweb?p=rpm.git;a=commit;h=6c4b0fc (~2007)
  • Loading branch information
jnpkrn committed Apr 11, 2016
commit ceec5c267c46d01a5fc7b498c7637f10bc885b06
6 changes: 5 additions & 1 deletion booth.spec
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: asciidoc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pkgconfig
%if 0%{?suse_version}
BuildRequires: glib2-devel
%else
BuildRequires: pkgconfig(glib-2.0)
%fi

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be %endif, right?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On 18/04/16 08:21 -0700, Dejan Muhamedagic wrote:

BuildRequires: glib2-devel
+%else
+BuildRequires: pkgconfig(glib-2.0)
+%fi

This should be %endif, right?

Right, thanks for noticing.
(I blame vim highlighter for showing "%if" the same way as "%fi").

Jan (Poki)

BuildRequires: libgcrypt-devel
%if 0%{?fedora} || 0%{?centos} || 0%{?rhel}
BuildRequires: cluster-glue-libs-devel
Expand All @@ -50,7 +55,6 @@ BuildRequires: libglue-devel
BuildRequires: libpacemaker-devel
%endif
BuildRequires: libxml2-devel
BuildRequires: pkgconfig
%if 0%{?fedora} || 0%{?centos} || 0%{?rhel}
Requires: pacemaker >= 1.1.8
Requires: cluster-glue-libs >= 1.0.6
Expand Down