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"