Update config files and use autosetup

This commit is contained in:
Ondřej Sloup 2023-06-09 13:52:21 +02:00
parent e55dc694b9
commit 285d2b91dd
3 changed files with 2546 additions and 2183 deletions

1714
config.guess vendored

File diff suppressed because it is too large Load Diff

2963
config.sub vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,36 +1,44 @@
Summary: A DSSSL implementation Summary: A DSSSL implementation
Name: openjade Name: openjade
Version: 1.3.2 Version: 1.3.2
Release: 72%{?dist} Release: 73%{?dist}
Requires: sgml-common Requires: sgml-common
URL: http://openjade.sourceforge.net/ URL: http://openjade.sourceforge.net/
Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
#config.sub and config.guess from upstream sources (Mar 25th 2013).
#http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD # I can't get them from autoreconf, because of the very strange openjade structure of config files
#http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # 'config.sub' and 'config.guess' from upstream sources (2023-01-21 and 2023-01-01 respectivelly).
#I can't get them from autoreconf, because of the very strange openjade structure of config files # https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
Source2:config.guess Source2: config.guess
Source3:config.sub # https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
#fix build on ppc64 Source3: config.sub
# Fix build on ppc64
Patch0: openjade-ppc64.patch Patch0: openjade-ppc64.patch
#do not link against -lnsl
# Do not link against -lnsl
Patch1: openjade-1.3.1-nsl.patch Patch1: openjade-1.3.1-nsl.patch
#Fix dependent libs for libogrove (bug #198232).
# Fix dependent libs for libogrove (bug #198232).
Patch2: openjade-deplibs.patch Patch2: openjade-deplibs.patch
#do not require OpenSP libosp.la file for build(#485114)
# Do not require OpenSP libosp.la file for build(#485114)
Patch3: openjade-nola.patch Patch3: openjade-nola.patch
#upstream bug tracker fix for build with gcc46
# Upstream bug tracker fix for build with gcc46
Patch4: openjade-1.3.2-gcc46.patch Patch4: openjade-1.3.2-gcc46.patch
#use Getopt:Std to prevent build failure
# Use Getopt:Std to prevent build failure
Patch5: openjade-getoptperl.patch Patch5: openjade-getoptperl.patch
Patch6: openjade-configure-c99.patch Patch6: openjade-configure-c99.patch
License: DMIT License: DMIT
#Last jade version is from Red Hat 6.2 # Last jade version is from Red Hat 6.2
Provides: jade = %{version}-%{release} Provides: jade = %{version}-%{release}
BuildRequires: make BuildRequires: make
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: opensp-devel BuildRequires: opensp-devel
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
@ -45,16 +53,8 @@ command-line application and a set of components. The DSSSL engine
inputs an SGML or XML document and can output a variety of formats: inputs an SGML or XML document and can output a variety of formats:
XML, RTF, TeX, MIF (FrameMaker), SGML, or XML. XML, RTF, TeX, MIF (FrameMaker), SGML, or XML.
%prep %prep
%setup -q %autosetup -n %{name}-%{version} -p1
%patch0 -p1
%patch1 -p1
%patch2 -p1 -b .deplibs
%patch3 -p1 -b .nola
%patch4 -p1 -b .gcc46
%patch5 -p1 -b .getopt
%patch6 -p1 -b .configure-c99
%build %build
@ -113,6 +113,10 @@ export QA_RPATHS=0x0001
%{_datadir}/sgml/%{name}-%{version} %{_datadir}/sgml/%{name}-%{version}
%changelog %changelog
* Thu Jun 08 2023 Ondrej Sloup <osloup@redhat.com> - 1.3.2-73
- Use %autosetup instead of deprecated %patchN
- Update config.sub and config.guess files
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-72 * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild