Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 115813 - .spec file omissions
.spec file omissions
Product: Fedora
Classification: Fedora
Component: openssh (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Nalin Dahyabhai
Brian Brock
: EasyFix, Patch
Depends On:
Blocks: FC2Target FC3Target
  Show dependency treegraph
Reported: 2004-02-16 07:12 EST by Ivan
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-15 08:43:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ivan 2004-02-16 07:12:56 EST
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):

How reproducible:

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
+++ openssh-3.6.1p2-27.spec     2004-02-16 20:08:37.000000000 +0800
@@ -121,6 +121,7 @@
 BuildPreReq: gtk2-devel
 BuildPreReq: openssl-devel, perl, sharutils, tcp_wrappers, zlib-devel
+BuildPreReq: libselinux-devel
 BuildPreReq: /bin/login
 %if %{build6x}
@@ -356,8 +357,10 @@
 install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
+%if ! %{no_gnome_askpass}
 install -m 755 contrib/redhat/gnome-ssh-askpass.csh
 install -m 755 contrib/redhat/gnome-ssh-askpass.sh
 perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/*
Comment 1 Karsten Hopp 2004-09-15 08:43:41 EDT
fixed in the current version 

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