Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rongfengliang/pg-extension-rpm-package

pg-extension-rpm-package
https://github.com/rongfengliang/pg-extension-rpm-package

postgresql postgresql-extension rpm-packages rpmbuild

Last synced: 14 days ago
JSON representation

pg-extension-rpm-package

Awesome Lists containing this project

README

        

# demo pg extension with rpm pacakge

## how to running

* install rpm tools

> for centos os

```code
yum install -y rpm-build rpmdevtools

```

* init setuptree

> with rpmdev-setuptree

```code
rpmdev-setuptree
```

* copy specs file for package

```code

copy nvl-pg-extension.spec to ~/rpmbuild/SPECS
```

* download source code

```code
spectool -g -R ~/rpmbuild/SPECS/nvl-pg-extension.spec

```

* build rpm pacakge

```code
rpmbuild -bb ~/rpmbuild/SPECS/nvl-pg-extension.spec

```