-
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.
some cleaning for 1.0.5, spec file for PG10
- Loading branch information
Showing
6 changed files
with
104 additions
and
20 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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
%global pgmajorversion 10 | ||
%global pginstdir /usr/pgsql-10 | ||
%global sname plpgsql_check | ||
|
||
Name: %{sname}_%{pgmajorversion} | ||
Version: 1.0.5 | ||
Release: 1%{?dist} | ||
Summary: Additional tools for plpgsql functions validation | ||
|
||
Group: Applications/Databases | ||
License: BSD | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.5.zip | ||
Source0: plpgsql_check-1.0.5.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.5 | ||
|
||
|
||
%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 Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1 | ||
- minor fixes, support for PostgreSQL 10 | ||
|
||
* Fri Apr 15 2016 - Pavel STEHULE <[email protected]> 1.0.4-1 | ||
- support for PostgreSQL 9.6 | ||
|
||
* Mon Oct 12 2015 - Pavel STEHULE <[email protected]> 1.0.3-1 | ||
- fix false alarms of unused cursor variables | ||
- fix regress tests | ||
|
||
* 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 |
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: 1.0.4 | ||
Version: 1.0.5 | ||
Release: 1%{?dist} | ||
Summary: Additional tools for plpgsql functions validation | ||
|
||
Group: Applications/Databases | ||
License: BSD | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.4.zip | ||
Source0: plpgsql_check-1.0.4.zip | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.5.zip | ||
Source0: plpgsql_check-1.0.5.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}-1.0.4 | ||
%setup -q -n %{sname}-1.0.5 | ||
|
||
|
||
%build | ||
|
@@ -48,6 +48,9 @@ rm -rf %{buildroot} | |
|
||
|
||
%changelog | ||
* Thu Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1 | ||
- minor fixes, support for PostgreSQL 10 | ||
|
||
* Fri Apr 15 2016 - Pavel STEHULE <[email protected]> 1.0.4-1 | ||
- support for PostgreSQL 9.6 | ||
|
||
|
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: 1.0.4 | ||
Version: 1.0.5 | ||
Release: 1%{?dist} | ||
Summary: Additional tools for plpgsql functions validation | ||
|
||
Group: Applications/Databases | ||
License: BSD | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.4.zip | ||
Source0: plpgsql_check-1.0.4.zip | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.5.zip | ||
Source0: plpgsql_check-1.0.5.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}-1.0.4 | ||
%setup -q -n %{sname}-1.0.5 | ||
|
||
|
||
%build | ||
|
@@ -48,6 +48,9 @@ rm -rf %{buildroot} | |
|
||
|
||
%changelog | ||
* Thu Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1 | ||
- minor fixes, support for PostgreSQL 10 | ||
|
||
* Fri Apr 15 2016 - Pavel STEHULE <[email protected]> 1.0.4-1 | ||
- support for PostgreSQL 9.6 | ||
|
||
|
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: 1.0.4 | ||
Version: 1.0.5 | ||
Release: 1%{?dist} | ||
Summary: Additional tools for plpgsql functions validation | ||
|
||
Group: Applications/Databases | ||
License: BSD | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.4.zip | ||
Source0: plpgsql_check-1.0.4.zip | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.5.zip | ||
Source0: plpgsql_check-1.0.5.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}-1.0.4 | ||
%setup -q -n %{sname}-1.0.5 | ||
|
||
|
||
%build | ||
|
@@ -48,6 +48,9 @@ rm -rf %{buildroot} | |
|
||
|
||
%changelog | ||
* Thu Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1 | ||
- minor fixes, support for PostgreSQL 10 | ||
|
||
* Fri Apr 15 2016 - Pavel STEHULE <[email protected]> 1.0.4-1 | ||
- support for PostgreSQL 9.6 | ||
|
||
|
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: 1.0.4 | ||
Version: 1.0.5 | ||
Release: 1%{?dist} | ||
Summary: Additional tools for plpgsql functions validation | ||
|
||
Group: Applications/Databases | ||
License: BSD | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.4.zip | ||
Source0: plpgsql_check-1.0.4.zip | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.5.zip | ||
Source0: plpgsql_check-1.0.5.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}-1.0.4 | ||
%setup -q -n %{sname}-1.0.5 | ||
|
||
|
||
%build | ||
|
@@ -48,6 +48,9 @@ rm -rf %{buildroot} | |
|
||
|
||
%changelog | ||
* Thu Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1 | ||
- minor fixes, support for PostgreSQL 10 | ||
|
||
* Fri Apr 15 2016 - Pavel STEHULE <[email protected]> 1.0.4-1 | ||
- support for PostgreSQL 9.6 | ||
|
||
|
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: 1.0.4 | ||
Version: 1.0.5 | ||
Release: 1%{?dist} | ||
Summary: Additional tools for plpgsql functions validation | ||
|
||
Group: Applications/Databases | ||
License: BSD | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.4.zip | ||
Source0: plpgsql_check-1.0.4.zip | ||
URL: https://github.com/okbob/plpgsql_check/archive/v1.0.5.zip | ||
Source0: plpgsql_check-1.0.5.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}-1.0.4 | ||
%setup -q -n %{sname}-1.0.5 | ||
|
||
|
||
%build | ||
|
@@ -48,6 +48,9 @@ rm -rf %{buildroot} | |
|
||
|
||
%changelog | ||
* Thu Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1 | ||
- minor fixes, support for PostgreSQL 10 | ||
|
||
* Fri Apr 15 2016 - Pavel STEHULE <[email protected]> 1.0.4-1 | ||
- support for PostgreSQL 9.6 | ||
|
||
|