[vrq/f19] Fix bz #992864

Shakthi Kannan shakthimaan at fedoraproject.org
Mon Oct 14 11:03:39 UTC 2013


commit 485195c7fcb7dade0012c9e17e7f581c7b0a40d6
Author: Shakthi Kannan <skannan at redhat.com>
Date:   Mon Oct 14 16:33:30 2013 +0530

    Fix bz #992864

 vrq.spec |   31 ++++++++++++++++++++++++++++---
 1 files changed, 28 insertions(+), 3 deletions(-)
---
diff --git a/vrq.spec b/vrq.spec
index 5295fda..b666267 100644
--- a/vrq.spec
+++ b/vrq.spec
@@ -1,6 +1,6 @@
 Name:           vrq
 Version:        1.0.96
-Release:        3%{?dist}
+Release:        5%{?dist}
 Summary:        Verilog tool framework with plugins for manipulating source code
 
 Group:          Applications/Engineering
@@ -49,22 +49,47 @@ 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
+
 * Sat Feb 23 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.0.96-3
 - Build with system zlib and bzip2 instead of bundled copies.
 - Fix bogus dates in %%changelog.


More information about the scm-commits mailing list