Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package argon2 for openSUSE:Factory checked in at 2022-04-26 20:15:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/argon2 (Old) and /work/SRC/openSUSE:Factory/.argon2.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "argon2" Tue Apr 26 20:15:00 2022 rev:8 rq:972474 version:20190702 Changes: -------- --- /work/SRC/openSUSE:Factory/argon2/argon2.changes 2020-05-14 23:25:33.141080214 +0200 +++ /work/SRC/openSUSE:Factory/.argon2.new.1538/argon2.changes 2022-04-26 20:17:01.500706700 +0200 @@ -1,0 +2,9 @@ +Sat Apr 23 21:44:18 UTC 2022 - Ferdinand Thiessen <[email protected]> + +- Fix version of package: 20171227 is the upstream version number + of the package +- Replaced optflags.patch with adjust-makefile.patch, the + patch will now also allow to set the file permissions of installed + libraries. This fixes the rpmlint error: shared-library-not-executable + +------------------------------------------------------------------- Old: ---- argon2-0.0+git20190520.62358ba.tar.xz optflags.patch New: ---- adjust-makefile.patch argon2-20190702.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ argon2.spec ++++++ --- /var/tmp/diff_new_pack.CExuZS/_old 2022-04-26 20:17:01.936707228 +0200 +++ /var/tmp/diff_new_pack.CExuZS/_new 2022-04-26 20:17:01.948707243 +0200 @@ -1,7 +1,7 @@ # # spec file for package argon2 # -# Copyright (c) 2020 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 @@ -22,19 +22,20 @@ %define no_optimize 1 %endif # for convenience -%define make %__make OPTFLAGS="%{optflags}" OPTTEST=%no_optimize LIB_ST= LIBRARY_REL=%_lib +%define make %__make %{?_smp_mflags} OPTFLAGS="%{optflags}" OPTTEST=%no_optimize LIB_ST= LIBRARY_REL=%_lib %define lname libargon2-1 Name: argon2 -Version: 0.0+git20190520.62358ba +Version: 20190702 Release: 0 Summary: The reference C implementation of Argon2 -License: CC0-1.0 OR Apache-2.0 +License: Apache-2.0 OR CC0-1.0 Group: Productivity/Networking/Security URL: https://github.com/P-H-C/phc-winner-argon2 Source: %{name}-%{version}.tar.xz Source1: baselibs.conf -Patch1: optflags.patch +# PATCH-FIX-OPENSUSE adjust-makefile.patch -- Allow setting optflags and file permissions of installed libraries +Patch1: adjust-makefile.patch BuildRequires: pkgconfig BuildRequires: sed BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -79,10 +80,10 @@ %autosetup %build -%make %{?_smp_mflags} +%make %install -%make DESTDIR=%{buildroot} install +%make install DESTDIR=%{buildroot} install -D -m 644 man/argon2.1 %{buildroot}%{_mandir}/man1/argon2.1 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.CExuZS/_old 2022-04-26 20:17:01.976707276 +0200 +++ /var/tmp/diff_new_pack.CExuZS/_new 2022-04-26 20:17:01.980707281 +0200 @@ -1,8 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> <param name="filename">argon2</param> - <param name="version">0.0</param> - <param name="versionformat">0.0+git%cd.%h</param> + <param name="versionformat">@PARENT_TAG@</param> <param name="url">https://github.com/P-H-C/phc-winner-argon2.git</param> <param name="scm">git</param> <param name="changesgenerate">enable</param> ++++++ adjust-makefile.patch ++++++ diff -Nur argon2-20190702/Makefile new/Makefile --- argon2-20190702/Makefile 2019-05-20 11:18:00.000000000 +0200 +++ new/Makefile 2022-04-24 00:09:10.859729849 +0200 @@ -37,7 +37,7 @@ SRC_GENKAT = src/genkat.c OBJ = $(SRC:.c=.o) -CFLAGS += -std=c89 -O3 -Wall -g -Iinclude -Isrc +CFLAGS += $(OPTFLAGS) -Iinclude -Isrc ifeq ($(NO_THREADS), 1) CFLAGS += -DARGON2_NO_THREADS @@ -48,16 +48,12 @@ CI_CFLAGS := $(CFLAGS) -Werror=declaration-after-statement -D_FORTIFY_SOURCE=2 \ -Wextra -Wno-type-limits -Werror -coverage -DTEST_LARGE_RAM -OPTTARGET ?= native -OPTTEST := $(shell $(CC) -Iinclude -Isrc -march=$(OPTTARGET) src/opt.c -c \ - -o /dev/null 2>/dev/null; echo $$?) # Detect compatible platform ifneq ($(OPTTEST), 0) $(info Building without optimizations) SRC += src/ref.c else -$(info Building with optimizations for $(OPTTARGET)) - CFLAGS += -march=$(OPTTARGET) +$(info Building with optimizations) SRC += src/opt.c endif @@ -128,6 +124,7 @@ HEADERS = include/argon2.h INSTALL = install +LIB_INSTALL_PERM = 0755 # relative paths for different OS ifeq ($(KERNEL_NAME), $(filter $(KERNEL_NAME),DragonFly FreeBSD)) @@ -236,7 +233,7 @@ $(INSTALL) -d $(INST_INCLUDE) $(INSTALL) -m 0644 $(HEADERS) $(INST_INCLUDE) $(INSTALL) -d $(INST_LIBRARY) - $(INSTALL) -m 0644 $(LIBRARIES) $(INST_LIBRARY) + $(INSTALL) -m $(LIB_INSTALL_PERM) $(LIBRARIES) $(INST_LIBRARY) ifdef LINKED_LIB_SH cd $(INST_LIBRARY) && ln -s $(notdir $(LIB_SH) $(LINKED_LIB_SH)) endif ++++++ argon2-0.0+git20190520.62358ba.tar.xz -> argon2-20190702.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argon2-0.0+git20190520.62358ba/.gitignore new/argon2-20190702/.gitignore --- old/argon2-0.0+git20190520.62358ba/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/argon2-20190702/.gitignore 2019-05-20 11:18:00.000000000 +0200 @@ -0,0 +1,22 @@ +argon2 +libargon2.a +libargon2.so* +libargon2.dylib +libargon2.pc +.DS_Store +src/*.o +src/blake2/*.o +genkat +.idea +*.pyc +testcase +*.gcda +*.gcno +*.gcov +bench +vs2015/build +Argon2.sdf +Argon2.VC.opendb +*.zip +*.tar.gz +tags
