summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Makowski <philippe.makowski@rtech.fr>2016-10-03 11:09:14 +0200
committerPhilippe Makowski <philippe.makowski@rtech.fr>2016-10-03 11:09:14 +0200
commit20461c07539112815da18b8076384c7693cec5f1 (patch)
tree3bf358286a38ed28f22848784f9ec7ce5c052de6
parent9adc07205f29472759acf97d1ded1b293bcee34a (diff)
downloadfirebird3-20461c07539112815da18b8076384c7693cec5f1.tar.gz
firebird3-20461c07539112815da18b8076384c7693cec5f1.tar.xz
firebird3-20461c07539112815da18b8076384c7693cec5f1.zip
fix gcc6 build and some permsHEADmaster
-rw-r--r--firebird.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/firebird.spec b/firebird.spec
index ed408af..9fd5492 100644
--- a/firebird.spec
+++ b/firebird.spec
@@ -6,7 +6,7 @@
Name: firebird
Version: %{upversion}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: SQL relational database management system
Group: Applications/Databases
@@ -209,6 +209,8 @@ in production systems, under a variety of names, since 1981.
%build
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+export CXXFLAGS="${CFLAGS} -fno-delete-null-pointer-checks"
NOCONFIGURE=1 ./autogen.sh
%configure --prefix=%{_prefix} \
--disable-binreloc \
@@ -330,9 +332,9 @@ fi
%{_datadir}/%{name}/misc
%dir %{_localstatedir}/lib/%{name}
-%dir %{_localstatedir}/lib/%{name}/secdb
-%dir %{_localstatedir}/lib/%{name}/data
-%dir %{_localstatedir}/lib/%{name}/system
+%dir %attr(0700,%{name},%{name}) %{_localstatedir}/lib/%{name}/secdb
+%dir %attr(0700,%{name},%{name}) %{_localstatedir}/lib/%{name}/data
+%dir %attr(0755,%{name},%{name}) %{_localstatedir}/lib/%{name}/system
%attr(0600,firebird,firebird) %config(noreplace) %{_localstatedir}/lib/%{name}/secdb/security3.fdb
%attr(0644,firebird,firebird) %{_localstatedir}/lib/%{name}/system/help.fdb
%attr(0644,firebird,firebird) %{_localstatedir}/lib/%{name}/system/firebird.msg
@@ -397,6 +399,10 @@ fi
%changelog
+* Fri Sep 30 2016 Philippe Makowski <makowski@fedoraproject.org> - 3.0.1.32609-2
+- fix perms
+- change build option for Fedora and gcc
+
* Fri Sep 30 2016 Philippe Makowski <makowski@fedoraproject.org> - 3.0.1.32609-1
- new upstream release