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/11 08:06:30 UTC

[GitHub] [age] khurramlatif91 commented on a diff in pull request #739: Uploading centos7 spec file for postgress age rpm

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