[gprbuild] Fixed unversioned docdir
Pavel Zhukov
landgraf at fedoraproject.org
Wed Sep 4 07:29:21 UTC 2013
commit c337e5c47f2c2aa0038528d1242a147ee62cb927
Author: Pavel Zhukov <pzhukov at redhat.com>
Date: Wed Sep 4 11:29:05 2013 +0200
Fixed unversioned docdir
gprbuild.spec | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gprbuild.spec b/gprbuild.spec
index db53fd2..3ab070c 100644
--- a/gprbuild.spec
+++ b/gprbuild.spec
@@ -1,6 +1,6 @@
Name: gprbuild
Version: 2013
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Ada project builder
Group: Development/Languages
License: GPLv2+
@@ -45,7 +45,6 @@ make %{?_smp_mflags} LIBRARY_TYPE="relocatable" GNATOPTFLAGS="%{Gnatmake_optflag
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
find %{buildroot}%{_datadir}/gprconfig -type f -name "*.xml" -exec chmod -x {} \;
-##%% mv -f %{buildroot}%{_docdir}/%{name} %{buildroot}%{_docdir}/%{name}-%{version}
mkdir __doc
mv %{buildroot}/%{_datadir}/doc/%{name}/* __doc
rm -rf %{buildroot}/%{_datadir}/doc/%{name}
@@ -54,7 +53,7 @@ find __doc/examples -type f -exec chmod -x {} \;
%files
%defattr(-,root,root,-)
%doc README COPYING* CHANGE*
-%doc __doc
+%doc __doc/*
%{_bindir}/gpr*
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/gpr*
@@ -63,6 +62,9 @@ find __doc/examples -type f -exec chmod -x {} \;
%_GNAT_project_dir/*
%changelog
+* Wed Sep 04 2013 Pavel Zhukov <landgraf at fedoraproject.org> - 2013-5
+- changed http://fedoraproject.org/wiki/Changes/UnversionedDocdirs
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2013-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list