Tomohiro "Tomo-p" KATO 2 anni fa
parent
commit
08c3f37a86
1 ha cambiato i file con 21 aggiunte e 24 eliminazioni
  1. 21 24
      d/docbook2X/docbook2X-vl.spec

+ 21 - 24
d/docbook2X/docbook2X-vl.spec

@@ -1,22 +1,20 @@
 Name:           docbook2X
-Version:        0.8.8
-Release:        5%{?_dist_release}
 Summary:        Convert DocBook documents into man and Texinfo
 Summary(ja):    DocBook ドキュメントを man と Texinfo へ変換
-
-Group:          Applications/Text
-License:        BSD
-URL:            http://docbook2x.sourceforge.net/
-Source0:        http://downloads.sourceforge.net/docbook2x/docbook2X-%{version}.tar.gz
-
+Version:        0.8.8
+Release:        6%{?_dist_release}
+Group:          publishing
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
-Patch0:        01_fix_static_datadir_evaluation.patch
-Patch1:        02_fix_418703_dont_use_abbreviated_sfnet_address.patch
-Patch2:        03_fix_420153_filename_whitespace_handling.patch
-Patch3:        04_fix_442782_preprocessor_declaration_syntax.patch
-Patch4:        05_fix_439214_error_on_missing_refentry.patch
+License:        BSD
+URL:            https://docbook2x.sourceforge.net/
+Source0:        https://downloads.sourceforge.net/docbook2x/docbook2X-%{version}.tar.gz
+Patch0:         01_fix_static_datadir_evaluation.patch
+Patch1:         02_fix_418703_dont_use_abbreviated_sfnet_address.patch
+Patch2:         03_fix_420153_filename_whitespace_handling.patch
+Patch3:         04_fix_442782_preprocessor_declaration_syntax.patch
+Patch4:         05_fix_439214_error_on_missing_refentry.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
@@ -25,9 +23,6 @@ BuildRequires:  perl libxslt openjade texinfo opensp
 BuildRequires:  perl-XML-SAX
 # rpmlint isn't happy with libxslt, but we need xsltproc
 Requires:       libxslt openjade texinfo %{_bindir}/sgml2xml
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
 
 %description
 docbook2X converts DocBook documents into man pages and Texinfo
@@ -37,6 +32,10 @@ documents.
 docbook2X は DocBook ドキュメントを man ページと Texinfo ドキュメントへ
 変換します。
 
+
+%debug_package
+
+
 %prep
 %setup -q
 %patch0 -p1
@@ -45,6 +44,7 @@ docbook2X は DocBook ドキュメントを man ページと Texinfo ドキュ
 %patch3 -p1
 %patch4 -p1
 
+
 %build
 # to avoid clashing with docbook2* from docbook-utils
 %configure --program-transform-name='s/docbook2/db2x_docbook2/'
@@ -64,13 +64,6 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
-
-%preun
-if [ $1 = 0 ]; then
-   /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
-fi
 
 %files
 %defattr(-,root,root,-)
@@ -95,8 +88,12 @@ fi
 
 
 %changelog
+* Thu Oct 06 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.8.8-6
+- rebuilt with perl-5.34.
+- dropped install-info scriptlets.
+
 * Mon Sep 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.8.8-5
-- rebuild with perl-5.26.
+- rebuilt with perl-5.26.
 
 * Wed Jul  8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.8.8-4
 - rebuilt to fix dependency.