[packages/fbgetty] - fixes to build with texinfo 7; release 6

qboosh qboosh at pld-linux.org
Wed Apr 12 21:34:10 CEST 2023


commit 59c56b47f8f2cbad7477125cbafdbb0b30b337c4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 12 21:36:49 2023 +0200

    - fixes to build with texinfo 7; release 6

 fbgetty-info.patch | 16 +++++++++++++++-
 fbgetty.spec       | 14 +++++++-------
 2 files changed, 22 insertions(+), 8 deletions(-)
---
diff --git a/fbgetty.spec b/fbgetty.spec
index e548afb..2c3e098 100644
--- a/fbgetty.spec
+++ b/fbgetty.spec
@@ -2,7 +2,7 @@ Summary:	getty program for Linux framebuffer console
 Summary(pl.UTF-8):	Program getty dla linuksowej konsoli z framebufferem
 Name:		fbgetty
 Version:	0.1.698
-Release:	5
+Release:	6
 License:	GPL v2+
 Group:		Applications/System
 Source0:	http://projects.meuh.org/fbgetty/downloads/%{name}-%{version}.tar.gz
@@ -44,7 +44,7 @@ Możliwości:
 
 %build
 cp -f /usr/share/automake/config.* config
-CPPFLAGS="-Doffsetof=__builtin_offsetof"; export CPPFLAGS
+export CPPFLAGS="%{rpmcppflags} -Doffsetof=__builtin_offsetof"
 %configure
 %{__make}
 
@@ -57,15 +57,15 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p	/sbin/postshell
+%post	-p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-p	/sbin/postshell
+%postun	-p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO docs/*.txt
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*
-%{_infodir}/*.info*
+%attr(755,root,root) %{_sbindir}/fbgetty
+%{_mandir}/man8/fbgetty.8*
+%{_infodir}/fbgetty.info*
diff --git a/fbgetty-info.patch b/fbgetty-info.patch
index f83bdeb..0fda0b4 100644
--- a/fbgetty-info.patch
+++ b/fbgetty-info.patch
@@ -1,10 +1,11 @@
 --- fbgetty-0.1.698/docs/fbgetty.texi.orig	Sat Jul 21 21:55:23 2001
 +++ fbgetty-0.1.698/docs/fbgetty.texi	Fri Nov  1 17:47:41 2002
-@@ -7,9 +7,9 @@
+@@ -7,9 +7,10 @@
  
  @include version.texi
  
 - at dircategory Console Tools
++ at documentencoding ISO-8859-1
 + at dircategory Miscellaneous:
  @direntry
 -* fbgetty: (fbgetty).		A linux specific getty program
@@ -12,3 +13,16 @@
  @end direntry
  
  @ifinfo
+@@ -135,10 +136,10 @@ Display this @var{prompt} to invite.
+ @itemx --login-timeout=@var{timeout}
+ Set login timeout to @var{timeout}. This is for erasing login after a long time (security purpose).
+ 
+- at itemx --version
++ at item --version
+ Display version (only use in interactive mode: do not use it in the inittab)
+ 
+- at itemx --help
++ at item --help
+ Display the list of switch
+ @end table
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fbgetty.git/commitdiff/59c56b47f8f2cbad7477125cbafdbb0b30b337c4



More information about the pld-cvs-commit mailing list