Blob Blame History Raw
Name:		pg-semver
Version:	0.5.0
Release:	2%{?dist}
Summary:	A semantic version data type for PostgreSQL
License:	PostgreSQL
Group:		Applications/Databases
BuildRequires:	postgresql-devel
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
Requires:	postgresql-server(:MODULE_COMPAT_%{postgresql_major})
Requires:	postgresql-server

PostgreSQL server extension implementing data type called "semver".
It's an implementation of the version number format specified by the
Semantic Versioning Specification.

%setup -q -n semver-%{version}

make %{?_smp_mflags} CFLAGS="%{optflags}"

make %{?_smp_mflags} DESTDIR=%{buildroot} install
# remove misplaced documentation file, added via doc
rm -f %{buildroot}%{_docdir}/pgsql/extension/semver.mmd


%if 0%{?rhel} && 0%{?rhel} < 7
%global extdir contrib
%global extdir extension

%doc LICENSE doc/semver.mmd

* Mon Jan 05 2015 Richard Marko <> - 0.5.0-2
- Fix issues found by review

* Tue Dec 09 2014 Richard Marko <> - 0.5.0-1
- Initial packaging.