OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=80
This commit is contained in:
parent
2aa0a9657e
commit
c4e89e5119
@ -27,7 +27,7 @@ Url: http://www.postgresql.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: %defaultpackage
|
||||
BuildArch: noarch
|
||||
Source: postgresql-bashprofile
|
||||
Source0: postgresql-bashprofile
|
||||
|
||||
|
||||
%description
|
||||
@ -158,7 +158,7 @@ echo "This is a dummy package to provide a dependency on the default PostgreSQL
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot/var/lib/pgsql/
|
||||
sed 's,@LIBDIR@,%_libdir,g' %{SOURCE} > \
|
||||
sed 's,@LIBDIR@,%_libdir,g' %{SOURCE0} > \
|
||||
%buildroot/var/lib/pgsql/.bash_profile
|
||||
|
||||
%files
|
||||
@ -166,8 +166,9 @@ sed 's,@LIBDIR@,%_libdir,g' %{SOURCE} > \
|
||||
%doc README
|
||||
|
||||
%files server
|
||||
%attr(-,root,root,-) README
|
||||
%attr(750, postgres, postgres) %dir /var/lib/pgsql
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%attr(750,postgres,postgres) %dir /var/lib/pgsql
|
||||
%attr(640,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile
|
||||
|
||||
%files docs
|
||||
|
Loading…
x
Reference in New Issue
Block a user