-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created test for dnf over FTP protocol #50
base: master
Are you sure you want to change the base?
Conversation
/usr/bin/cp -u dummy.spec /run/fedora-networking/ | ||
cd /run/fedora-networking | ||
|
||
rpmbuild -ba dummy.spec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use something like:
rpmbuild --define "_topdir /var/run/fedora-networking" -ba dummy.spec
To keep ${HOME} clean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved.
License: GPL+ | ||
BuildArch: noarch | ||
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't remove the License, since the rpmbuild requires it, however I removed the other lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant BuildRoot: tag only. So BuildArch should be there to keep from building for all arches.
|
||
/usr/bin/cp -u \ | ||
/root/rpmbuild/RPMS/noarch/dummy-rpm-1.0-1.noarch.rpm \ | ||
/var/ftp/pub/fedora-networking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. It'd be good to use /run/ for all testing related stuff (overriden vsftpd config?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BuildArch should be noarch. Sorry for the confusion. See inline
License: GPL+ | ||
BuildArch: noarch | ||
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant BuildRoot: tag only. So BuildArch should be there to keep from building for all arches.
Undu deletion of the BuildArch.
I have added the BuildArch tag back, as you asked. I am sorry I misunderstood the previous request :). |
No description provided.