Reinhard Max 2015-09-30 08:07:39 +00:00 committed by Git OBS Bridge
parent 2aa0a9657e
commit c4e89e5119

View File

@ -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