- don't use obsolete getops.pl
OBS-URL: https://build.opensuse.org/package/show/Publishing/openjade?expand=0&rev=8
This commit is contained in:
parent
d45246b528
commit
0472b5d344
20
openjade-1.3.2-getopts.patch
Normal file
20
openjade-1.3.2-getopts.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- ./msggen.pl.orig 2012-06-11 11:35:22.000000000 +0000
|
||||
+++ ./msggen.pl 2012-06-11 11:37:06.000000000 +0000
|
||||
@@ -4,6 +4,7 @@
|
||||
# See the file COPYING for copying permission.
|
||||
|
||||
use POSIX;
|
||||
+use Getopt::Std;
|
||||
|
||||
# Package and version.
|
||||
$package = 'openjade';
|
||||
@@ -18,8 +19,7 @@ $gen_c = 0;
|
||||
undef $opt_l;
|
||||
undef $opt_p;
|
||||
undef $opt_t;
|
||||
-do 'getopts.pl';
|
||||
-&Getopts('l:p:t:');
|
||||
+getopts('l:p:t:');
|
||||
$module = $opt_l;
|
||||
$pot_file = $opt_p;
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 11 13:39:17 CEST 2012 - mls@suse.de
|
||||
|
||||
- don't use obsolete getops.pl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 27 06:52:41 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add libtool as buildrequire to avoid implicit dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 26 11:19:51 UTC 2011 - idonmez@novell.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package openjade
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,15 +15,15 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: openjade
|
||||
BuildRequires: gcc-c++ libtool opensp-devel
|
||||
License: MIT
|
||||
Group: Productivity/Publishing/SGML
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
BuildRequires: opensp-devel
|
||||
Version: 1.3.2
|
||||
Release: 0
|
||||
Summary: DSSSL Engine for SGML Documents
|
||||
License: MIT
|
||||
Group: Productivity/Publishing/SGML
|
||||
Source: http://switch.dl.sourceforge.net/sourceforge/openjade/openjade-1.3.2.tar.bz2
|
||||
Source1: jade_style-sheet.dtd
|
||||
Source2: %{name}-README.SuSE
|
||||
@ -31,6 +31,7 @@ Patch1: openjade-1.3.1-autoconf.dif
|
||||
Patch2: openjade-1.3.2-makefile.patch
|
||||
Patch3: openjade-1.3.2-shared.patch
|
||||
Patch4: gcc46_default_ctors.patch
|
||||
Patch5: openjade-1.3.2-getopts.patch
|
||||
# Conflicts: jade_dsl
|
||||
Obsoletes: jade_dsl
|
||||
Provides: jade jade_dsl
|
||||
@ -67,9 +68,7 @@ Authors:
|
||||
Sebastian Rahtz <s.rahtz@elsevier.co.uk>
|
||||
|
||||
%package devel
|
||||
License: MIT
|
||||
Summary: DSSSL Engine (development package)
|
||||
Group: Productivity/Publishing/SGML
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
@ -108,6 +107,7 @@ cp %{S:2} README.SuSE
|
||||
%patch2 -p1
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
|
||||
%build
|
||||
# export CXXFLAGS='-O'
|
||||
|
Loading…
x
Reference in New Issue
Block a user