[lightning/f21] Fix misplaced texinfo-install scriptlets (#1135042)
Jochen Schmitt
s4504kr at fedoraproject.org
Fri Aug 29 19:42:57 UTC 2014
commit e482d9d032638e47c407e0cc1fc21b4dd4ae7616
Author: Jochen Schmitt <Jochen at herr-schmitt.de>
Date: Fri Aug 29 18:46:31 2014 +0200
Fix misplaced texinfo-install scriptlets (#1135042)
- Add Patch to fix broken texinfo file from upstream
- Add missing BR to texinfo
lightning-2.0.4-info.patch | 26 ++++++++++++++++++++++++++
lightning.spec | 19 ++++++++++++++-----
2 files changed, 40 insertions(+), 5 deletions(-)
---
diff --git a/lightning-2.0.4-info.patch b/lightning-2.0.4-info.patch
new file mode 100644
index 0000000..e825d33
--- /dev/null
+++ b/lightning-2.0.4-info.patch
@@ -0,0 +1,26 @@
+diff -U0 lightning-2.0.4/ChangeLog.inf lightning-2.0.4/ChangeLog
+diff -up lightning-2.0.4/doc/body.texi.inf lightning-2.0.4/doc/body.texi
+--- lightning-2.0.4/doc/body.texi.inf 2014-04-05 00:42:47.000000000 +0200
++++ lightning-2.0.4/doc/body.texi 2014-08-29 18:29:51.636654481 +0200
+@@ -1,4 +1,11 @@
+ @ifnottex
++ at dircategory Software development
++ at direntry
++* lightning: (lightning). Library for dynamic code generation.
++ at end direntry
++ at end ifnottex
++
++ at ifnottex
+ @node Top
+ @top @lightning{}
+
+diff -up lightning-2.0.4/doc/version.texi.inf lightning-2.0.4/doc/version.texi
+--- lightning-2.0.4/doc/version.texi.inf 2014-04-06 00:37:34.000000000 +0200
++++ lightning-2.0.4/doc/version.texi 2014-08-29 18:29:51.637654464 +0200
+@@ -1,4 +1,4 @@
+- at set UPDATED 24 January 2013
+- at set UPDATED-MONTH January 2013
++ at set UPDATED 29 August 2014
++ at set UPDATED-MONTH August 2014
+ @set EDITION 2.0.4
+ @set VERSION 2.0.4
diff --git a/lightning.spec b/lightning.spec
index 0049719..d4a88c1 100644
--- a/lightning.spec
+++ b/lightning.spec
@@ -1,13 +1,16 @@
Name: lightning
Version: 2.0.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Library for generating assembly code on run time
Group: Development/Libraries
License: LGPLv2+
URL: http://www.gnu.org/software/lightning/lightning.html
Source0: ftp://ftp.gnu.org/gnu/lightning/lightning-%{version}.tar.gz
+# Backport from upstream git repository to fix BZ #1135042
+Patch1: lightning-2.0.4-info.patch
+BuildRequires: texinfo
BuildRequires: binutils-devel
%ifnarch aarch64 ppc64le
BuildRequires: prelink
@@ -31,6 +34,7 @@ ligthing package
%prep
%setup -q
+%patch1 -p1 -b .inf
%build
%configure
@@ -47,12 +51,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT/%{_infodir}/dir
-%post
-/sbin/install-info %{_infodir}/lightning.info %{_infodir}/dir || :
+%post devel
+/sbin/install-info %{_infodir}/lightning.info.gz %{_infodir}/dir || :
-%preun
+%preun devel
if [ $1 = 0 ]; then
- /sbin/install-info --delete %{_infodir}/lightning.info %{_infodir}/dir || :
+ /sbin/install-info --delete %{_infodir}/lightning.info.gz %{_infodir}/dir || :
fi
%files
@@ -67,6 +71,11 @@ fi
%{_infodir}/lightning.info.gz
%changelog
+* Fri Aug 29 2014 Jochen Schmitt <Jochen herr-schmitt de> - 2.0.4-4
+- Fix misplaced texinfo-install scriptlets (#1135042)
+- Add Patch to fix broken texinfo file from upstream
+- Add missing BR to texinfo
+
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list