mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
build: remove unpackaged hidden files
Dotfiles build failed as it is a submodule and contains ".git" and "LICENSES". Hidden files in the base directory are normally used to specify configuration of tools for development, not usable in packages. For: https://github.com/ben-grande/qusal/issues/59
This commit is contained in:
parent
d0ed3a8b82
commit
c0508977c7
@ -62,7 +62,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -70,7 +70,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -61,7 +61,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -61,7 +61,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -68,7 +68,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -62,7 +62,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -76,7 +76,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -78,7 +78,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -61,7 +61,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -61,7 +61,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -71,7 +71,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -81,7 +81,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -65,7 +65,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -69,7 +69,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -74,7 +74,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -117,6 +120,12 @@ fi
|
|||||||
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 24 2024 Ben Grande <ben.grande.b@gmail.com> - d0ed3a8
|
||||||
|
- fix: repository dir uses debug directory
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Ben Grande <ben.grande.b@gmail.com> - c7fb371
|
||||||
|
- fix: reference Salt dependency installation state
|
||||||
|
|
||||||
* Mon Jun 24 2024 Ben Grande <ben.grande.b@gmail.com> - 620fa10
|
* Mon Jun 24 2024 Ben Grande <ben.grande.b@gmail.com> - 620fa10
|
||||||
- fix: shutdown template before install state
|
- fix: shutdown template before install state
|
||||||
|
|
||||||
|
@ -65,7 +65,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -68,7 +68,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -66,7 +66,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -89,7 +89,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -81,7 +81,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -76,7 +76,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -76,7 +76,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -67,7 +67,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -67,7 +67,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -68,7 +68,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -70,7 +70,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -66,7 +66,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -108,6 +111,9 @@ fi
|
|||||||
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 24 2024 Ben Grande <ben.grande.b@gmail.com> - beaf07d
|
||||||
|
- fix: include shell profile sourcer
|
||||||
|
|
||||||
* Fri Jun 21 2024 Ben Grande <ben.grande.b@gmail.com> - c84dfea
|
* Fri Jun 21 2024 Ben Grande <ben.grande.b@gmail.com> - c84dfea
|
||||||
- fix: generate RPM Specs for Qubes Builder V2
|
- fix: generate RPM Specs for Qubes Builder V2
|
||||||
|
|
||||||
|
@ -73,7 +73,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -67,7 +67,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -70,7 +70,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -76,7 +76,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -72,7 +72,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -69,7 +69,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -62,7 +62,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -62,7 +62,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -61,7 +61,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -62,7 +62,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
cp -rv salt/%{project} %{buildroot}/srv/salt/qusal/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -60,7 +60,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
install -m 644 salt/%{project}/README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
rm -rf salt/%{project}/LICENSES salt/%{project}/README.md
|
rm -rf \
|
||||||
|
salt/%{project}/LICENSES \
|
||||||
|
salt/%{project}/README.md
|
||||||
|
salt/%{project}/.*
|
||||||
cp -rv salt/%{project} %{buildroot}@FILE_ROOTS@/%{name}
|
cp -rv salt/%{project} %{buildroot}@FILE_ROOTS@/%{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@ -13,7 +13,6 @@ usage(){
|
|||||||
## Escape multiline strings for sed.
|
## Escape multiline strings for sed.
|
||||||
escape_key(){
|
escape_key(){
|
||||||
key_type="${1}"
|
key_type="${1}"
|
||||||
key_indent=" "
|
|
||||||
if test "${key_type}" = "scriptlet"; then
|
if test "${key_type}" = "scriptlet"; then
|
||||||
echo "${2}" | sed ':a;N;$!ba;s/\n/\\n /g' | sed 's/\$/\\$/'
|
echo "${2}" | sed ':a;N;$!ba;s/\n/\\n /g' | sed 's/\$/\\$/'
|
||||||
elif test "${key_type}" = "text"; then
|
elif test "${key_type}" = "text"; then
|
||||||
@ -44,10 +43,6 @@ get_spec(){
|
|||||||
|
|
||||||
gen_spec(){
|
gen_spec(){
|
||||||
project="${1}"
|
project="${1}"
|
||||||
ignored="$(git ls-files --exclude-standard --others --ignored)"
|
|
||||||
untracked="$(git ls-files --exclude-standard --others)"
|
|
||||||
unwanted="$(printf %s"${ignored}\n${untracked}\n" \
|
|
||||||
| grep "^salt/\S\+/README.md" | cut -d "/" -f2 | sort -u)"
|
|
||||||
|
|
||||||
if echo "${unwanted}" | grep -q "^${project}$"; then
|
if echo "${unwanted}" | grep -q "^${project}$"; then
|
||||||
echo "warn: skipping spec generation of untracked formula: ${project}" >&2
|
echo "warn: skipping spec generation of untracked formula: ${project}" >&2
|
||||||
@ -139,10 +134,14 @@ esac
|
|||||||
|
|
||||||
command -v git >/dev/null || { echo "Missing program: git" >&2; exit 1; }
|
command -v git >/dev/null || { echo "Missing program: git" >&2; exit 1; }
|
||||||
cd "$(git rev-parse --show-toplevel)"
|
cd "$(git rev-parse --show-toplevel)"
|
||||||
./scripts/requires-program.sh vim
|
|
||||||
|
|
||||||
spec_get="./scripts/spec-get.sh"
|
spec_get="./scripts/spec-get.sh"
|
||||||
|
|
||||||
|
ignored="$(git ls-files --exclude-standard --others --ignored salt/)"
|
||||||
|
untracked="$(git ls-files --exclude-standard --others salt/)"
|
||||||
|
unwanted="$(printf %s"${ignored}\n${untracked}\n" \
|
||||||
|
| grep "^salt/\S\+/README.md" | cut -d "/" -f2 | sort -u)"
|
||||||
|
|
||||||
if test "${2-}" = "test"; then
|
if test "${2-}" = "test"; then
|
||||||
gen_spec "${1}" test
|
gen_spec "${1}" test
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user