https://bugzilla.redhat.com/show_bug.cgi?id=1190269

Haïkel Guémar <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
              Flags|needinfo?(karlthered@gmail. |needinfo?([email protected]
                   |com)                        |om)



--- Comment #20 from Haïkel Guémar <[email protected]> ---
Fails to build

RPM build errors:
error: Installed (but unpackaged) file(s) found:
   /usr/bin/barbican-db-manage.py
   /usr/bin/barbican-worker.py
    Installed (but unpackaged) file(s) found:
   /usr/bin/barbican-db-manage.py
   /usr/bin/barbican-worker.py


---

That's due to these lines:
install -m 755 bin/barbican-worker.py %{buildroot}%{_bindir}/barbican-worker
install -m 755 bin/barbican-db-manage.py
%{buildroot}%{_bindir}/barbican-db-manage

You actually copied the files but originals were not deleted.
I recommend using this snippet instead but the point is to remove original
files

for command in bin/*.py; do
  cp -p $command ${command%.py} && rm $command
done;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to