[CDRIVER-883] Add rpm spec file Created: 28/Sep/15  Updated: 03/May/17  Resolved: 03/Dec/15

Status: Closed
Project: C Driver
Component/s: Build, libmongoc
Affects Version/s: 1.2-beta1
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Jesper Friis Assignee: A. Jesse Jiryu Davis
Resolution: Won't Fix Votes: 0
Labels: pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RPM-based Linux distributions


Attachments: File mongo-c-driver.spec    
Issue Links:
Related
is related to CDRIVER-864 Packages for libbson and libmongoc (D... Closed
Backwards Compatibility: Fully Compatible

 Description   

Attached is a RPM spec file tested under Fedora 20. Adding this file to the root of will make it easy for developers to create binary distributions of the mongo-c-driver for RPM-based distributions.



 Comments   
Comment by A. Jesse Jiryu Davis [ 03/Dec/15 ]

Thanks very much for the contribution, but I'm sorry to say that I don't think we should take it. Remi Collet actively maintains RPMs for libbson and libmongoc:

http://rpms.remirepo.net/fedora/20/remi/x86_64/repoview/mongo-c-driver-devel.html

We're not going to duplicate his effort.

Comment by Jesper Friis [ 29/Sep/15 ]

It is probably incorrectly named. I just named it after the git repository, but it should actually be the project name. I guess that libmongoc.spec would be more correct. If so, then the line with the "Name" tag in the spec file should also be changed to:

Name: libmongoc

Regards
/Jesper

Comment by Hannes Magnusson [ 28/Sep/15 ]

We already have https://github.com/mongodb/mongo-c-driver/blob/master/build/rpm/mongo-c-driver.spec

I'm not entirely familiar with spec files, is there a particular need for another one or is it incorrectly named?

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