Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package genders for openSUSE:Factory checked in at 2022-07-26 19:45:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/genders (Old) and /work/SRC/openSUSE:Factory/.genders.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "genders" Tue Jul 26 19:45:01 2022 rev:9 rq:991032 version:1.27.3 Changes: -------- --- /work/SRC/openSUSE:Factory/genders/genders.changes 2020-01-07 23:56:12.608120282 +0100 +++ /work/SRC/openSUSE:Factory/.genders.new.1533/genders.changes 2022-07-26 19:45:03.793882234 +0200 @@ -1,0 +2,5 @@ +Mon Jul 25 12:25:49 UTC 2022 - Christian Goll <[email protected]> + +- remove the hard coded rpath explicitly + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ genders.spec ++++++ --- /var/tmp/diff_new_pack.7eNWAh/_old 2022-07-26 19:45:04.373792623 +0200 +++ /var/tmp/diff_new_pack.7eNWAh/_new 2022-07-26 19:45:04.377792005 +0200 @@ -1,7 +1,7 @@ # # spec file for package genders # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,6 +40,9 @@ BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: lua-devel +BuildRequires: patchelf +BuildRequires: python +BuildRequires: python-devel BuildRequires: python3 BuildRequires: python3-devel BuildRequires: perl(ExtUtils::MakeMaker) @@ -77,13 +80,13 @@ %description devel genders headers and libraries files needed for development -%package -n python3-%{name} +%package -n python-%{name} Summary: Python bindings for genders Group: Development/Languages/Python Requires: %{name} = %{version} Requires: python -%description -n python3-%{name} +%description -n python-%{name} Necessary files for using genders with Python. %package -n lua-%{name} @@ -135,22 +138,19 @@ %if %{?_with_perl_vendor_arch:1}%{!?_with_perl_vendor_arch:0} %define _perldir %(perl -e 'use Config; $T=$Config{installvendorarch}; $P=$Config{vendorprefix}; $T=~/$P\\/(.*)/; print "%{_prefix}/$1\\n"') %endif + %prep %setup -c -q -n %{name}-%{version} mv genders-genders-%{slash_ver}/* . rm -r genders-genders-%{slash_ver} -%patch1 -p1 -%patch2 -p1 -%patch4 -p1 +%autopatch -p1 %build aclocal --force --install -I config libtoolize -f -i automake -a -f autoconf --force -mkdir -p bin/ -ln -s $(which python3) bin/python -export PATH=$(pwd)/bin/:${PATH} +export GENDERS_LIBDIR=%{_libdir} %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ %{?_with_perl_extensions} \ %{?_without_perl_extensions} \ @@ -185,7 +185,6 @@ rm -v %{buildroot}%{_libdir}/libgendersplusplus.la %endif rm -v %{buildroot}%{_libdir}/libgenders.la -rm -rv %{buildroot}%{_libdir}/python*/site-packages/__pycache__ find %{buildroot}%{_libdir}/lua -name \*.la -delete mkdir -p %{buildroot}%{_sysconfdir} # create sample config, but remove comments @@ -207,6 +206,11 @@ LD_PRELOAD=%{buildroot}%{_libdir}/libgenders.so.0 %{buildroot}%{_bindir}/nodeattr -f genders.sample --compress >> %{buildroot}%{_sysconfdir}/genders sed -i -e 's/^\([^#]\)/## \1/' %{buildroot}%{_sysconfdir}/genders +# remove rpath the hard way +brklib=$(find %{buildroot} -name Libgenders.so -print) +chmod 644 $brklib +patchelf --remove-rpath $brklib +chmod 444 $brklib %post -n lib%{name}plusplus%{cpp_api} -p /sbin/ldconfig @@ -243,7 +247,7 @@ %{_mandir}/man3/libgenders* %if %{?_with_python_extensions:1}%{!?_with_python_extensions:0} -%files -n python3-%{name} +%files -n python-%{name} %{_libdir}/python* %endif ++++++ lua_bindings.patch ++++++ --- /var/tmp/diff_new_pack.7eNWAh/_old 2022-07-26 19:45:04.405787679 +0200 +++ /var/tmp/diff_new_pack.7eNWAh/_new 2022-07-26 19:45:04.413786443 +0200 @@ -1,3 +1,27 @@ +From 93e668aa34d1315140349217cb39563c78b33fe2 Mon Sep 17 00:00:00 2001 +From: Christian Goll <[email protected]> +Date: Fri, 22 Jul 2022 14:39:37 +0200 +Subject: [PATCH 1/2] added lua bindings + +--- + config/ac_lua_extensions.m4 | 21 ++ + config/x_ac_lua.m4 | 60 ++++ + configure.ac | 21 ++ + genders.spec | 110 ++++++ + src/extensions/Makefile.am | 2 +- + .../lua/GendersTest/GendersTest.lua | 134 ++++++++ + src/extensions/lua/GendersTest/testgenders | 21 ++ + src/extensions/lua/Makefile.am | 21 ++ + src/extensions/lua/genderslua.c | 322 ++++++++++++++++++ + 9 files changed, 711 insertions(+), 1 deletion(-) + create mode 100644 config/ac_lua_extensions.m4 + create mode 100644 config/x_ac_lua.m4 + create mode 100644 genders.spec + create mode 100755 src/extensions/lua/GendersTest/GendersTest.lua + create mode 100644 src/extensions/lua/GendersTest/testgenders + create mode 100644 src/extensions/lua/Makefile.am + create mode 100644 src/extensions/lua/genderslua.c + diff --git a/config/ac_lua_extensions.m4 b/config/ac_lua_extensions.m4 new file mode 100644 index 0000000..9421588 @@ -792,4 +816,7 @@ + + return 1; +} +-- +2.37.1 +
