Spec URL: http://tmz.fedorapeople.org/reviews/pending/cgit/cgit.spec SRPM URL: http://tmz.fedorapeople.org/reviews/pending/cgit/cgit-0.8.1-1.fc10.src.rpm Description: This is an attempt to create a fast web interface for the git scm, using a builtin cache to decrease server io-pressure. In addition to the spec and srpm above, the output of a mock build for F-10 i386 is at: http://tmz.fedorapeople.org/reviews/pending/cgit Potential concerns are that cgit currently requires some git sources to build. Eventually, this will be fixed when libgit2 is ready. Near term, Lars is working upstream to include the needed git files in the cgit tarballs. Another minor issue is package cleanup. The package owns the cache dir, /var/cache/cgit, but it won't know about the files created within that dir. Would a %preun script to delete these files be appropriate?
rpmlint checks out package passes all MUST requirements from review checks Does it REALLY require httpd - or does it only require 'webserver'?
httpd is required for ownership of /etc/httpd/conf.d. If that can be made more generic, I'd be all for it.
The other comment I have from a quick look is that the %define at the top for the make really probably should just be explicitly in the %build section.
From Tibbs: The package shouldn't own this dir: %define scriptdir %{_localstatedir}/www/cgi-bin End from Tibbs. From Me: that is provided by httpd which the pkg already deps on, so it's okay to remove that dir ownership. If you remove the ownership of that dir then this pkg is approved.
(In reply to comment #3) > The other comment I have from a quick look is that the %define at the top for > the make really probably should just be explicitly in the %build section. True, it could be. I had it there to start, but it causes a spurious warning from rpmlint, which I figured could be easily avoided by defining it outside of %build and %prep. Does that cause any harm? And is it uglier there than the rpmlint warning might be?
Thanks for the quick review Seth (and the helpful eyes from Tibbs). I'll fix that ownership up thusly: -%{scriptdir} +%{scriptdir}/* Any concerns about getting the SELinux contexts setup properly before importing the package? I could add some policy to the package, but I couldn't find any guidelines on whether that was preferable to getting the changes into selinux-policy directly. All I found was a draft, which might be old and outdated: http://fedoraproject.org/wiki/PackagingDrafts/SELinux
New Package CVS Request ======================= Package Name: cgit Short Description: A fast webinterface for git Owners: tmz Branches: F-10 F-9 EL-5 InitialCC:
cvs done.
cgit-0.8.2-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing-newkey update cgit'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-1447
cgit-0.8.2-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cgit'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-1473
cgit-0.8.2-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
cgit-0.8.2-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.