Bug 563139
| Summary: | Dependency error in new update in EPEL | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pavel Lisý <pavel.lisy> | ||||
| Component: | vpnc | Assignee: | Richard W.M. Jones <rjones> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | rawhide | CC: | huzaifas, rjones, wtogami | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-02-11 03:54:41 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Pavel Lisý
2010-02-09 10:56:16 UTC
This is the diff that made the change: http://cvs.fedoraproject.org/viewvc/EL-5/vpnc/vpnc.spec?r1=1.19&r2=1.20 * Tue Jan 05 2009 Huzaifa Sidhpurwala <huzaifas> - 0.5.3-4 - Build from F-12 branch see line 23: Requires: upstart iproute you've installed file to vpnc-cleanup /etc/event.d/ What is vpnc-cleanup doing? I'm not familiar with upstart yet, but we will need create another script for EPEL and put it to /etc/init.d and run "chkconfig --add" in %post section in .spec My suggestion to .spec
Requires: iproute
%if "%{dist}" != ".el4" && "%{dist}" != ".el4"
Requires: upstart
%else
Requires(post): chkconfig
%endif
%preun
%if "%{dist}" == ".el4" || "%{dist}" == ".el4"
chkconfig --del vpnc-cleanup
%endif
%post
%if "%{dist}" == ".el4" || "%{dist}" == ".el4"
chkconfig --add vpnc-cleanup
%endif
%install
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
install -m755 vpnc-cleanup-initrc $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/vpnc-cleanup
and you need correct file section too
Created attachment 390117 [details]
script to /etc/init.d
*** This bug has been marked as a duplicate of bug 563194 *** The patch wont work because the vpnc-cleanup script is used by upstart. since EL-5 does not have upstart it has to go. The spec is fixed in cvs now, waiting for koji to come up so that i can build. |