[vrq] Fix bz #992864

Shakthi Kannan shakthimaan at fedoraproject.org
Mon Oct 14 11:01:23 UTC 2013


commit 8ea53e9d10f9ade02372bf9c4bf052ef2d638f5d
Author: Shakthi Kannan <skannan at redhat.com>
Date:   Mon Oct 14 16:31:17 2013 +0530

    Fix bz #992864

 vrq.spec |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/vrq.spec b/vrq.spec
index 4754e63..b666267 100644
--- a/vrq.spec
+++ b/vrq.spec
@@ -1,6 +1,6 @@
 Name:           vrq
 Version:        1.0.96
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Verilog tool framework with plugins for manipulating source code
 
 Group:          Applications/Engineering
@@ -49,22 +49,44 @@ to develop backend plugin customization tools for the vrq tool framework.
 %{__rm} -f `find %{buildroot} -name *.la`
 %{__rm} -rf `find %{buildroot} -name latex`
 
+# add some doc files into the buildroot manually (#992864)
+for f in AUTHORS ChangeLog COPYING README doc/faq.html ; do
+    install -p -m0644 -D $f %{buildroot}%{_docdir}/%{name}/${f}
+done
+
+install -d -m0755 %{buildroot}%{_docdir}/%{name}/doc
+cp -pr doc/html %{buildroot}%{_docdir}/%{name}/doc
+
+install -d -m0755 %{buildroot}%{_docdir}/%{name}/plugin
+cp -pr plugin/examples %{buildroot}%{_docdir}/%{name}/plugin
+
+rm -rf %{buildroot}%{_docdir}/%{name}-%{version}
+
 %clean
 %{__rm} -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING README doc/faq.html
+%dir %{_docdir}/%{name}
+%{_docdir}/%{name}/AUTHORS
+%{_docdir}/%{name}/ChangeLog
+%{_docdir}/%{name}/COPYING
+%{_docdir}/%{name}/README
+%{_docdir}/%{name}/doc/faq.html
 %{_bindir}/%{name}
 %{_libdir}/%{name}-%{version}
 %{_mandir}/man1/vrq.1.gz
 
 %files devel
 %defattr(-,root,root,-)
-%doc doc/html plugin/examples/example1 plugin/examples/example2
+%{_docdir}/%{name}/doc/html
+%{_docdir}/%{name}/plugin/examples
 %{_includedir}/%{name}-%{version}
 
 %changelog
+* Mon Oct 14 2013 Shakthi Kannan <shakthimaan at fedoraproject.org> - 1.0.96-5
+- Fix bz #992864
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.96-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list