Bug 1468839
| Summary: | cgit requires httpd instead of any webserver | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | defanor |
| Component: | cgit | Assignee: | Todd Zullinger <tmz> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | defanor, extras-qa, kevin, neal.oakey+redhatbugzilla, praiskup, psedlak, tim, tmz |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | cgit-1.1-5.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1138599 | Environment: | |
| Last Closed: | 2017-08-09 15:23:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
defanor
2017-07-08 18:16:23 UTC
Sorry about that, it seems to have gotten messed up in merging somewhere. ;( I'll push a fixed package in a few. cgit-1.1-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-a00c707deb With the latest cgit.spec, it looks like there is no requirement on webserver for epel builds. Is that the desired result? I think that the Requires: webserver should be outside of the %if 0%{?fedora} conditional.
The only difference between fedora and epel is the existence of the httpd-filesystem package on fedora, which is handled by requiring that package on fedora and directly owning%{_sysconfdir}/httpd{,/conf.d} on epel.
E.g.:
diff --git i/cgit.spec w/cgit.spec
index 4b001b8..0e1ae46 100644
--- i/cgit.spec
+++ w/cgit.spec
@@ -73,8 +73,8 @@ BuildRequires: lua-devel
%if 0%{?fedora}
# just to be able to install httpd configuration correctly, FC21+
Requires: httpd-filesystem
-Requires: webserver
%endif
+Requires: webserver
%description
Ugh yes, that was my intention. ;( You want to go ahead and push that to master and epel7? (not that it changes master any, but I like to keep master updated and merge back from it) Sure. I'll do that right now... cgit-1.1-5.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-c089298a4c cgit-1.1-5.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-c089298a4c cgit-1.1-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |