Update RPM README

This commit is contained in:
Clément Oudot 2017-09-01 13:51:34 +00:00
parent 236e24a041
commit 47ce0c3b13
1 changed files with 5 additions and 3 deletions

View File

@ -21,11 +21,13 @@ This RPM can be built for several distribution like RedHat, CentOS, Fedora, Open
The YUM repository is hosted on http://lemonldap-ng.org/rpm7
First copy RPM files (they must be signed!) and source RPM:
$ scp *.noarch.rpm lemonldapng@lemonldap-ng.org:rpm7/noarch/
$ scp *.src.rpm lemonldapng@lemonldap-ng.org:rpm7/SRPMS/
$ scp *.noarch.rpm lemonldapng@lemonldap-ng.org:redhat/2.0/7/noarch/
$ scp *.src.rpm lemonldapng@lemonldap-ng.org:redhat/2.0/7/SRPMS/
Then connect on server and launch repodata:
$ ssh lemonldapng@lemonldap-ng.org
lemonldapng@lemonldap-ng.org$ createrepo rpm7/
lemonldapng@lemonldap-ng.org$ cd redhat/2.0/7/
lemonldapng@lemonldap-ng.org$ createrepo noarch
lemonldapng@lemonldap-ng.org$ createrepo SRPMS
That's all!