Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tamil-gtk2im for openSUSE:Factory 
checked in at 2021-04-10 15:27:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tamil-gtk2im (Old)
 and      /work/SRC/openSUSE:Factory/.tamil-gtk2im.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tamil-gtk2im"

Sat Apr 10 15:27:48 2021 rev:21 rq:883992 version:2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/tamil-gtk2im/tamil-gtk2im.changes        
2011-11-28 12:58:11.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.tamil-gtk2im.new.2401/tamil-gtk2im.changes      
2021-04-10 15:28:53.106484876 +0200
@@ -1,0 +2,5 @@
+Fri Apr  9 07:42:21 UTC 2021 - Hillwood Yang <[email protected]>
+
+- Fix some macros in spec. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ tamil-gtk2im.spec ++++++
--- /var/tmp/diff_new_pack.TO7GpQ/_old  2021-04-10 15:28:53.570485422 +0200
+++ /var/tmp/diff_new_pack.TO7GpQ/_new  2021-04-10 15:28:53.570485422 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tamil-gtk2im
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,24 +12,22 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           tamil-gtk2im
-BuildRequires:  gtk2-devel libtool update-desktop-files
+BuildRequires:  gtk2-devel
+BuildRequires:  libtool
+BuildRequires:  update-desktop-files
 %define prefix /usr
 %define sysconfdir /etc
-License:        BSD-3-Clause
-Group:          System/GUI/GNOME
 Provides:       locale(gtk2:ta)
 PreReq:         /usr/bin/touch
 Requires:       gtk2
 Version:        2.2
-Release:        288
-Url:            http://tamillinux.sourceforge.net/projects/project/gtk2tamilim/
+Release:        0
+URL:            http://tamillinux.sourceforge.net/projects/project/gtk2tamilim/
 Source0:        
http://tamillinux.sourceforge.net/projects/project/gtk2tamilim/files/tamilgtk2im-src-2.2.tar.bz2
 Source1:        License
 Source2:        baselibs.conf
@@ -38,22 +36,22 @@
 Patch2:         tamilgtk2im-cflags.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        Tamil99 Keyboard Input module for GTK2
+License:        BSD-3-Clause
+Group:          System/GUI/GNOME
 %gtk2_immodule_requires
 
 %description
 Tamil99 Keyboard Input module for GTK2
 
-
-
 Authors:
 --------
     Dinesh Nadarajah <[email protected]>
 
 %prep
 %setup -q -n tamilgtk2im-src-%{version}
-cp $RPM_SOURCE_DIR/License .
+cp %{SOURCE1} .
 %patch
-%if %_lib == lib64
+%ifarch x86_64 riscv64 ppc64 ppc64le aarch64
 %patch1
 %endif
 %patch2
@@ -64,9 +62,8 @@
 ./compile-gtk2im.sh
 
 %install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{prefix}/%{_lib}/gtk-2.0/immodules
-install -m 755 ./.libs/*.{la,so} 
$RPM_BUILD_ROOT%{prefix}/%{_lib}/gtk-2.0/immodules
+mkdir -p %{buildroot}%{_libdir}/gtk-2.0/immodules
+install -m 755 ./.libs/*.{la,so} %{buildroot}%{_libdir}/gtk-2.0/immodules
 
 %post
 %gtk2_immodule_post
@@ -76,12 +73,10 @@
 %gtk2_immodule_postun
 /sbin/ldconfig
 
-%clean
-#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf 
$RPM_BUILD_ROOT;
-
 %files
 %defattr(-,root,root)
-%doc README License
-%{prefix}/%{_lib}/gtk-2.0/immodules
+%doc README
+%license License
+%{_libdir}/gtk-2.0/immodules
 
 %changelog

Reply via email to