Skip to content

Commit

Permalink
fix spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
okbob committed May 15, 2022
1 parent b75a322 commit 271c8fe
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 30 deletions.
14 changes: 8 additions & 6 deletions postgresql10-plpgsql_check.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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 <[email protected]> 2.1.0
Expand Down Expand Up @@ -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 <[email protected]> 1.4.2-1
* Sun Dec 23 2018 - Pavel STEHULE <[email protected]> 1.4.2-1
- metada fix

* Fri Dec 21 2018 - Pavel STEHULE <[email protected]> 1.4.1-1
Expand All @@ -137,7 +139,7 @@ rm -rf %{buildroot}
- fix some bugs and false alarms
- PostgreSQL 11 support

* Fri Now 11 2016 - Pavel STEHULE <[email protected]> 1.2.0-1
* Fri Nov 11 2016 - Pavel STEHULE <[email protected]> 1.2.0-1
- support extra warnings - shadowed variables

* Thu Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1
Expand Down
14 changes: 8 additions & 6 deletions postgresql11-plpgsql_check.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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 <[email protected]> 2.1.0
Expand Down Expand Up @@ -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 <[email protected]> 1.4.2-1
* Sun Dec 23 2018 - Pavel STEHULE <[email protected]> 1.4.2-1
- metada fix

* Fri Dec 21 2018 - Pavel STEHULE <[email protected]> 1.4.1-1
Expand All @@ -138,7 +140,7 @@ rm -rf %{buildroot}
- fix some bugs and false alarms
- PostgreSQL 11 support

* Fri Now 11 2016 - Pavel STEHULE <[email protected]> 1.2.0-1
* Fri Nov 11 2016 - Pavel STEHULE <[email protected]> 1.2.0-1
- support extra warnings - shadowed variables

* Thu Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1
Expand Down
14 changes: 8 additions & 6 deletions postgresql12-plpgsql_check.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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 <[email protected]> 2.1.0
Expand Down Expand Up @@ -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 <[email protected]> 1.4.2-1
* Sun Dec 23 2018 - Pavel STEHULE <[email protected]> 1.4.2-1
- metada fix

* Fri Dec 21 2018 - Pavel STEHULE <[email protected]> 1.4.1-1
Expand All @@ -138,7 +140,7 @@ rm -rf %{buildroot}
- fix some bugs and false alarms
- PostgreSQL 11 support

* Fri Now 11 2016 - Pavel STEHULE <[email protected]> 1.2.0-1
* Fri Nov 11 2016 - Pavel STEHULE <[email protected]> 1.2.0-1
- support extra warnings - shadowed variables

* Thu Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1
Expand Down
14 changes: 8 additions & 6 deletions postgresql13-plpgsql_check.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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 <[email protected]> 2.1.0
Expand Down Expand Up @@ -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 <[email protected]> 1.4.2-1
* Sun Dec 23 2018 - Pavel STEHULE <[email protected]> 1.4.2-1
- metada fix

* Fri Dec 21 2018 - Pavel STEHULE <[email protected]> 1.4.1-1
Expand All @@ -138,7 +140,7 @@ rm -rf %{buildroot}
- fix some bugs and false alarms
- PostgreSQL 11 support

* Fri Now 11 2016 - Pavel STEHULE <[email protected]> 1.2.0-1
* Fri Nov 11 2016 - Pavel STEHULE <[email protected]> 1.2.0-1
- support extra warnings - shadowed variables

* Thu Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1
Expand Down
14 changes: 8 additions & 6 deletions postgresql14-plpgsql_check.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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 <[email protected]> 2.1.0
Expand Down Expand Up @@ -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 <[email protected]> 1.4.2-1
* Sun Dec 23 2018 - Pavel STEHULE <[email protected]> 1.4.2-1
- metada fix

* Fri Dec 21 2018 - Pavel STEHULE <[email protected]> 1.4.1-1
Expand All @@ -138,7 +140,7 @@ rm -rf %{buildroot}
- fix some bugs and false alarms
- PostgreSQL 11 support

* Fri Now 11 2016 - Pavel STEHULE <[email protected]> 1.2.0-1
* Fri Nov 11 2016 - Pavel STEHULE <[email protected]> 1.2.0-1
- support extra warnings - shadowed variables

* Thu Aug 25 2016 - Pavel STEHULE <[email protected]> 1.0.5-1
Expand Down

0 comments on commit 271c8fe

Please sign in to comment.