Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 115813 - .spec file omissions
Summary: .spec file omissions
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: FC2Target FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-02-16 12:12 UTC by Ivan
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-15 12:43:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ivan 2004-02-16 12:12:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6)
Gecko/20040206 Firefox/0.8

Description of problem:
Bug 1
Remove (rpm -e) libselinux-devel and build (rpmbuild -bb) openssh.
You'll find rpmbuild will start and later bombs out bec libselinux is
not found. Should add "BuildPreReq: libselinux-devel" in .spec file.

Bug 2
Disable gnome_askpass by "%define no_gnome_askpass 0" and build
(rpmbuild -bb) openssh. It'll stop near the end, complaining abt
missing  gnome-ssh-askpass.*. Should add "%if ! %{no_gnome_askpass}"
conditional around said files.

Version-Release number of selected component (if applicable):
openssh-3.6.1p2-27

How reproducible:
Always

Steps to Reproduce:
1. rpm -e libselinux-devel
2. rpmbuild -bb openssh.spec


Additional info:

# diff -Naur openssh-3.6.1p2-27.spec.orig openssh-3.6.1p2-27.spec
--- openssh-3.6.1p2-27.spec.orig        2004-02-16 20:05:31.000000000
+0800
+++ openssh-3.6.1p2-27.spec     2004-02-16 20:08:37.000000000 +0800
@@ -121,6 +121,7 @@
 BuildPreReq: gtk2-devel
 %endif
 BuildPreReq: openssl-devel, perl, sharutils, tcp_wrappers, zlib-devel
+BuildPreReq: libselinux-devel
 BuildPreReq: /bin/login
 
 %if %{build6x}
@@ -356,8 +357,10 @@
 %endif
 
 install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
+%if ! %{no_gnome_askpass}
 install -m 755 contrib/redhat/gnome-ssh-askpass.csh
$RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
 install -m 755 contrib/redhat/gnome-ssh-askpass.sh
$RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
+%endif
 
 perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/*

Comment 1 Karsten Hopp 2004-09-15 12:43:41 UTC
fixed in the current version 


Note You need to log in before you can comment on or make changes to this bug.