Skip to content

Commit

Permalink
Fix RPM spec file for vlans.yml and lib/tools.
Browse files Browse the repository at this point in the history
This fixes the RPM spec file that was causing COPR builds to fail
because of duplicate path entries under %files as well as not declaring
an additional %config /opt/quads/conf/vlans.yml.

Related-to: #198

Change-Id: I03813fd545c3d3d9e4a1308f6cbfa203e04e1e1e
  • Loading branch information
sadsfae committed Nov 23, 2018
1 parent d4dd6d8 commit 0372b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpm/quads.spec
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ rm -rf %{buildroot}
mkdir %{buildroot}%{prefix} -p
mkdir %{buildroot}/etc/systemd/system/ -p
mkdir %{buildroot}/etc/profile.d/ -p
tar cf - bin lib/*.py conf ansible | ( cd %{buildroot}%{prefix} ; tar xvpBf - )
tar cf - bin lib/*.py lib/tools/*.py conf ansible | ( cd %{buildroot}%{prefix} ; tar xvpBf - )
cp -rf systemd/quads-daemon.service %{buildroot}/etc/systemd/system/
mkdir -p %{buildroot}/var/www/html/visual/
cp -p image/{texture*,button*}.png %{buildroot}/var/www/html/visual/
Expand All @@ -78,9 +78,9 @@ rm -rf %{buildroot}
/opt/quads/ansible/*
/opt/quads/bin/*
/opt/quads/lib/*
/opt/quads/lib/tools/*
/var/www/html/visual/*
%config /opt/quads/conf/quads.yml
%config /opt/quads/conf/vlans.yml

%post
systemctl enable quads-daemon
Expand Down

0 comments on commit 0372b58

Please sign in to comment.