Skip to content

Commit

Permalink
Spec file fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
df7cb committed Jan 24, 2022
1 parent 336c7dd commit 8a5008c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions rpm/table_log.spec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# rpmbuild -D'pgmajorversion 14' -D'pginstdir /usr/pgsql-14' -ba rpm/table_log.spec

%global debug_package %{nil}
%global sname table_log

Expand Down Expand Up @@ -29,7 +31,7 @@ a table and to restore the state of the table or a specific row on any time in
the past.

%prep
%setup -q -n postgresql-table_log-%{version}
%setup -q -n table_log-%{version}

%build
%if 0%{?rhel} && 0%{?rhel} == 7
Expand All @@ -51,12 +53,9 @@ USE_PGXS=1 PATH=%{pginstdir}/bin/:$PATH %{__make} DESTDIR=%{buildroot} %{?_smp_m

%files
%defattr(644,root,root,755)
%doc %{pginstdir}/doc/extension/*%{sname}.md
%if 0%{?rhel} && 0%{?rhel} <= 6
%doc LICENSE
%else
%license LICENSE
%endif
%doc %{pginstdir}/doc/extension/table_log.md
%{pginstdir}/lib/table_log*
%{pginstdir}/lib/bitcode/table_log*
%{pginstdir}/share/extension/table_log*.sql*
%{pginstdir}/share/extension/table_log.control

Expand Down

0 comments on commit 8a5008c

Please sign in to comment.