https://bugzilla.redhat.com/show_bug.cgi?id=1344276
--- Comment #21 from Igor Gnatenko ignatenko@redhat.com --- (In reply to Sachidananda Urs from comment #20)
install -m 755 extras/usecases/replace-node/gluster-replace-node \ %{buildroot}/usr/bin
- Do you need to make %{buildroot}/usr/bin here?, or does the earlier
"setup.py install" command already create that directory for you?
I do run mkdir before running install.
%global _rpmfilename noarch/%{name}-%{version}-%{release}%{?dist}.rpm I don't think this line is needed.
I wanted the rpm to be created with version-release and dist name. Because by default noarch is added. For example:
gdeploy-2.0.1-3.el7rhgs.rpm gdeploy-2.0.1-3.noarch.rpm
What is the convention?
To not override RPM things.