Skip to content

Commit

Permalink
build: remove unpackaged hidden files
Browse files Browse the repository at this point in the history
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: #59
  • Loading branch information
ben-grande committed Jun 24, 2024
1 parent d0ed3a8 commit c050897
Show file tree
Hide file tree
Showing 53 changed files with 222 additions and 58 deletions.
5 changes: 4 additions & 1 deletion rpm_spec/qusal-ansible.spec
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-browser.spec
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-debian-minimal.spec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-debian-xfce.spec
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-debian.spec
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-dev.spec
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-docker.spec
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-dom0.spec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-dotfiles.spec
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-electrum.spec
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-element.spec
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-fedora-minimal.spec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-fedora-xfce.spec
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-fedora.spec
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-fetcher.spec
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-kicksecure-minimal.spec
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-mail.spec
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-media.spec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-mgmt.spec
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-mirage-builder.spec
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-opentofu.spec
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
11 changes: 10 additions & 1 deletion rpm_spec/qusal-qubes-builder.spec
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down Expand Up @@ -117,6 +120,12 @@ fi
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.

%changelog
* Mon Jun 24 2024 Ben Grande <[email protected]> - d0ed3a8
- fix: repository dir uses debug directory

* Mon Jun 24 2024 Ben Grande <[email protected]> - c7fb371
- fix: reference Salt dependency installation state

* Mon Jun 24 2024 Ben Grande <[email protected]> - 620fa10
- fix: shutdown template before install state

Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-reader.spec
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-remmina.spec
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-signal.spec
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-ssh.spec
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-sys-audio.spec
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-sys-bitcoin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-sys-cacher.spec
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-sys-electrs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-sys-electrumx.spec
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
5 changes: 4 additions & 1 deletion rpm_spec/qusal-sys-firewall.spec
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ for license in $(echo "%{license_csv}" | tr "," " "); do
done

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}

%post
Expand Down
Loading

0 comments on commit c050897

Please sign in to comment.