Hello community, here is the log from the commit of package ooRexx for openSUSE:Factory checked in at 2013-04-12 20:35:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ooRexx (Old) and /work/SRC/openSUSE:Factory/.ooRexx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ooRexx", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2013-04-05 00:01:41.916011506 +0200 +++ /work/SRC/openSUSE:Factory/.ooRexx.new/ooRexx.changes 2013-04-12 20:35:10.000000000 +0200 @@ -0,0 +1,25 @@ +------------------------------------------------------------------- +Tue Apr 9 23:36:55 UTC 2013 - [email protected] + +- SPEC formatting tweaks. + +------------------------------------------------------------------- +Mon Apr 8 03:16:45 UTC 2013 - [email protected] + +- adding exception for rpmlint. Build date in the interpreter is historical, cannot remove. + +------------------------------------------------------------------- +Sun Apr 7 00:09:58 UTC 2013 - [email protected] + +- cleanups for Factory. + +------------------------------------------------------------------- +Tue Oct 16 23:28:15 UTC 2012 - [email protected] + +- adding patches and spec fixes necessary for correct building. + +------------------------------------------------------------------- +Fri Oct 12 19:14:14 UTC 2012 - [email protected] + +- initial build based on release version 4.1.1 from oorexx.org. + New: ---- fixes-rpmlint.patch ooRexx-4.1.2.source.tar.bz2 ooRexx.changes ooRexx.spec rpmlintrc set_default_rexx_path.patch update_init_script.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ooRexx.spec ++++++ # # spec file for package ooRexx # # Copyright (c) 2013 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if 0%{?_unknownos} %define _unknownos 0 %endif # Red Hat %if 0%{?_redhat} # Currently RH does not define these like Fedora does, but they might in the future. # So we define them using the contents of the release file. %define build_distro rhel %if %(if grep -q "release 5.5" /etc/redhat-release; then echo 1; else echo 0; fi;) %define build_version 55 %endif %if %(if grep -q "release 5.6" /etc/redhat-release; then echo 1; else echo 0; fi;) %define build_version 56 %endif %if %(if grep -q "release 6.0" /etc/redhat-release; then echo 1; else echo 0; fi;) %define build_version 60 %endif %if %(if grep -q "release 6.1" /etc/redhat-release; then echo 1; else echo 0; fi;) %define build_version 61 %endif %if %(if grep -q "release 6.2" /etc/redhat-release; then echo 1; else echo 0; fi;) %define build_version 62 %endif %define _osdistname %{build_distro}%{build_version} %define _unknownos 0 %endif # SuSE %if 0%{?_suse} %define build_distro %(grep -q "openSUSE" /etc/SuSE-release && echo opensuse || echo sles) %define build_version %{suse_version} %define _osdistname %{build_distro}%{build_version} %define _unknownos 0 %endif # This is the default %if 0%{?_unknownos} %define build_distro unknown %define build_version 0 %define _osdistname %{build_distro}%{build_version} %endif #****************************************************************************** # The base spec tags #****************************************************************************** Name: ooRexx Prefix: /usr Version: 4.1.2 Release: 26.1 Summary: Open Object Rexx License: CPL-1.0 Group: Development/Languages/Other Url: http://www.oorexx.org/ Source: %{name}-%{version}.source.tar.bz2 # If we don't include the following option we get bogus dependencies generated AutoReq: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: bison BuildRequires: dos2unix BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig Patch0: fixes-rpmlint.patch Patch1: set_default_rexx_path.patch Patch2: update_init_script.patch # Specify the libtool library version # The order of these looks wrong, but that is how it comes out! %define orx_libversion 4.0.4 %package devel Summary: Open Object Rexx development files Group: Development/Languages/Other Requires: %{name} Requires: glibc-devel #****************************************************************************** %description #****************************************************************************** Open Object Rexx is an object-oriented scripting language. The language is designed for both beginners and experienced Rexx programmers. It is easy to learn and use, and provides an excellent vehicle to enter the world of object-oriented programming without much effort. It extends the procedural way of Rexx programming with object-oriented features that allow you to gradually change your programming style as you learn more about objects. For more information on ooRexx, visit http://www.oorexx.org/ For more information on Rexx, visit http://www.rexxla.org/ #****************************************************************************** %description devel This package contains headers and files needed for developing extensions for Open Object Rexx. #****************************************************************************** %prep #****************************************************************************** %setup -q %patch0 -p0 %patch1 -p1 %patch2 -p1 %{?suse_update_config:%{suse_update_config -f}} autoreconf -fvi #****************************************************************************** %build #****************************************************************************** export CFLAGS="$CFLAGS $RPM_OPT_FLAGS" ./configure --disable-static --prefix=%{_prefix} make %{?_smp_mflags} libdir=%{_libdir} pkgdatadir=%{_datadir}/ooRexx cat > rpmmacros.rexx << EOF %_ooRexx $(echo %{version} | cut -d. -f1) %_rexxclassdir %{_datadir}/ooRexx %_rexxlibdir %{_libdir}/ooRexx EOF cat > %{name}.pc << EOF prefix=%{_prefix} exec_prefix=%{_prefix} libdir=%{_libdir} includedir=%{_includedir} %{name}_binary_version=%{version} %{name}_major=$(echo %{version} | cut -d. -f1) %{name}_minor=$(echo %{version} | cut -d. -f2) Name: %{name} Description: Open Object Rexx Version: %{version} Libs: -L\${libdir}/ooRexx -lrexx -lrexxapi Cflags: -I\${includedir} EOF #****************************************************************************** %install #****************************************************************************** make DESTDIR=${RPM_BUILD_ROOT} libdir=%{_libdir} mandir=%{_mandir} pkgdatadir=%{_datadir}/ooRexx install # REXX system-wide RPM macros mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rpm install -m 644 rpmmacros.rexx $RPM_BUILD_ROOT/%{_sysconfdir}/rpm/macros.rexx # PKGconfig file mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig install -m 644 %{name}.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/%{name}.pc # Add links for some ooRexx scripts cd $RPM_BUILD_ROOT/%{_bindir} ln -sf %{_datadir}/ooRexx/rexxtry.rex . mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d echo %{_libdir}/ooRexx > $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d/ooRexx.conf mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/init.d cd $RPM_BUILD_ROOT/%{_sysconfdir}/init.d ln -s %{_bindir}/rxapid oorexx-api # SUSE-style link for the init script mkdir $RPM_BUILD_ROOT/sbin cd $RPM_BUILD_ROOT/sbin ln -s /%{_sysconfdir}/init.d/oorexx-api rcoorexx-api # Fix EOL in classes if needed for f in $RPM_BUILD_ROOT/%{_datadir}/ooRexx/*cls; do dos2unix $f done # strip all binaries BINARIES="rxsubcom rexx rexximage rxapi rexxc rxqueue" for f in $BINARIES; do strip -s $RPM_BUILD_ROOT/%{_bindir}/$f; done #****************************************************************************** %clean #****************************************************************************** rm -rf $RPM_BUILD_ROOT #****************************************************************************** %files #****************************************************************************** %defattr(-,root,root,-) %doc %dir %{_libdir}/ooRexx %dir %{_datadir}/ooRexx %config %{_sysconfdir}/ld.so.conf.d/ooRexx.conf %config %{_sysconfdir}/rpm/macros.rexx %{_sysconfdir}/init.d/oorexx-api /sbin/rcoorexx-api %{_bindir}/rexx %{_bindir}/rexxc %{_bindir}/rxapi %{_bindir}/rxapid %{_bindir}/rxqueue %{_bindir}/rxsubcom %{_bindir}/rexximage %{_bindir}/rexx.img %{_bindir}/rexx.cat %{_bindir}/rexxtry.rex %{_datadir}/ooRexx/rxregexp.cls %{_datadir}/ooRexx/rxftp.cls %{_datadir}/ooRexx/csvStream.cls %{_datadir}/ooRexx/socket.cls %{_datadir}/ooRexx/streamsocket.cls %{_datadir}/ooRexx/mime.cls %{_datadir}/ooRexx/smtp.cls %{_libdir}/ooRexx/librexx.so %{_libdir}/ooRexx/librexx.so.4 %{_libdir}/ooRexx/librexx.so.%{orx_libversion} %{_libdir}/ooRexx/librexxapi.so %{_libdir}/ooRexx/librexxapi.so.4 %{_libdir}/ooRexx/librexxapi.so.%{orx_libversion} %{_libdir}/ooRexx/librxsock.so %{_libdir}/ooRexx/librxsock.so.4 %{_libdir}/ooRexx/librxsock.so.%{orx_libversion} %{_libdir}/ooRexx/librxmath.so %{_libdir}/ooRexx/librxmath.so.4 %{_libdir}/ooRexx/librxmath.so.%{orx_libversion} %{_libdir}/ooRexx/librxregexp.so %{_libdir}/ooRexx/librxregexp.so.4 %{_libdir}/ooRexx/librxregexp.so.%{orx_libversion} %{_libdir}/ooRexx/librexxutil.so %{_libdir}/ooRexx/librexxutil.so.4 %{_libdir}/ooRexx/librexxutil.so.%{orx_libversion} %{_libdir}/ooRexx/libhostemu.so %{_libdir}/ooRexx/libhostemu.so.4 %{_libdir}/ooRexx/libhostemu.so.%{orx_libversion} %{_libdir}/ooRexx/librxunixsys.so %{_libdir}/ooRexx/librxunixsys.so.4 %{_libdir}/ooRexx/librxunixsys.so.%{orx_libversion} %{_mandir}/man1/rexx.1.gz %{_mandir}/man1/rexxc.1.gz %{_mandir}/man1/rxsubcom.1.gz %{_mandir}/man1/rxqueue.1.gz %{_datadir}/ooRexx/rexx.sh %{_datadir}/ooRexx/rexx.csh %{_datadir}/ooRexx/*.rex %{_datadir}/ooRexx/readme #****************************************************************************** %files devel %defattr(-,root,root,-) %{_bindir}/oorexx-config %{_mandir}/man1/oorexx-config.1.gz %{_includedir}/rexx.h %{_includedir}/rexxapidefs.h %{_includedir}/rexxapitypes.h %{_includedir}/rexxplatformapis.h %{_includedir}/rexxplatformdefs.h %{_includedir}/oorexxapi.h %{_includedir}/oorexxerrors.h %{_libdir}/ooRexx/librexx.la %{_libdir}/ooRexx/librexxapi.la %{_libdir}/ooRexx/librxsock.la %{_libdir}/ooRexx/librxmath.la %{_libdir}/ooRexx/librxregexp.la %{_libdir}/ooRexx/librexxutil.la %{_libdir}/ooRexx/libhostemu.la %{_libdir}/ooRexx/librxunixsys.la %{_libdir}/pkgconfig/%{name}.pc %post # Add the rxapi service %fillup_and_insserv oorexx-api ldconfig exit 0 #****************************************************************************** %preun #****************************************************************************** %postun #****************************************************************************** %restart_on_update oorexx-api %insserv_cleanup #****************************************************************************** %changelog ++++++ fixes-rpmlint.patch ++++++ --- extensions/hostemu/cmdparse.ypp-orig 2012-10-16 19:27:36.189511851 -0300 +++ extensions/hostemu/cmdparse.ypp 2012-10-16 19:28:21.868515032 -0300 @@ -286,6 +286,7 @@ ulNumSym++; return kwsearch (token); } + return 0; } --- interpreter/platform/unix/SysFileSystem.cpp-orig 2012-10-16 19:18:52.148476270 -0300 +++ interpreter/platform/unix/SysFileSystem.cpp 2012-10-16 19:19:27.348478683 -0300 @@ -413,7 +413,7 @@ strncpy(tempName, name, sizeof(tempName)); if (extension != NULL) { - strncat(tempName, extension, sizeof(tempName)); + strncat(tempName, extension, sizeof(tempName)-strlen(tempName)-1); } // only do the direct search if this is qualified enough that ++++++ rpmlintrc ++++++ # files required for the ooRexx runtime, they are not C sources addFilter("devel-file-in-non-devel-package.*/usr/lib.*") # this is not a script, just a readme addFilter("script-without-shebang.*/readme.*") # these are REXX class files, not standalone scripts. The interpreter looks for them in /usr/bin. Don't ask. addFilter("script-without-shebang.*/streamsocket.cls.*") addFilter("script-without-shebang.*/rxftp.cls.*") addFilter("script-without-shebang.*/socket.cls.*") addFilter("script-without-shebang.*/smtp.cls.*") addFilter("script-without-shebang.*/mime.cls.*") addFilter("script-without-shebang.*/csvStream.cls.*") addFilter("script-without-shebang.*/rxregexp.cls.*") # cannot take out the current date from the .so for historical reasons, # as one of the fields returned by the command 'PARSE VERSION' is the # interpreter's build date. # # see: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ3A320/3.14?SHELF=IKJOSE20&DT=20000113164209 for reference. addFilter("file-contains-current-date.*/librexx.so.*") ++++++ set_default_rexx_path.patch ++++++ diff -Naur ooRexx-4.1.1/interpreter/platform/unix/SysInterpreterInstance.cpp ooRexx-4.1.1/interpreter/platform/unix/SysInterpreterInstance.cpp --- ooRexx-4.1.1/interpreter/platform/unix/SysInterpreterInstance.cpp 2012-07-18 01:30:52.000000000 -0300 +++ ooRexx-4.1.1/interpreter/platform/unix/SysInterpreterInstance.cpp 2012-10-23 14:23:49.638038539 -0200 @@ -102,6 +102,13 @@ size_t parentSize = parentDir == NULL ? 0 : strlen(parentDir); size_t extensionSize = extensionPath == NULL ? 0 : strlen(extensionPath); +#ifdef PKGDATADIR + if(!rexxPath) + { + rexxPath=PKGDATADIR; + rexxPathSize = strlen(rexxPath); + } +#endif // PKGDATADIR // enough room for separators and a terminating null path = (char *)SystemInterpreter::allocateResultMemory(sysPathSize + rexxPathSize + parentSize + extensionSize + 16); --- ooRexx-4.1.2/Makefile.am 2012-11-12 11:33:27.064531823 -0200 +++ ooRexx-4.1.2/Makefile.am 2012-11-12 11:36:21.679707043 -0200 @@ -155,7 +155,8 @@ COMMON_CPPFLAGS = -DORX_VER=$(ORX_MAJOR) -DORX_REL=$(ORX_MINOR) -DORX_MOD=$(ORX_MOD_LVL) -DORX_FIX=0 \ -DORX_SYS_STR=\"@ORX_SYS_STR@\" \ -DORX_CATDIR=\"$(catdir)\" \ - -DORX_SHARED_LIBRARY_EXT=\"@ORX_SHARED_LIBRARY_EXT@\" + -DORX_SHARED_LIBRARY_EXT=\"@ORX_SHARED_LIBRARY_EXT@\" \ + -DPKGDATADIR=\"$(pkgdatadir)\" messageXML = $(build_messages_dir)/rexxmsg.xml @@ -1062,13 +1063,13 @@ $(install_sh_SCRIPT) rexx.cat $(DESTDIR)$(catdir)/rexx.cat; \ fi $(install_sh_SCRIPT) $(build_os_platform_dir)/oorexx-config $(DESTDIR)$(prefix)/bin/oorexx-config - $(install_sh_SCRIPT) $(build_extensions_rxregexp_dir)/rxregexp.cls $(DESTDIR)$(prefix)/bin/rxregexp.cls - $(install_sh_SCRIPT) $(build_extensions_rxftp_dir)/rxftp.cls $(DESTDIR)$(prefix)/bin/rxftp.cls - $(install_sh_SCRIPT) $(build_extensions_csvstream_dir)/csvStream.cls $(DESTDIR)$(prefix)/bin/csvStream.cls - $(install_sh_SCRIPT) $(build_extensions_rxsock_dir)/socket.cls $(DESTDIR)$(prefix)/bin/socket.cls - $(install_sh_SCRIPT) $(build_extensions_rxsock_dir)/streamsocket.cls $(DESTDIR)$(prefix)/bin/streamsocket.cls - $(install_sh_SCRIPT) $(build_extensions_rxsock_dir)/mime.cls $(DESTDIR)$(prefix)/bin/mime.cls - $(install_sh_SCRIPT) $(build_extensions_rxsock_dir)/smtp.cls $(DESTDIR)$(prefix)/bin/smtp.cls + $(install_sh_SCRIPT) $(build_extensions_rxregexp_dir)/rxregexp.cls $(DESTDIR)$(pkgdatadir)/rxregexp.cls + $(install_sh_SCRIPT) $(build_extensions_rxftp_dir)/rxftp.cls $(DESTDIR)$(pkgdatadir)/rxftp.cls + $(install_sh_SCRIPT) $(build_extensions_csvstream_dir)/csvStream.cls $(DESTDIR)$(pkgdatadir)/csvStream.cls + $(install_sh_SCRIPT) $(build_extensions_rxsock_dir)/socket.cls $(DESTDIR)$(pkgdatadir)/socket.cls + $(install_sh_SCRIPT) $(build_extensions_rxsock_dir)/streamsocket.cls $(DESTDIR)$(pkgdatadir)/streamsocket.cls + $(install_sh_SCRIPT) $(build_extensions_rxsock_dir)/mime.cls $(DESTDIR)$(pkgdatadir)/mime.cls + $(install_sh_SCRIPT) $(build_extensions_rxsock_dir)/smtp.cls $(DESTDIR)$(pkgdatadir)/smtp.cls if test "$(ORX_SYS_STR)" != "AIX" -a "$(ORX_SYS_STR)" != "MACOSX"; then \ $(install_sh_SCRIPT) $(rexxapi_server_unix_dir)/rxapid $(DESTDIR)$(prefix)/bin/rxapid; \ fi ++++++ update_init_script.patch ++++++ ++++ 718 lines (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
