diff --git a/postgresql10-plpgsql_check.spec b/postgresql10-plpgsql_check.spec index 4899eaf..629667c 100644 --- a/postgresql10-plpgsql_check.spec +++ b/postgresql10-plpgsql_check.spec @@ -28,12 +28,11 @@ a performance issues. %build PATH="%{pginstdir}/bin;$PATH" ; export PATH CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS - -USE_PGXS=1 make %{?_smp_mflags} +make USE_PGXS=1 PG_CONFIG=%{pginstdir}/bin/pg_config %{?_smp_mflags} %install rm -rf %{buildroot} -make USE_PGXS=1 DESTDIR=%{buildroot} install +make install DESTDIR=%{buildroot} PG_CONFIG=%{pginstdir}/bin/pg_config %{?_smp_mflags} %clean rm -rf %{buildroot} @@ -42,8 +41,11 @@ rm -rf %{buildroot} %defattr(644,root,root,755) %doc README.md %{pginstdir}/lib/plpgsql_check.so -%{pginstdir}/share/extension/plpgsql_check--2.0.sql +%{pginstdir}/share/extension/plpgsql_check--2.1.sql %{pginstdir}/share/extension/plpgsql_check.control +%{pginstdir}/lib/bitcode/*.bc +%{pginstdir}/lib/bitcode/plpgsql_check/src/*.bc +%{pginstdir}/share/extension/*.control %changelog * Wed Dec 29 2021 - Pavel Stehule 2.1.0 @@ -113,7 +115,7 @@ rm -rf %{buildroot} - better check of dynamic SQL when it is const string - check of SQL injection vulnerability of stmt expression at EXECUTE stmt -* Fri Dec 23 2018 - Pavel STEHULE 1.4.2-1 +* Sun Dec 23 2018 - Pavel STEHULE 1.4.2-1 - metada fix * Fri Dec 21 2018 - Pavel STEHULE 1.4.1-1 @@ -137,7 +139,7 @@ rm -rf %{buildroot} - fix some bugs and false alarms - PostgreSQL 11 support -* Fri Now 11 2016 - Pavel STEHULE 1.2.0-1 +* Fri Nov 11 2016 - Pavel STEHULE 1.2.0-1 - support extra warnings - shadowed variables * Thu Aug 25 2016 - Pavel STEHULE 1.0.5-1 diff --git a/postgresql11-plpgsql_check.spec b/postgresql11-plpgsql_check.spec index 9ade552..876c05b 100644 --- a/postgresql11-plpgsql_check.spec +++ b/postgresql11-plpgsql_check.spec @@ -29,12 +29,11 @@ a performance issues. %build PATH="%{pginstdir}/bin;$PATH" ; export PATH CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS - -USE_PGXS=1 make %{?_smp_mflags} +make USE_PGXS=1 PG_CONFIG=%{pginstdir}/bin/pg_config %{?_smp_mflags} %install rm -rf %{buildroot} -make USE_PGXS=1 DESTDIR=%{buildroot} install +make install DESTDIR=%{buildroot} PG_CONFIG=%{pginstdir}/bin/pg_config %{?_smp_mflags} %clean rm -rf %{buildroot} @@ -43,8 +42,11 @@ rm -rf %{buildroot} %defattr(644,root,root,755) %doc README.md %{pginstdir}/lib/plpgsql_check.so -%{pginstdir}/share/extension/plpgsql_check--2.0.sql +%{pginstdir}/share/extension/plpgsql_check--2.1.sql %{pginstdir}/share/extension/plpgsql_check.control +%{pginstdir}/lib/bitcode/*.bc +%{pginstdir}/lib/bitcode/plpgsql_check/src/*.bc +%{pginstdir}/share/extension/*.control %changelog * Wed Dec 29 2021 - Pavel Stehule 2.1.0 @@ -114,7 +116,7 @@ rm -rf %{buildroot} - better check of dynamic SQL when it is const string - check of SQL injection vulnerability of stmt expression at EXECUTE stmt -* Fri Dec 23 2018 - Pavel STEHULE 1.4.2-1 +* Sun Dec 23 2018 - Pavel STEHULE 1.4.2-1 - metada fix * Fri Dec 21 2018 - Pavel STEHULE 1.4.1-1 @@ -138,7 +140,7 @@ rm -rf %{buildroot} - fix some bugs and false alarms - PostgreSQL 11 support -* Fri Now 11 2016 - Pavel STEHULE 1.2.0-1 +* Fri Nov 11 2016 - Pavel STEHULE 1.2.0-1 - support extra warnings - shadowed variables * Thu Aug 25 2016 - Pavel STEHULE 1.0.5-1 diff --git a/postgresql12-plpgsql_check.spec b/postgresql12-plpgsql_check.spec index f5657a4..662d055 100644 --- a/postgresql12-plpgsql_check.spec +++ b/postgresql12-plpgsql_check.spec @@ -29,12 +29,11 @@ a performance issues. %build PATH="%{pginstdir}/bin;$PATH" ; export PATH CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS - -USE_PGXS=1 make %{?_smp_mflags} +make USE_PGXS=1 PG_CONFIG=%{pginstdir}/bin/pg_config %{?_smp_mflags} %install rm -rf %{buildroot} -make USE_PGXS=1 DESTDIR=%{buildroot} install +make install DESTDIR=%{buildroot} PG_CONFIG=%{pginstdir}/bin/pg_config %{?_smp_mflags} %clean rm -rf %{buildroot} @@ -43,8 +42,11 @@ rm -rf %{buildroot} %defattr(644,root,root,755) %doc README.md %{pginstdir}/lib/plpgsql_check.so -%{pginstdir}/share/extension/plpgsql_check--2.0.sql +%{pginstdir}/share/extension/plpgsql_check--2.1.sql %{pginstdir}/share/extension/plpgsql_check.control +%{pginstdir}/lib/bitcode/*.bc +%{pginstdir}/lib/bitcode/plpgsql_check/src/*.bc +%{pginstdir}/share/extension/*.control %changelog * Wed Dec 29 2021 - Pavel Stehule 2.1.0 @@ -114,7 +116,7 @@ rm -rf %{buildroot} - better check of dynamic SQL when it is const string - check of SQL injection vulnerability of stmt expression at EXECUTE stmt -* Fri Dec 23 2018 - Pavel STEHULE 1.4.2-1 +* Sun Dec 23 2018 - Pavel STEHULE 1.4.2-1 - metada fix * Fri Dec 21 2018 - Pavel STEHULE 1.4.1-1 @@ -138,7 +140,7 @@ rm -rf %{buildroot} - fix some bugs and false alarms - PostgreSQL 11 support -* Fri Now 11 2016 - Pavel STEHULE 1.2.0-1 +* Fri Nov 11 2016 - Pavel STEHULE 1.2.0-1 - support extra warnings - shadowed variables * Thu Aug 25 2016 - Pavel STEHULE 1.0.5-1 diff --git a/postgresql13-plpgsql_check.spec b/postgresql13-plpgsql_check.spec index 854e5ff..4f10404 100644 --- a/postgresql13-plpgsql_check.spec +++ b/postgresql13-plpgsql_check.spec @@ -29,12 +29,11 @@ a performance issues. %build PATH="%{pginstdir}/bin;$PATH" ; export PATH CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS - -USE_PGXS=1 make %{?_smp_mflags} +make USE_PGXS=1 PG_CONFIG=%{pginstdir}/bin/pg_config %{?_smp_mflags} %install rm -rf %{buildroot} -make USE_PGXS=1 DESTDIR=%{buildroot} install +make install DESTDIR=%{buildroot} PG_CONFIG=%{pginstdir}/bin/pg_config %{?_smp_mflags} %clean rm -rf %{buildroot} @@ -43,8 +42,11 @@ rm -rf %{buildroot} %defattr(644,root,root,755) %doc README.md %{pginstdir}/lib/plpgsql_check.so -%{pginstdir}/share/extension/plpgsql_check--2.0.sql +%{pginstdir}/share/extension/plpgsql_check--2.1.sql %{pginstdir}/share/extension/plpgsql_check.control +%{pginstdir}/lib/bitcode/*.bc +%{pginstdir}/lib/bitcode/plpgsql_check/src/*.bc +%{pginstdir}/share/extension/*.control %changelog * Wed Dec 29 2021 - Pavel Stehule 2.1.0 @@ -114,7 +116,7 @@ rm -rf %{buildroot} - better check of dynamic SQL when it is const string - check of SQL injection vulnerability of stmt expression at EXECUTE stmt -* Fri Dec 23 2018 - Pavel STEHULE 1.4.2-1 +* Sun Dec 23 2018 - Pavel STEHULE 1.4.2-1 - metada fix * Fri Dec 21 2018 - Pavel STEHULE 1.4.1-1 @@ -138,7 +140,7 @@ rm -rf %{buildroot} - fix some bugs and false alarms - PostgreSQL 11 support -* Fri Now 11 2016 - Pavel STEHULE 1.2.0-1 +* Fri Nov 11 2016 - Pavel STEHULE 1.2.0-1 - support extra warnings - shadowed variables * Thu Aug 25 2016 - Pavel STEHULE 1.0.5-1 diff --git a/postgresql14-plpgsql_check.spec b/postgresql14-plpgsql_check.spec index e67b53e..b30c115 100644 --- a/postgresql14-plpgsql_check.spec +++ b/postgresql14-plpgsql_check.spec @@ -29,12 +29,11 @@ a performance issues. %build PATH="%{pginstdir}/bin;$PATH" ; export PATH CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS - -USE_PGXS=1 make %{?_smp_mflags} +make USE_PGXS=1 PG_CONFIG=%{pginstdir}/bin/pg_config %{?_smp_mflags} %install rm -rf %{buildroot} -make USE_PGXS=1 DESTDIR=%{buildroot} install +make install DESTDIR=%{buildroot} PG_CONFIG=%{pginstdir}/bin/pg_config %{?_smp_mflags} %clean rm -rf %{buildroot} @@ -43,8 +42,11 @@ rm -rf %{buildroot} %defattr(644,root,root,755) %doc README.md %{pginstdir}/lib/plpgsql_check.so -%{pginstdir}/share/extension/plpgsql_check--2.0.sql +%{pginstdir}/share/extension/plpgsql_check--2.1.sql %{pginstdir}/share/extension/plpgsql_check.control +%{pginstdir}/lib/bitcode/*.bc +%{pginstdir}/lib/bitcode/plpgsql_check/src/*.bc +%{pginstdir}/share/extension/*.control %changelog * Wed Dec 29 2021 - Pavel Stehule 2.1.0 @@ -114,7 +116,7 @@ rm -rf %{buildroot} - better check of dynamic SQL when it is const string - check of SQL injection vulnerability of stmt expression at EXECUTE stmt -* Fri Dec 23 2018 - Pavel STEHULE 1.4.2-1 +* Sun Dec 23 2018 - Pavel STEHULE 1.4.2-1 - metada fix * Fri Dec 21 2018 - Pavel STEHULE 1.4.1-1 @@ -138,7 +140,7 @@ rm -rf %{buildroot} - fix some bugs and false alarms - PostgreSQL 11 support -* Fri Now 11 2016 - Pavel STEHULE 1.2.0-1 +* Fri Nov 11 2016 - Pavel STEHULE 1.2.0-1 - support extra warnings - shadowed variables * Thu Aug 25 2016 - Pavel STEHULE 1.0.5-1