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

SPEC file error on DOC documents #18

Open
goniomdq opened this issue Nov 17, 2019 · 0 comments
Open

SPEC file error on DOC documents #18

goniomdq opened this issue Nov 17, 2019 · 0 comments

Comments

@goniomdq
Copy link

goniomdq commented Nov 17, 2019

Building rpm from supplied SPEC file fails due to missing doc file.
RPM build errors:
File not found: /root/rpmbuild/BUILDROOT/csync2-2.0-1.x86_64/usr/share/doc/csync2/README
File not found: /root/rpmbuild/BUILDROOT/csync2-2.0-1.x86_64/usr/share/doc/csync2/AUTHORS

The files exist, but the names contain the 'adoc' extension.
Adding '.adoc' to the file names in the spec file fixes the issue.

$ diff -u SPECS/csync2.spec.old SPECS/csync2.spec
--- SPECS/csync2.spec.old       2019-11-17 18:57:37.342151054 -0500
+++ SPECS/csync2.spec   2019-11-17 18:54:17.517245168 -0500
@@ -82,8 +82,8 @@
 %doc %{_mandir}/man1/csync2.1.gz
 %doc %{_docdir}/csync2/csync2.adoc
 %doc %{_docdir}/csync2/ChangeLog
-%doc %{_docdir}/csync2/README
-%doc %{_docdir}/csync2/AUTHORS
+%doc %{_docdir}/csync2/README.adoc
+%doc %{_docdir}/csync2/AUTHORS.adoc
 %config(noreplace) %{_sysconfdir}/xinetd.d/csync2
 %config(noreplace) %{_sysconfdir}/csync2.cfg

Thanks

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

No branches or pull requests

1 participant