[gnuradio] Used unversioned doc directory
Jaroslav Škarvada
jskarvad at fedoraproject.org
Tue Aug 6 14:02:01 UTC 2013
commit 5e99c3235b28e86ada20698086cd320de486240f
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Tue Aug 6 16:01:50 2013 +0200
Used unversioned doc directory
Resolves: rhbz#993794
gnuradio.spec | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/gnuradio.spec b/gnuradio.spec
index 488c459..ab33ba6 100644
--- a/gnuradio.spec
+++ b/gnuradio.spec
@@ -21,7 +21,7 @@
Name: gnuradio
Version: 3.7.0
-Release: 0.4.%{alphatag}%{?dist}
+Release: 0.5.%{alphatag}%{?dist}
Summary: Software defined radio framework
Group: Applications/Engineering
@@ -141,8 +141,8 @@ ln -s GnuradioConfig.cmake FindGnuradio.cmake
popd
# install some more docs
-mv %{buildroot}%{_docdir}/%{name}-%{version}%{alphatag} %{buildroot}%{_docdir}/%{name}-%{version}
-install -m 644 -t %{buildroot}%{_docdir}/%{name}-%{version} COPYING AUTHORS
+mv %{buildroot}%{_docdir}/%{name}-%{version}%{alphatag} %{buildroot}%{_docdir}/%{name}
+install -m 644 -t %{buildroot}%{_docdir}/%{name} COPYING AUTHORS
# remove atsc example (bytecompilation problem)
# the examples shouldn't be probably bytecompiled,
@@ -165,9 +165,9 @@ rm -rf %{buildroot}
%{_datadir}/gnuradio
%config(noreplace) %{_sysconfdir}/gnuradio
%exclude %{_datadir}/gnuradio/examples
-%exclude %{_docdir}/%{name}-%{version}/html
-%exclude %{_docdir}/%{name}-%{version}/xml
-%doc %{_docdir}/%{name}-%{version}
+%exclude %{_docdir}/%{name}/html
+%exclude %{_docdir}/%{name}/xml
+%doc %{_docdir}/%{name}
%files devel
%defattr(-,root,root,-)
@@ -179,14 +179,18 @@ rm -rf %{buildroot}
%files doc
%defattr(-,root,root,-)
-%doc %{_docdir}/%{name}-%{version}/html
-%doc %{_docdir}/%{name}-%{version}/xml
+%doc %{_docdir}/%{name}/html
+%doc %{_docdir}/%{name}/xml
%files examples
%defattr(-,root,root,-)
%{_datadir}/gnuradio/examples
%changelog
+* Tue Aug 6 2013 Jaroslav Škarvada <jskarvad at redhat.com> - 3.7.0-0.5.rc0
+- Used unversioned doc directory
+ Resolves: rhbz#993794
+
* Tue Jul 30 2013 Dennis Gilmore <dennis at ausil.us> - 3.7.0-0.4.rc0
- rebuild against 1.54.0 again
More information about the scm-commits
mailing list