[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: File mongo-c-driver.spec    

 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 apologize if I have not submitted this patch correctly, but git is totally new for me.

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: CDRIVER-1217 package-manager install steps
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/c8a9902fc58dbf63a6e3f7c8dbfc2e0cbedbc9d0

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: CDRIVER-1217 remove spec files

Remi Collet's third-party RPM packaging for libbson and libmongoc is
published and high-quality.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/d51678c5879ff9a57c973ed9d3fdedd1158e64fd

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: CDRIVER-1217 package-manager install steps
Branch: master
https://github.com/mongodb/libbson/commit/cffbfb9b2e6f0ce8bcfad4e4084d1749bc46765a

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: CDRIVER-1217 remove spec files

Remi Collet's third-party RPM packaging for libbson and libmongoc is
published and high-quality.
Branch: master
https://github.com/mongodb/libbson/commit/16e44c6a2aaa22b95bc25a5a1ca89a0e54ca2fb7

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.

Generated at Wed Feb 07 21:11:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.