[CDRIVER-1217] Remove RPM specfiles from libbson and mongo-c-driver repos Created: 30/Apr/16 Updated: 10/Aug/16 Resolved: 02/May/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | Build, packaging |
| Affects Version/s: | 1.3.3, 1.3.4, 1.3.5 |
| Fix Version/s: | 1.4.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Burn Alting | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | rpm | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Centos/RHEL 6 and 7 |
||
| Attachments: |
|
| Description |
|
The current mongo-c-driver/build/rpm/mongo-c-driver.spec fails to build on either Centos 6.7 or Centos 7.2. There are mistakes in the %changelog information and the documentation (manuals) are not fully specified, hence rpmbuild fails. I have attached a spec file I have tested on centos 6.7 and 7.2 on CDRIVER versions 1.3.3, 1.3.4 and 1.3.5. The spec file also documents how to build the rpms. I hope you consider this update for inclusion in the driver. I have only tested back to 1.3.3. |
| Comments |
| Comment by Githook User [ 02/May/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |
| Comment by Githook User [ 02/May/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Remi Collet's third-party RPM packaging for libbson and libmongoc is |
| Comment by Githook User [ 02/May/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |
| Comment by Githook User [ 02/May/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Remi Collet's third-party RPM packaging for libbson and libmongoc is |
| Comment by A. Jesse Jiryu Davis [ 01/May/16 ] |
|
Good idea. |
| Comment by Burn Alting [ 30/Apr/16 ] |
|
No problems. Perhaps as well as removing the spec file from the source tree, you could also place a comment on the 'Installing the MongoDB C Driver' page - http://api.mongodb.org/c/current/installing.html#installing-unix about known and endorsed package repositories (i.e. Remi's). |
| Comment by A. Jesse Jiryu Davis [ 30/Apr/16 ] |
|
Thanks for contributing; I'm sorry you went to this trouble. We should've removed the specfiles once Remi Collet expertly created his own RPM for libbson and libmongoc: https://www.rpmfind.net/linux/rpm2html/search.php?query=pkgconfig(libmongoc-1.0) Please use those RPMs. |