Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
version_minor = 1
version_patch = 26
version = %{version_major}.%{version_minor}.%{version_patch}
-release = 3
+release = 4
thisapp = db-%{version}
soversion = %{version_major}.%{version_minor}
for i in db.h db_cxx.h db_185.h; do
ln -svf %{name}/${i} %{BUILDROOT}/%{includedir}
done
+
+ # Fix binary permissions.
+ find %{BUILDROOT}%{bindir} -type f -executable \
+ -exec chmod 755 {} \;
+
+ # Fix header permissions.
+ find %{BUILDROOT}%{includedir} -type f -iname "*.h" \
+ -exec chmod 644 {} \;
end
end