You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by "khurramlatif91 (via GitHub)" <gi...@apache.org> on 2023/03/08 23:23:39 UTC
[GitHub] [age] khurramlatif91 opened a new pull request, #739: Uploading centos7 spec file for postgress age rpm
khurramlatif91 opened a new pull request, #739:
URL: https://github.com/apache/age/pull/739
Added spec file to create postgress age rpm on centos7
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age] uhayat commented on a diff in pull request #739: Uploading centos7 spec file for postgress age rpm
Posted by "uhayat (via GitHub)" <gi...@apache.org>.
uhayat commented on code in PR #739:
URL: https://github.com/apache/age/pull/739#discussion_r1133040234
##########
centos7.spec:
##########
@@ -0,0 +1,37 @@
+%global pgmajorversion 12
+%global pginstdir /usr/pgsql-%{pgmajorversion}
+
+Summary: Postgres AGE
+Name: postgres-%{pgmajorversion}-age
+Version: 1
+Release: %{dist}
+License: Apache
+Group: Databases
+Url: https://github.com/apache/age.git
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+This package provides extensions for Apache Age
Review Comment:
Add a bit details in description like bellow:
Apache AGE is an extension for PostgreSQL that enables users to leverage a graph database on top of the existing relational databases.
##########
centos7.spec:
##########
@@ -0,0 +1,37 @@
+%global pgmajorversion 12
+%global pginstdir /usr/pgsql-%{pgmajorversion}
+
+Summary: Postgres AGE
+Name: postgres-%{pgmajorversion}-age
+Version: 1
+Release: %{dist}
+License: Apache
+Group: Databases
+Url: https://github.com/apache/age.git
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+This package provides extensions for Apache Age
+
+BuildRequires: gcc glibc glib-common readline readline-devel zlib zlib-devel flex bison
+BuildRequires: centos-release-scl epel-release postgresql%{pgmajorversion} postgresql%{pgmajorversion}-devel
+
+%prep
+%autosetup
+
+%build
+PATH="%{pginstdir}/bin:$PATH"
+export PATH
+make install
+
+%install
+cp -p age.so %{pginstdir}/lib/age.so
+cp -p age--1.1.1.sql %{pginstdir}/share/extension/age--1.1.1.sql
+cp -p age.control %{pginstdir}/share/extension/age.control
+
+%files
+
+%changelog
+* Fri Feb 17 2023 - Khurram Latif <Kh...@agedb.io>
+- Initial packaging for AEP
Review Comment:
Fix type, Use AGE instead of AEP
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age] JoshInnis merged pull request #739: Uploading centos7 spec file for postgress age rpm
Posted by "JoshInnis (via GitHub)" <gi...@apache.org>.
JoshInnis merged PR #739:
URL: https://github.com/apache/age/pull/739
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age] khurramlatif91 commented on a diff in pull request #739: Uploading centos7 spec file for postgress age rpm
Posted by "khurramlatif91 (via GitHub)" <gi...@apache.org>.
khurramlatif91 commented on code in PR #739:
URL: https://github.com/apache/age/pull/739#discussion_r1133050916
##########
centos7.spec:
##########
@@ -0,0 +1,37 @@
+%global pgmajorversion 12
+%global pginstdir /usr/pgsql-%{pgmajorversion}
+
+Summary: Postgres AGE
+Name: postgres-%{pgmajorversion}-age
+Version: 1
+Release: %{dist}
+License: Apache
+Group: Databases
+Url: https://github.com/apache/age.git
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+This package provides extensions for Apache Age
+
+BuildRequires: gcc glibc glib-common readline readline-devel zlib zlib-devel flex bison
+BuildRequires: centos-release-scl epel-release postgresql%{pgmajorversion} postgresql%{pgmajorversion}-devel
+
+%prep
+%autosetup
+
+%build
+PATH="%{pginstdir}/bin:$PATH"
+export PATH
+make install
+
+%install
+cp -p age.so %{pginstdir}/lib/age.so
+cp -p age--1.1.1.sql %{pginstdir}/share/extension/age--1.1.1.sql
+cp -p age.control %{pginstdir}/share/extension/age.control
+
+%files
+
+%changelog
+* Fri Feb 17 2023 - Khurram Latif <Kh...@agedb.io>
+- Initial packaging for AEP
Review Comment:
Updated description and changelog comment as per your suggestion
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org