From 0802aa73a05e2cc131dad61da73e8008bfc38bc0d2b9fee51466bd4d50d77273 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 2 Aug 2018 09:56:28 +0000 Subject: [PATCH] Accepting request 625485 from home:jengelh:branches:security - Fix RPM groups. - Don't pipe find, use the safer -exec. OBS-URL: https://build.opensuse.org/request/show/625485 OBS-URL: https://build.opensuse.org/package/show/security/libtomcrypt?expand=0&rev=14 --- libtomcrypt.changes | 6 ++++++ libtomcrypt.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libtomcrypt.changes b/libtomcrypt.changes index 741f13f..01181ab 100644 --- a/libtomcrypt.changes +++ b/libtomcrypt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 26 19:40:32 UTC 2018 - jengelh@inai.de + +- Fix RPM groups. +- Don't pipe find, use the safer -exec. + ------------------------------------------------------------------- Thu Jul 12 12:41:50 UTC 2018 - meissner@suse.com diff --git a/libtomcrypt.spec b/libtomcrypt.spec index ba3b9e9..c794cfe 100644 --- a/libtomcrypt.spec +++ b/libtomcrypt.spec @@ -23,7 +23,7 @@ Version: 1.18.2 Release: 0 Summary: Cryptographic Toolkit Written in Portable C License: SUSE-Public-Domain -Group: System/Libraries +Group: Development/Libraries/C and C++ Url: http://libtom.org Source0: https://github.com/libtom/libtomcrypt/releases/download/v%{version}/crypt-%{version}.tar.xz Source1: https://github.com/libtom/libtomcrypt/releases/download/v%{version}/crypt-%{version}.tar.xz.asc @@ -68,7 +68,7 @@ This package contains headers and other development files. %package examples Summary: Example Files for LibTomCrypt -Group: Development/Libraries/Other +Group: Documentation/Other Requires: %{name}-devel = %{version} %description examples @@ -84,7 +84,7 @@ This package contains example *.c files showing how to use TomCrypt library. modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE3}")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" -find . -name '*.[ch]' | xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" +find . -name '*.[ch]' -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" "{}" "+" %build export CFLAGS="%{optflags} -DLTM_DESC -DUSE_LTM"