I want to install CouchDB from Apache repository. I need to add the repository and CouchDB website http://docs.couchdb.org/en/latest/in...age-repository has instructions for yum:

RedHat/RHEL: Place the following text into /etc/yum.repos.d/bintray-apache-couchdb-rpm.repo. Be sure to replace the 7 below with 6 if you are on a EL6 distribution:

[bintray--apache-couchdb-rpm]
name=bintray--apache-couchdb-rpm
baseurl=http://apache.bintray.com/couchdb-rpm/el7/$basearch/
gpgcheck=0
repo_gpgcheck=0
enabled=1
How do I do this with dnf?