Skip to content
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

Update pdnsd.spec.in - removed --parents option #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

damoclark
Copy link

rpmbuild fails to build due to --parents option provided to %doc entries in pdnsd.spec.in on Redhat 7.1.

Removed --parents option. HTML doc files stored in root of doc directory in RPM, but rpmbuild can now build the package.

Error output:

+ cp -pr --parents /home/clarkd/rpmbuild/BUILDROOT/pdnsd-1.2.9a-par.x86_64/usr/share/doc/pdnsd-1.2.9a
cp: missing destination file operand after '/home/clarkd/rpmbuild/BUILDROOT/pdnsd-1.2.9a-par.x86_64/usr/share/doc/pdnsd-1.2.9a'
Try 'cp --help' for more information.
error: Bad exit status from /var/tmp/rpm-tmp.4rg4Xa (%doc)

rpmbuild fails to build due to --parents option provided to %doc entries in pdnsd.spec.in on Redhat 7.1.  

Removed --parents option.  HTML doc files stored in root of doc directory in RPM, but rpmbuild can now build the package.

Error output:
```
+ cp -pr --parents /home/clarkd/rpmbuild/BUILDROOT/pdnsd-1.2.9a-par.x86_64/usr/share/doc/pdnsd-1.2.9a
cp: missing destination file operand after '/home/clarkd/rpmbuild/BUILDROOT/pdnsd-1.2.9a-par.x86_64/usr/share/doc/pdnsd-1.2.9a'
Try 'cp --help' for more information.
error: Bad exit status from /var/tmp/rpm-tmp.4rg4Xa (%doc)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant