Skip to content

Commit

Permalink
Removed initdb link for Enterprise Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sbluhm committed Dec 24, 2023
1 parent a3a3466 commit e4ef694
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions spacewalk/package/spacewalk.changes.sbluhm.postgresql15
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- Allow parameterisation of min/max PostgreSQL version for Enterprise Linux.
- Adapt usage of postgresql_version_max to allow minor versions.
- Remove creation of initdb symlink for Enterprise Linux to avoid package conflicts with PostgreSQL 15.
6 changes: 0 additions & 6 deletions spacewalk/package/spacewalk.spec
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ db-backend = $i
EOF
done
install -d $RPM_BUILD_ROOT/%{_bindir}
%if 0%{?rhel}
ln -s /usr/pgsql-14/bin/initdb $RPM_BUILD_ROOT/%{_bindir}/initdb
%endif

%files common
%{_sysconfdir}/*-release
Expand All @@ -168,8 +165,5 @@ ln -s /usr/pgsql-14/bin/initdb $RPM_BUILD_ROOT/%{_bindir}/initdb

%files postgresql
%{_datadir}/spacewalk/setup/defaults.d/postgresql-backend.conf
%if 0%{?rhel}
%{_bindir}/initdb
%endif

%changelog

0 comments on commit e4ef694

Please sign in to comment.