.spec in srpm miss libtool as BuildRequires entry

Bug #1316499 reported by Frederic Descamps
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.1
Invalid
Undecided
Unassigned
5.5
Triaged
Medium
Unassigned
5.6
Triaged
Medium
Unassigned
5.7
Triaged
Medium
Unassigned

Bug Description

on a clean environment, if you want to make the rpm from the spec in the source package, the build will fail because libtoolize is missing. libtool is required to build the package.

Just add libtool as BuildRequires in percona-server.spec:

-BuildRequires: %{distro_buildreq} pam-devel openssl-devel
+BuildRequires: %{distro_buildreq} pam-devel openssl-devel libtool

Tags: pkg
summary: - .spec in srpm miss libtool as BuildRequire entry
+ .spec in srpm miss libtool as BuildRequires entry
tags: added: pkg
Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

Both versions 5.5 and 5.6 are affected:

[openxs@chief percona-5.6]$ grep BuildRequires build-ps/percona-server.spec
BuildRequires: %{distro_buildreq} pam-devel openssl-devel
- replaced obsoleted "BuildPrereq" with "BuildRequires" instead
[openxs@chief percona-5.6]$ grep BuildRequires ../percona-5.5/build-ps/percona-server.spec
BuildRequires: %{distro_buildreq} pam-devel openssl-devel
- replaced obsoleted "BuildPrereq" with "BuildRequires" instead

This is how it looks in 5.1:

[openxs@chief percona-5.6]$ grep BuildRequires ../percona-5.1/build/percona-server.spec
BuildRequires: gperf perl gcc-c++ ncurses-devel zlib-devel libtool automake autoconf time bison
- replaced obsoleted "BuildPrereq" with "BuildRequires" instead

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1499

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.