-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
90 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
"name": "plpgsql_check", | ||
"abstract": "Additional tools for plpgsql functions validation", | ||
"description": "The plpgsql_check is PostgreSQL extension with functionality for direct or indirect extra validation of functions in plpgsql language. It verifies a validity of SQL identifiers used in plpgsql code. It try to identify a performance issues.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"maintainer": "Pavel STEHULE <[email protected]>", | ||
"license": "bsd", | ||
"provides": { | ||
"plpgsql_check": { | ||
"abstract": "Additional tools for plpgsql functions validation", | ||
"file": "sql/plpgsql_check_active.sql", | ||
"docfile": "README.md", | ||
"version": "1.0.1" | ||
"version": "1.0.2" | ||
} | ||
}, | ||
"prereqs": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,14 @@ | |
%global sname plpgsql_check | ||
|
||
Name: %{sname}_%{pgmajorversion} | ||
Version: 0.9.3 | ||
Release: 1%{?dist} | ||
Version: 1.0.2 | ||
Release: 2%{?dist} | ||
Summary: Additional tools for plpgsql functions validation | ||
|
||
Group: Applications/Databases | ||
License: BSD | ||
URL: https://github.com/okbob/plpgsql_check/archive/v0.9.3.zip | ||
Source0: plpgsql_check-0.9.3.zip | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.2.zip | ||
Source0: plpgsql_check-1.0.2.zip | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
|
||
BuildRequires: postgresql%{pgmajorversion}-devel | ||
|
@@ -23,7 +23,7 @@ a validity of SQL identifiers used in plpgsql code. It try to identify | |
a performance issues. | ||
|
||
%prep | ||
%setup -q -n %{sname}-0.9.3 | ||
%setup -q -n %{sname}-1.0.2 | ||
|
||
|
||
%build | ||
|
@@ -43,11 +43,14 @@ rm -rf %{buildroot} | |
%defattr(644,root,root,755) | ||
%doc README.md | ||
%{pginstdir}/lib/plpgsql_check.so | ||
%{pginstdir}/share/extension/plpgsql_check--0.9.sql | ||
%{pginstdir}/share/extension/plpgsql_check--1.0.sql | ||
%{pginstdir}/share/extension/plpgsql_check.control | ||
|
||
|
||
%changelog | ||
* Thu Jul 09 2015 - Pavel STEHULE <[email protected]> 1.0.2-2 | ||
- bugfix release | ||
|
||
* Fri Dec 19 2014 - Pavel STEHULE <[email protected]> 0.9.3-1 | ||
- fix a broken record field type checking | ||
- add check for assign to array field | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,14 @@ | |
%global sname plpgsql_check | ||
|
||
Name: %{sname}_%{pgmajorversion} | ||
Version: 0.9.3 | ||
Release: 1%{?dist} | ||
Version: 1.0.2 | ||
Release: 2%{?dist} | ||
Summary: Additional tools for plpgsql functions validation | ||
|
||
Group: Applications/Databases | ||
License: BSD | ||
URL: https://github.com/okbob/plpgsql_check/archive/v0.9.3.zip | ||
Source0: plpgsql_check-0.9.3.zip | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.2.zip | ||
Source0: plpgsql_check-1.0.2.zip | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
|
||
BuildRequires: postgresql%{pgmajorversion}-devel | ||
|
@@ -23,7 +23,7 @@ a validity of SQL identifiers used in plpgsql code. It try to identify | |
a performance issues. | ||
|
||
%prep | ||
%setup -q -n %{sname}-0.9.3 | ||
%setup -q -n %{sname}-1.0.2 | ||
|
||
|
||
%build | ||
|
@@ -43,11 +43,14 @@ rm -rf %{buildroot} | |
%defattr(644,root,root,755) | ||
%doc README.md | ||
%{pginstdir}/lib/plpgsql_check.so | ||
%{pginstdir}/share/extension/plpgsql_check--0.9.sql | ||
%{pginstdir}/share/extension/plpgsql_check--1.0.sql | ||
%{pginstdir}/share/extension/plpgsql_check.control | ||
|
||
|
||
%changelog | ||
* Thu Jul 09 2015 - Pavel STEHULE <[email protected]> 1.0.2-2 | ||
- bugfix release | ||
|
||
* Fri Dec 19 2014 - Pavel STEHULE <[email protected]> 0.9.3-1 | ||
- fix a broken record field type checking | ||
- add check for assign to array field | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,14 @@ | |
%global sname plpgsql_check | ||
|
||
Name: %{sname}_%{pgmajorversion} | ||
Version: 0.9.3 | ||
Release: 1%{?dist} | ||
Version: 1.0.2 | ||
Release: 2%{?dist} | ||
Summary: Additional tools for plpgsql functions validation | ||
|
||
Group: Applications/Databases | ||
License: BSD | ||
URL: https://github.com/okbob/plpgsql_check/archive/v0.9.3.zip | ||
Source0: plpgsql_check-0.9.3.zip | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.2.zip | ||
Source0: plpgsql_check-1.0.2.zip | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
|
||
BuildRequires: postgresql%{pgmajorversion}-devel | ||
|
@@ -23,7 +23,7 @@ a validity of SQL identifiers used in plpgsql code. It try to identify | |
a performance issues. | ||
|
||
%prep | ||
%setup -q -n %{sname}-0.9.3 | ||
%setup -q -n %{sname}-1.0.2 | ||
|
||
|
||
%build | ||
|
@@ -43,11 +43,14 @@ rm -rf %{buildroot} | |
%defattr(644,root,root,755) | ||
%doc README.md | ||
%{pginstdir}/lib/plpgsql_check.so | ||
%{pginstdir}/share/extension/plpgsql_check--0.9.sql | ||
%{pginstdir}/share/extension/plpgsql_check--1.0.sql | ||
%{pginstdir}/share/extension/plpgsql_check.control | ||
|
||
|
||
%changelog | ||
* Thu Jul 09 2015 - Pavel STEHULE <[email protected]> 1.0.2-2 | ||
- bugfix release | ||
|
||
* Fri Dec 19 2014 - Pavel STEHULE <[email protected]> 0.9.3-1 | ||
- fix a broken record field type checking | ||
- add check for assign to array field | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
%global pgmajorversion 95 | ||
%global pginstdir /usr/pgsql-9.5 | ||
%global sname plpgsql_check | ||
|
||
Name: %{sname}_%{pgmajorversion} | ||
Version: 1.0.2 | ||
Release: 2%{?dist} | ||
Summary: Additional tools for plpgsql functions validation | ||
|
||
Group: Applications/Databases | ||
License: BSD | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.2.zip | ||
Source0: plpgsql_check-1.0.2.zip | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
|
||
BuildRequires: postgresql%{pgmajorversion}-devel | ||
Requires: postgresql%{pgmajorversion} | ||
|
||
%description | ||
The plpgsql_check is PostgreSQL extension with functionality for direct | ||
or indirect extra validation of functions in plpgsql language. It verifies | ||
a validity of SQL identifiers used in plpgsql code. It try to identify | ||
a performance issues. | ||
|
||
%prep | ||
%setup -q -n %{sname}-1.0.2 | ||
|
||
|
||
%build | ||
PATH="%{pginstdir}/bin;$PATH" ; export PATH | ||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS | ||
|
||
USE_PGXS=1 make %{?_smp_mflags} | ||
|
||
%install | ||
rm -rf %{buildroot} | ||
make USE_PGXS=1 DESTDIR=%{buildroot} install | ||
|
||
%clean | ||
rm -rf %{buildroot} | ||
|
||
%files | ||
%defattr(644,root,root,755) | ||
%doc README.md | ||
%{pginstdir}/lib/plpgsql_check.so | ||
%{pginstdir}/share/extension/plpgsql_check--1.0.sql | ||
%{pginstdir}/share/extension/plpgsql_check.control | ||
|
||
|
||
%changelog | ||
* Thu Jul 09 2015 - Pavel STEHULE <[email protected]> 1.0.2-2 | ||
- bugfix release | ||
|
||
* Fri Dec 19 2014 - Pavel STEHULE <[email protected]> 0.9.3-1 | ||
- fix a broken record field type checking | ||
- add check for assign to array field | ||
|
||
* Mon Aug 25 2014 - Pavel STEHULE <[email protected]> 0.9.1-1 | ||
- Initial packaging |