Skip to content

Comments

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

Open
damoclark wants to merge 1 commit intocode4craft:masterfrom
damoclark:patch-1
Open

Update pdnsd.spec.in - removed --parents option#1
damoclark wants to merge 1 commit intocode4craft:masterfrom
damoclark:patch-1

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