[libexplain] Update to latest upstream.
Eric Smith
brouhaha at fedoraproject.org
Tue Jun 4 17:06:22 UTC 2013
commit 1e15a8616e1d020fe3b13fa0212b75aed579bc6d
Author: Eric Smith <brouhaha at fedoraproject.org>
Date: Tue Jun 4 11:06:13 2013 -0600
Update to latest upstream.
.gitignore | 1 +
libexplain.spec | 24 +++++++++++++++++++++---
sources | 2 +-
3 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2bcf481..b76426c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/libexplain-0.50.D001.tar.gz
/libexplain-0.52.D002.tar.gz
/libexplain-1.0.D001.tar.gz
+/libexplain-1.2.tar.gz
diff --git a/libexplain.spec b/libexplain.spec
index 94d0159..d8194ab 100644
--- a/libexplain.spec
+++ b/libexplain.spec
@@ -1,6 +1,6 @@
Name: libexplain
-Version: 1.0.D001
-Release: 3%{?dist}
+Version: 1.2
+Release: 1%{?dist}
Summary: Library functions to explain system call errors
URL: http://libexplain.sourceforge.net
@@ -55,7 +55,11 @@ Development files for the libexplain library.
# This may be due to the use of a chroot environment. I reported this
# problem on the libexplain mailing list on 22-JAN-2012 and 11-MAR-2012,
# but as of 8-JUL-2012 there has been no response.
-%define skiptests t0524a
+
+# t0555a failure observed in version 1.2 on Fedora 19. I reported this
+# problem on the libexplain mailing list on 4-JUN-2013.
+
+%define skiptests t0524a t0555a
for t in %{skiptests}
do
@@ -82,6 +86,10 @@ chmod 755 %{buildroot}%{_libdir}/%{name}.so.*.*.*
# Get rid of the static library and libtool archives
rm %{buildroot}%{_libdir}/%{name}.{a,la}
+# Move docs into versioned doc dir
+mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
+mv %{buildroot}%{_docdir}/%{name}/*.pdf %{buildroot}%{_docdir}/%{name}-%{version}/
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -89,6 +97,8 @@ rm %{buildroot}%{_libdir}/%{name}.{a,la}
%files
%{_libdir}/%{name}.so.*
%doc README LICENSE
+%doc %{_docdir}/%{name}-%{version}/readme.pdf
+%doc %{_docdir}/%{name}-%{version}/reference.pdf
%files -n explain
%{_bindir}/explain
@@ -99,8 +109,16 @@ rm %{buildroot}%{_libdir}/%{name}.{a,la}
%{_includedir}/%{name}/
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
+%doc %{_docdir}/%{name}-%{version}/building.pdf
+%doc %{_docdir}/%{name}-%{version}/new_system_call.pdf
+
+# NOTE rpmlint will complain about a use of mktemp. This is because libexplain
+# provides a wrapper for mktemp, not because it is used.
%changelog
+* Tue Jun 04 2013 Eric Smith <eric at brouhaha.com> - 1.2-1
+- Updated to latest upstream.
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.D001-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 8ef0db0..a47fc14 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-604ecdc642288ac324cc09612e199ee9 libexplain-1.0.D001.tar.gz
+b65d6be296c4773a69a3a14d41f66e68 libexplain-1.2.tar.gz
More information about the scm-commits
mailing list