Bug 250150
| Summary: | Review Request: rarian - a replacement for scrollkeeper | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matthew Barnes <mbarnes> |
| Component: | Package Review | Assignee: | Matthias Clasen <mclasen> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | bbbush.yuan, fedora-package-review, mclasen, nobody, notting, rstrode |
| Target Milestone: | --- | Flags: | mclasen:
fedora-review+
kevin: fedora-cvs+ |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rarian-0.5.6-2.fc8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-08-02 17:44:50 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: | |||
|
Description
Matthew Barnes
2007-07-30 18:22:27 UTC
Trivia: - please use a full source url - devel package needs to require pkgconfig - compat needs to Requires(post): rarian, I think - mock build fails with make[3]: Entering directory `/builddir/build/BUILD/rarian-0.5.4/util' Moving Files if needed mkdir: cannot create directory `/var/lib/rarian': Permission denied make[3]: *** [install-exec-hook] Error 1 I guess there is some DESTDIR missing somewhere Posted an update with your suggestions. SRPM URL: http://baloo.boston.redhat.com/~mbarnes/rarian/rarian-0.5.4-2.fc7.src.rpm Still investigating what's causing the mock failure. Updated to 0.5.6. This one builds successfully in mock. SRPM URL: http://baloo.boston.redhat.com/~mbarnes/rarian/rarian-0.5.6-1.fc7.src.rpm rpmlint output:
[mclasen@dhcp83-186 Desktop]$ rpmlint rarian-0.5.6-1.fc8.i386.rpm
E: rarian zero-length /usr/share/doc/rarian-0.5.6/AUTHORS
This one should be fixed upstream, I guess. I poked Don.
E: rarian explicit-lib-dependency libxslt
This is ok, because it is actually requiring /usr/bin/xsltproc here
Might want to add a comment next to the Requires: to explain that
W: rarian obsolete-not-provided scrollkeeper
I think the way you handle the Obsoletes/Provides here makes sense.
rpmlint rarian-devel-0.5.6-1.fc8.i386.rpm
W: rarian-devel no-documentation
Ignorable
rpmlint rarian-compat-0.5.6-1.fc8.i386.rpm
W: rarian-compat no-documentation
Ignorable
W: rarian-compat devel-file-in-non-devel-package /usr/bin/rarian-sk-config
rpmlint is just wrong here
W: rarian-compat one-line-command-in-%post /usr/bin/rarian-sk-update
I think that is fine, and using -p here would be pretty odd
Detailed review:
package name: ok
spec file name: ok
packaging guidelines: ok
license: ok
license field:
- I think the -compat package should have a License: GPL,
since the utils are GPL, not LGPL
- if you want to preemptively adopt the new license field rules, the
license tags should be LGPLv2+ and GPLv2+, respectively
license file: should include COPYING.LIB and COPYING.UTILS
spec language: ok
spec legibility: ok
upstream sources: ok
buildable: ok
excludearch: n/a
build deps: ok
ldconfig: ok
relocatable: n/a
directory ownership: ok
file list dupes: ok
file permissions: ok
%clean: ok
macro use: ok
content: permissible
large docs: n/a
%doc: ok
headers: ok
static libs: n/a
pc files: ok
shared lib symlinks: ok
devel package: ok
la files: ok
gui apps: n/a
file ownership: ok
%install ok
utf8 filenames: ok
(In reply to comment #4) > E: rarian explicit-lib-dependency libxslt > > This is ok, because it is actually requiring /usr/bin/xsltproc here > Might want to add a comment next to the Requires: to explain that I figured rpmlint was just getting confused by the fact that the package itself is named like a library. Added a comment just the same. Updated SRPM: http://baloo.boston.redhat.com/~mbarnes/rarian/rarian-0.5.6-2.fc7.src.rpm looking fine now. Approved. New Package CVS Request ======================= Package Name: rarian Short Description: a documentation meta-data library, replaces scrollkeeper Owners: mbarnes Branches: (just devel) InitialCC: mclasen cvs done. Cool, thanks Kevin. I guess we can close this now. The obsoletes in this aren't going to work right. As it stands, rarian will obsolete rarian-compat because of the Provides. What you probably want is: rarian: Obsoletes: scrollkeeper <= (last scrollkeeper release) rarian-compat: Provides: scrollkeeper = <some random # higher than last scrollkeeper release> That makes sense. Should be fixed in rarian-0.5.6-3.fc8. Still not fixed: [root@mstar packages]# rpm -Uvh rarian-0.5.6-3.fc8.i386.rpm --nodeps Preparing... ########################################### [100%] 1:rarian ########################################### [100%] [root@mstar packages]# rpm -q --provides rarian librarian.so.0 rarian = 0.5.6-3.fc8 @_@ /me just found that rarian-compat is another package but yum install rarian will not bring in rarian-compat thus fails. yum-3.2.2-3.fc8 *** Bug 226401 has been marked as a duplicate of this bug. *** |