Hello community,

here is the log from the commit of package x3270 for openSUSE:Factory checked 
in at 2014-09-26 10:52:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/x3270 (Old)
 and      /work/SRC/openSUSE:Factory/.x3270.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "x3270"

Changes:
--------
--- /work/SRC/openSUSE:Factory/x3270/x3270.changes      2014-09-22 
09:21:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.x3270.new/x3270.changes 2014-09-26 
11:21:29.000000000 +0200
@@ -1,0 +2,10 @@
+Wed Sep 24 11:03:06 UTC 2014 - [email protected]
+
+- Version bump to 3.3.14 and update x026 to 1.2:
+  * For full change list read:
+    http://x3270.bgp.nu/documentation-relnotes.html
+- Remove suse readme which is totally pointless
+- Clean spec with spec-cleaner
+- Remove unused patch gcc4.diff
+
+-------------------------------------------------------------------

Old:
----
  README.SUSE
  gcc4.diff
  suite3270-3.3.12ga13-src.tgz
  x026-1.0.tgz

New:
----
  suite3270-3.3.14ga11-src.tgz
  x026-1.2.tgz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ x3270.spec ++++++
--- /var/tmp/diff_new_pack.fKz061/_old  2014-09-26 11:21:30.000000000 +0200
+++ /var/tmp/diff_new_pack.fKz061/_new  2014-09-26 11:21:30.000000000 +0200
@@ -16,10 +16,22 @@
 #
 
 
-%define appdefdir   %{_datadir}/X11
-
+%define _suffix ga11
+%define _fullname suite3270-%{version}%{_suffix}
+%define _x026ver 1.2
 Name:           x3270
-BuildRequires:  autoconf
+Version:        3.3.14
+Release:        0
+Summary:        A Family of IBM 3270 Terminal Emulators
+License:        MIT
+Group:          System/X11/Terminals
+Url:            http://x3270.bgp.nu
+Source0:        http://download.sourceforge.net/%{name}/%{_fullname}-src.tgz
+Source1:        http://download.sourceforge.net/%{name}/x026-%{_x026ver}.tgz
+Patch0:         mknod.patch
+Patch100:       usr_local_bin.patch
+Patch102:       x026-offset.diff
+Patch104:       pr3270-memleak.patch
 BuildRequires:  bdftopcf
 BuildRequires:  fdupes
 BuildRequires:  fontpackages-devel
@@ -29,20 +41,6 @@
 BuildRequires:  tcl-devel
 BuildRequires:  xorg-x11
 BuildRequires:  xorg-x11-devel
-Version:        3.3.12
-Release:        0
-Summary:        A Family of IBM 3270 Terminal Emulators
-License:        MIT
-Group:          System/X11/Terminals
-Url:            http://x3270.bgp.nu
-Source0:        suite3270-3.3.12ga13-src.tgz
-Source5:        README.SUSE
-Source6:        http://x3270.bgp.nu/download/x026-1.0.tgz
-Patch:          mknod.patch
-Patch100:       usr_local_bin.patch
-Patch102:       x026-offset.diff
-Patch104:       pr3270-memleak.patch
-Patch105:       gcc4.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -91,32 +89,27 @@
 # will also hold the common config.cache
 # -q uietly -c reate -name all3270
 # -a fter changing into all3270, expand sources
-%setup -q -c -n all3270 -T -a0 -a6
-%patch
+%setup -q -c -n all3270 -T -a0 -a1
+%patch0
 %patch100
 %patch102
 %patch104
-%patch105
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="%{optflags}"
 export LIBX3270DIR=%{_sysconfdir}/x3270
 # the tcl variant
 cd tcl3270-3.3
-    autoconf
     %configure \
        --cache-file=../config.cache \
-       --with-tcl=%tcl_version \
        --enable-ssl
-    make LIBX3270DIR=${LIBX3270DIR}
+    make %{?_smp_mflags} LIBX3270DIR=${LIBX3270DIR}
 cd ..
 # the X variant
 cd x3270-3.3
-    # pr3287 is built from the separate source pr3287*.tgz above.
     %configure \
        --cache-file=../config.cache \
        --enable-app-defaults \
-       --without-pr3287 \
        --x-includes=%{_includedir} \
        --x-libraries=%{_libdir} \
        --with-all-xinstall \
@@ -124,40 +117,37 @@
        --enable-ssl
     xmkmf -a
     make depend
-    make LIBX3270DIR=${LIBX3270DIR}
+    make %{?_smp_mflags} LIBX3270DIR=${LIBX3270DIR}
 cd ..
 # the console variant
 cd c3270-3.3
     %configure \
        --cache-file=../config.cache \
-       --without-pr3287 \
        --enable-ssl
-    make LIBX3270DIR=${LIBX3270DIR}
+    make %{?_smp_mflags} LIBX3270DIR=${LIBX3270DIR}
 cd ..
 # the scripting variant
 cd s3270-3.3
     %configure \
        --cache-file=../config.cache \
        --enable-ssl
-    make LIBX3270DIR=${LIBX3270DIR}
+    make %{?_smp_mflags} LIBX3270DIR=${LIBX3270DIR}
 cd ..
 # the printer
 cd pr3287-3.3
     %configure \
        --cache-file=../config.cache \
        --enable-ssl
-    make LIBX3270DIR=${LIBX3270DIR}
+    make %{?_smp_mflags} LIBX3270DIR=${LIBX3270DIR}
 cd ..
 # the IBM 026 keypunch emulator
-cd x026-1.0
+cd x026-%{_x026ver}
     xmkmf
-    make x026
+    make %{?_smp_mflags}
 cd ..
 
 %install
 export LIBX3270DIR=%{_sysconfdir}/x3270
-# abort on error
-set -e
 # create the default directory structure in the build root
 mkdir --parents %{buildroot}{%{_bindir},%{_mandir}/{man1,man5}}
 # the X variant
@@ -169,9 +159,9 @@
     # want in the package.  remove that:
     rm %{buildroot}%{_miscfontsdir}/fonts.dir
     install -d -m 755 \
-       %{buildroot}%{appdefdir}/app-defaults
+       %{buildroot}%{_datadir}/X11/app-defaults
     install -m 644 X3270.xad \
-       %{buildroot}%{appdefdir}/app-defaults/X3270
+       %{buildroot}%{_datadir}/X11/app-defaults/X3270
     # clean up:
     # remove remainders of patching the examples, if existing
     rm -v Examples/*.orig || true
@@ -197,34 +187,34 @@
     make DESTDIR=%{buildroot} LIBX3270DIR=${LIBX3270DIR} install.man
 cd ..
 # the IBM 026 keypunch emulator
-cd x026-1.0
-    make DESTDIR=%{buildroot} install
+cd x026-%{_x026ver}
+make DESTDIR=%{buildroot} install install.man
 cd ..
 # move site config files to the standard locations
-mkdir -p %{buildroot}/usr/lib/x3270
+mkdir -p %{buildroot}%{_libexecdir}/x3270
 # this is a per-site, not a per-machine config file
 chmod 644 %{buildroot}%{_sysconfdir}/x3270/ibm_hosts
-cp -a %{S:5} .
-# remove man-pages in /usr/man
-rm -rf %{buildroot}/usr/man/man{1,5}
 # set permissions correct
 chmod ugo-x %{buildroot}%{_mandir}/man{1,5}/*
 
 # copy the docs
-mkdir -p %{buildroot}%{_docdir}/%name
-cp -pr --parents x3270-3.3/{Examples,html,Playback} 
%{buildroot}%{_docdir}/%name
-cp -pr --parents c3270-3.3/html %{buildroot}%{_docdir}/%name
-cp -pr --parents pr3287-3.3/html %{buildroot}%{_docdir}/%name
-cp -pr --parents s3270-3.3/{Examples,html} %{buildroot}%{_docdir}/%name
-cp -pr --parents tcl3270-3.3/{Examples,html} %{buildroot}%{_docdir}/%name
+mkdir -p %{buildroot}%{_docdir}/%{name}
+cp -pr --parents Playback %{buildroot}%{_docdir}/%{name}
+cp -pr --parents x3270-3.3/{Examples,html} %{buildroot}%{_docdir}/%{name}
+cp -pr --parents c3270-3.3/html %{buildroot}%{_docdir}/%{name}
+cp -pr --parents pr3287-3.3/html %{buildroot}%{_docdir}/%{name}
+cp -pr --parents s3270-3.3/{Examples,html} %{buildroot}%{_docdir}/%{name}
+cp -pr --parents tcl3270-3.3/{Examples,html} %{buildroot}%{_docdir}/%{name}
 # create symlinks in documentation
 %fdupes -s %{buildroot}/%{_docdir} 
-%reconfigure_fonts_scriptlets
+%{reconfigure_fonts_scriptlets}
 
 %files
 %defattr(-,root,root,755)
 # common files
 %dir %{_sysconfdir}/x3270
+%dir %{_docdir}/%{name}
+%dir %{_docdir}/%{name}/*
 %config(noreplace) %{_sysconfdir}/x3270/ibm_hosts
 %doc %{_mandir}/man5/ibm_hosts.5.gz
 %doc %{_mandir}/man1/x3270if.1.gz
@@ -232,33 +222,33 @@
 %{_bindir}/x3270if
 # x3270
 %{_bindir}/x3270
-%{appdefdir}/app-defaults/X3270
+%{_datadir}/X11/app-defaults/X3270
 %dir %{_miscfontsdir}
 %{_miscfontsdir}/*
 %doc %{_mandir}/man1/x3270.1x.gz
-%doc %{_docdir}/%name/x3270-3.3/Examples
-%doc %{_docdir}/%name/x3270-3.3/html
-%doc %{_docdir}/%name/x3270-3.3/Playback
+%doc %{_docdir}/%{name}/x3270-3.3/Examples
+%doc %{_docdir}/%{name}/x3270-3.3/html
+%doc %{_docdir}/%{name}/Playback
 # c3270
 %{_bindir}/c3270
 %doc %{_mandir}/man1/c3270.1.gz
-%doc %{_docdir}/%name/c3270-3.3/html
+%doc %{_docdir}/%{name}/c3270-3.3/html
 # pr3287
 %{_bindir}/pr3287
 %doc %{_mandir}/man1/pr3287.1.gz
-%doc %{_docdir}/%name/pr3287-3.3/html
+%doc %{_docdir}/%{name}/pr3287-3.3/html
 # s3270
 %{_bindir}/s3270
 %doc %{_mandir}/man1/s3270.1.gz
-%doc %{_docdir}/%name/s3270-3.3/Examples
-%doc %{_docdir}/%name/s3270-3.3/html
+%doc %{_docdir}/%{name}/s3270-3.3/Examples
+%doc %{_docdir}/%{name}/s3270-3.3/html
 # tcl3270
 %{_bindir}/tcl3270
 %doc %{_mandir}/man1/tcl3270.1.gz
-%doc %{_docdir}/%name/tcl3270-3.3/Examples
-%doc %{_docdir}/%name/tcl3270-3.3/html
+%doc %{_docdir}/%{name}/tcl3270-3.3/Examples
+%doc %{_docdir}/%{name}/tcl3270-3.3/html
 # x026
 %{_bindir}/x026
-%doc README.SUSE
+%doc %{_mandir}/man1/x026.1x.gz
 
 %changelog

++++++ suite3270-3.3.12ga13-src.tgz -> suite3270-3.3.14ga11-src.tgz ++++++
/work/SRC/openSUSE:Factory/x3270/suite3270-3.3.12ga13-src.tgz 
/work/SRC/openSUSE:Factory/.x3270.new/suite3270-3.3.14ga11-src.tgz differ: char 
5, line 1

++++++ x026-1.0.tgz -> x026-1.2.tgz ++++++
++++ 3061 lines of diff (skipped)

++++++ x026-offset.diff ++++++
--- /var/tmp/diff_new_pack.fKz061/_old  2014-09-26 11:21:30.000000000 +0200
+++ /var/tmp/diff_new_pack.fKz061/_new  2014-09-26 11:21:30.000000000 +0200
@@ -1,10 +1,12 @@
---- x026-1.0/x026.c.orig       2003-07-29 10:03:36.000000000 +0200
-+++ x026-1.0/x026.c    2003-07-29 10:41:43.000000000 +0200
-@@ -114,32 +114,32 @@
+diff -urN x026-1.2/x026.c.old x026-1.2/x026.c
+--- x026-1.2/x026.c.old        2014-09-24 11:58:03.376699486 +0200
++++ x026-1.2/x026.c    2014-09-24 12:06:35.460699425 +0200
+@@ -419,34 +419,34 @@
  };
  
  /* Xt actions. */
 -static void data(Widget, XEvent *, String *, Cardinal *);
+-static void multi_punch_data(Widget, XEvent *, String *, Cardinal *);
 -static void delete_window(Widget, XEvent *, String *, Cardinal *);
 -static void home(Widget, XEvent *, String *, Cardinal *);
 -static void left(Widget, XEvent *, String *, Cardinal *);
@@ -15,6 +17,7 @@
 -static void insert_selection(Widget, XEvent *, String *, Cardinal *);
 -static void confirm(Widget, XEvent *, String *, Cardinal *);
 +static void x026_data(Widget, XEvent *, String *, Cardinal *);
++static void x026_multi_punch_data(Widget, XEvent *, String *, Cardinal *);
 +static void x026_delete_window(Widget, XEvent *, String *, Cardinal *);
 +static void x026_home(Widget, XEvent *, String *, Cardinal *);
 +static void x026_left(Widget, XEvent *, String *, Cardinal *);
@@ -32,6 +35,7 @@
  /* Actions. */
  XtActionsRec actions[] = {
 -      { "Data",       data },
+-      { "MultiPunchData", multi_punch_data },
 -      { "DeleteWindow", delete_window },
 -      { "Home",       home },
 -      { "Left",       left },
@@ -42,6 +46,7 @@
 -      { "insert-selection", insert_selection },
 -      { "confirm",    confirm }
 +      { "Data",       x026_data },
++      { "MultiPunchData", x026_multi_punch_data },
 +      { "DeleteWindow", x026_delete_window },
 +      { "Home",       x026_home },
 +      { "Left",       x026_left },
@@ -54,7 +59,7 @@
  };
  int actioncount = XtNumber(actions);
  
-@@ -389,7 +389,7 @@
+@@ -788,7 +788,7 @@
            XtNborderWidth, BUTTON_BW,
            XtNborderColor, appres.background,
            NULL);
@@ -63,7 +68,7 @@
  
        /* Create graphics contexts for drawing. */
        xgcv.foreground = appres.foreground;
-@@ -575,7 +575,7 @@
+@@ -955,7 +955,7 @@
  
  /* Redraw the entire card image. */
  static void
@@ -72,7 +77,7 @@
  {
        int i;
        Dimension x, y, w, h;
-@@ -641,7 +641,7 @@
+@@ -1027,7 +1027,7 @@
  
  /* Exit. */
  static void
@@ -81,7 +86,7 @@
  {
        exit(0);
  }
-@@ -696,6 +696,7 @@
+@@ -1082,6 +1082,7 @@
  #if defined(SOUND) /*[*/
                loud_click();
  #endif /*]*/
@@ -89,7 +94,7 @@
        }
  }
  
-@@ -841,7 +842,7 @@
+@@ -1222,7 +1223,7 @@
   */
  
  static void
@@ -98,7 +103,16 @@
  {
        XKeyEvent *kevent = (XKeyEvent *)event;
        char buf[10];
-@@ -858,19 +859,19 @@
+@@ -1236,7 +1237,7 @@
+ }
+ 
+ static void
+-multi_punch_data(Widget wid, XEvent *event, String *params, Cardinal 
*num_params)
++x026_multi_punch_data(Widget wid, XEvent *event, String *params, Cardinal 
*num_params)
+ {
+       XKeyEvent *kevent = (XKeyEvent *)event;
+       char buf[10];
+@@ -1250,19 +1251,19 @@
  }
  
  static void
@@ -121,7 +135,7 @@
  {
        int i;
  
-@@ -882,7 +883,7 @@
+@@ -1274,7 +1275,7 @@
  }
  
  static void
@@ -130,7 +144,7 @@
  {
        if (ccard->next) {
                ccard = ccard->next;
-@@ -892,7 +893,7 @@
+@@ -1284,7 +1285,7 @@
  }
  
  static void
@@ -139,7 +153,7 @@
  {
        int i;
  
-@@ -905,7 +906,7 @@
+@@ -1297,7 +1298,7 @@
  
  /* Throw away this card. */
  static void
@@ -148,7 +162,7 @@
  {
        int i;
  
-@@ -993,7 +994,7 @@
+@@ -1386,7 +1387,7 @@
  }
  
  static void
@@ -157,12 +171,12 @@
  {
        int     i;
        Atom    a;
-@@ -1115,7 +1116,7 @@
+@@ -1562,7 +1563,7 @@
  }
  
  static void
 -confirm(Widget w, XEvent *event, String *params, Cardinal *num_params)
 +x026_confirm(Widget w, XEvent *event, String *params, Cardinal *num_params)
  {
-       save_file();
+       save_file_ascii();
  }

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to