Skip to content

Commit

Permalink
Set executable bits in RPM spec; more explicitly include files
Browse files Browse the repository at this point in the history
  • Loading branch information
eloquence committed Feb 11, 2020
1 parent 59fdef4 commit 8c500c9
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions rpm-build/SPECS/securedrop-workstation-dom0-config.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ configuration over time.
%prep
%setup -q


%build
%{__python3} setup.py build

Expand Down Expand Up @@ -71,15 +70,21 @@ install -m 644 launcher/sdw_notify/*.py %{buildroot}/opt/securedrop/launcher/sdw
install -m 644 launcher/sdw_util/*.py %{buildroot}/opt/securedrop/launcher/sdw_util/
%files
%doc README.md LICENSE
%attr(755, root, root) /opt/securedrop/launcher/sdw-launcher.py
%attr(755, root, root) /opt/securedrop/launcher/sdw-notify.py
%attr(755, root, root) %{_bindir}/securedrop-update
%attr(755, root, root) %{_bindir}/securedrop-admin
%{python3_sitelib}/securedrop_workstation_dom0_config*
%{_datadir}/%{name}
%{_bindir}/securedrop-update
%{_bindir}/securedrop-admin
/opt/securedrop/launcher/**/*.py
/opt/securedrop/launcher/**/*.pyc
/opt/securedrop/launcher/**/*.pyo
/opt/securedrop/launcher/*.pyc
/opt/securedrop/launcher/*.pyo
/srv/salt/sd*
/srv/salt/dom0-xfce-desktop-file.j2
/srv/salt/securedrop-*
/srv/salt/fpf*
/opt/securedrop/*

%post
find /srv/salt -maxdepth 1 -type f -iname '*.top' \
Expand All @@ -88,8 +93,9 @@ find /srv/salt -maxdepth 1 -type f -iname '*.top' \
| xargs qubesctl top.enable > /dev/null

%changelog
* Fri Feb 07 2020 SecureDrop Team <[email protected]> - 0.1.3
* Mon Feb 10 2020 SecureDrop Team <[email protected]> - 0.1.3
- Adds sdw-notify script
- Sets executable bits within package specification

* Mon Feb 03 2020 Mickael E. <[email protected]> - 0.1.2
- Provides dev/staging/prod split logic.
Expand Down

0 comments on commit 8c500c9

Please sign in to comment.