SHA256
3
0
forked from pool/texinfo

- Delete info-dir as not required anymore

- Mark /usr/share/info/dir as %ghost

- Add a rpmlintrc file to silent useless warnings

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texinfo?expand=0&rev=57
This commit is contained in:
Dominique Leuenberger 2019-10-25 16:37:47 +00:00 committed by Git OBS Bridge
parent 84aa727c4e
commit 2fded67238
4 changed files with 21 additions and 27 deletions

View File

@ -1,23 +0,0 @@
This is the file /usr/share/info/dir, which contains the
topmost node of the Info hierarchy, called (dir)Top.
The first time you invoke Info you start off looking at this node.

File: dir, Node: Top This is the top of the INFO tree
This (the Directory node) gives a menu of major topics.
Typing "q" exits, "?" lists all Info commands, "d" returns here,
"h" gives a primer for first-timers,
"mEmacs<Return>" visits the Emacs manual, etc.
In Emacs, you can click mouse button 2 on a menu item or cross reference
to select it.
* Menu:
Utilities
* Bash: (bash). The GNU Bourne-Again SHell.
Libraries
* History: (history). The GNU history library API
* Readline: (readline). The GNU readline library API

4
texinfo-rpmlintrc Normal file
View File

@ -0,0 +1,4 @@
addFilter(".*W:.*ghost-files-without-postin.*")
addFilter(".*W:.*info-files-without-install-info-post.*")
addFilter(".*W:.*name-repeated-in-summary.*")
addFilter(".*W:.*no-binary.*")

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Oct 17 07:30:27 UTC 2019 - Dr. Werner Fink <werner@suse.de>
- Delete info-dir as not required anymore
-------------------------------------------------------------------
Mon Sep 30 08:14:13 UTC 2019 - Dr. Werner Fink <werner@suse.de>
- Mark /usr/share/info/dir as %ghost
-------------------------------------------------------------------
Mon Sep 30 07:11:54 UTC 2019 - Dr. Werner Fink <werner@suse.de>
- Add a rpmlintrc file to silent useless warnings
-------------------------------------------------------------------
Fri Sep 27 14:29:01 UTC 2019 - Ludwig Nussel <lnussel@suse.de>

View File

@ -28,7 +28,7 @@ URL: https://www.gnu.org/software/texinfo/
Source0: https://ftp.gnu.org/pub/gnu/texinfo/texinfo-%{version}.tar.xz
Source1: https://ftp.gnu.org/pub/gnu/texinfo/texinfo-%{version}.tar.xz.sig
Source2: %{name}.keyring
Source10: info-dir
Source42: %{name}-rpmlintrc
Patch1: texinfo-zlib.patch
Patch2: install-info_exitcode.patch
BuildRequires: automake
@ -131,8 +131,6 @@ mkdir -p %{buildroot}/sbin
mv %{buildroot}%{_bindir}/install-info %{buildroot}/sbin/
ln -sf ../../sbin/install-info %{buildroot}%{_bindir}/install-info
install -m 644 %{SOURCE10} %{buildroot}%{_infodir}/dir
%find_lang %{name} %{name}.lang
%find_lang %{name}_document %{name}_document.lang
@ -218,7 +216,7 @@ end
%files -n info
%defattr(-,root,root,0755)
%config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir
%ghost %verify(not md5 size mtime) %{_infodir}/dir
/sbin/install-info
%{_bindir}/install-info
%{_bindir}/info