Bug 1132671
| Summary: | Review Request: rubygem-compass-import-once - Ruby Module to speed up Sass compilation | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mo Morsi <mmorsi> |
| Component: | Package Review | Assignee: | Vít Ondruch <vondruch> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | package-review, vondruch |
| Target Milestone: | --- | Flags: | vondruch:
fedora-review+
gwync: fedora-cvs+ |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-compass-import-once-1.0.5-4.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-15 02:57:13 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1152676 | ||
|
Description
Mo Morsi
2014-08-21 19:31:44 UTC
I'll take this for a review. I hope the correct SRPM url is https://mmorsi.fedorapeople.org/staging/rubygem-compass-import-once-1.0.5-1.fc20.src.rpm , since the one you provided does not work ... * The .spec differences
- The .spec file you posted differs from the one included in SRPM. It is just
small difference in you name in %changelog, so no big deal.
* Update to the latest guidelines
- The .spec file looks to be generated by old gem2rpm and does not conform
to the latest Ruby packaging guidelines. Please remove the Requires, which
are now autogenerated and Provides.
* Test suite is not executed.
- Please execute the test suite.
- Although it is not shipped with the gem, it is available upstream [1].
* Move VERSION file into the main package
- It seems to be runtime dependency. It is read by
lib/compass/import-once/version.rb
[1] https://github.com/Compass/compass/tree/stable/import-once/test
Yes regarding the URL, copy-n-paste err. Updated: Spec: https://mmorsi.fedorapeople.org/staging/rubygem-compass-import-once.spec SRPM: https://mmorsi.fedorapeople.org/staging/rubygem-compass-import-once-1.0.5-2.fc20.src.rpm Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=7476134 Incorporated feedback. Same note about test suite / minitest5 compatibility as w/ compass-core Updated Spec: https://mmorsi.fedorapeople.org/staging/rubygem-compass-import-once.spec SRPM: https://mmorsi.fedorapeople.org/staging/rubygem-compass-import-once-1.0.5-3.fc20.src.rpm Unfortunately there is only one test module in this one and it depends on sass-globbing which currently is awaiting a license clarification: https://github.com/chriseppstein/sass-globbing/issues/24 Shouldn't be a blocker, verified test ran when sass-globbing was installed manually locally, commented test out, will uncomment when that makes it in. * The spec file differs from SRPM
- There is BR: rubygem(sass-globbing) enabled in SRPM while disabled in the
.spec you provided. The latter seems to be what you probably wanted.
* Test suite
- It seems that
sed -i '/sass-globbing/ s/^/#/' test/test_helper.rb
mv test/fixtures/with_globbing.scss{,.disable}
Should be enough to execute the test suite without sass-globbing.
* Patching using %patch0 macro
- I'd suggest to apply the patch using "%patch0 -p1" in %prep section instead
of the %build section.
Otherwise, the package looks good => APPROVED
Thanks, incorporated all feedback. Spec: https://mmorsi.fedorapeople.org/staging/rubygem-compass-import-once.spec SRPM: https://mmorsi.fedorapeople.org/staging/rubygem-compass-import-once-1.0.5-4.fc20.src.rpm Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=8532668 New Package SCM Request ======================= Package Name: rubygem-compass-import-once Short Description: The Compass Stylesheet Library Import Once Plugin Upstream URL: http://rubygems.org/gems/compass-import-once Owners: mmorsi Branches: f20 f21 InitialCC: Git done (by process-git-requests). rubygem-compass-import-once-1.0.5-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/rubygem-compass-import-once-1.0.5-4.fc21 rubygem-compass-import-once-1.0.5-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/rubygem-compass-import-once-1.0.5-4.fc20 rubygem-compass-import-once-1.0.5-4.fc20 has been pushed to the Fedora 20 testing repository. rubygem-compass-import-once-1.0.5-4.fc21 has been pushed to the Fedora 21 stable repository. rubygem-compass-import-once-1.0.5-4.fc20 has been pushed to the Fedora 20 stable repository. |