diff --git a/libreoffice.spec b/libreoffice.spec index f297b9f..7749510 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -997,7 +997,17 @@ rm -rf git-hooks */git-hooks # This is normally done by %%autosetup -S git_am, # but that does not work with multiple -b options, so we use plain %%setup above %global __scm git_am -%__scm_setup_git_am + +%{__git} init +%{__git} config user.name rpm-build +%{__git} config user.email '' +%{__git} config gc.auto 0 +%{__git} add --force [A-Z]* +%{__git} commit --allow-empty -a --author 'rpm-build ' -m "%{NAME}-%{VERSION} base" +%{__git} add --force [a-n]* +%{__git} commit --allow-empty -a --author 'rpm-build ' -m "%{NAME}-%{VERSION} base" +%{__git} add --force [o-z]* +%{__git} commit --allow-empty -a --author 'rpm-build ' -m "%{NAME}-%{VERSION} base" #Customize Palette to add Red Hat colours (head -n -1 extras/source/palettes/standard.soc && \