Bug 8492 - rpmbuild fails on RHEL package due to incorrect lib name in depenendecies.
Summary: rpmbuild fails on RHEL package due to incorrect lib name in depenendecies.
Status: NEW
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Packaging (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 16:32 UTC by Jim Richardson
Modified: 2011-09-27 18:11 UTC (History)
0 users

See Also:


Attachments
patch (635 bytes, patch)
2011-09-27 16:34 UTC, Jim Richardson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Richardson 2011-09-27 16:32:53 UTC
makerpms.git.sh: Getting Ready to build release package
~/rpmbuild/SPECS /pub/Repos/samba/packaging/RHEL
error: Failed build dependencies:
	keyutils-devel is needed by samba-0:3.6.0_GIT_b93eae2_devel-1.src
/pub/Repos/samba/packaging/RHEL



RHEL keyutils dev package is called keyutiles-libs-devel


==== Patch if needed/desired ====




diff --git a/packaging/RHEL/samba.spec.tmpl b/packaging/RHEL/samba.spec.tmpl
index ab10f23..41c729b 100644
--- a/packaging/RHEL/samba.spec.tmpl
+++ b/packaging/RHEL/samba.spec.tmpl
@@ -28,7 +28,7 @@ Provides: samba = %{version}
 
 Prefix: /usr
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, keyutils-devel
+BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, keyutils-libs-devel
 
 # Working around perl dependency problem from docs
 %define __perl_requires %{SOURCE998}
Comment 1 Jim Richardson 2011-09-27 16:34:31 UTC
Created attachment 6953 [details]
patch
Comment 2 Volker Lendecke 2011-09-27 17:19:54 UTC
Simo, you might want to take a look.

Volker
Comment 3 Simo Sorce 2011-09-27 18:11:18 UTC
Re-assigning to Andreas