forked from pool/libtomcrypt
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
This commit is contained in:
parent
c470bd9489
commit
0802aa73a0
@ -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
|
Thu Jul 12 12:41:50 UTC 2018 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ Version: 1.18.2
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cryptographic Toolkit Written in Portable C
|
Summary: Cryptographic Toolkit Written in Portable C
|
||||||
License: SUSE-Public-Domain
|
License: SUSE-Public-Domain
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://libtom.org
|
Url: http://libtom.org
|
||||||
Source0: https://github.com/libtom/libtomcrypt/releases/download/v%{version}/crypt-%{version}.tar.xz
|
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
|
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
|
%package examples
|
||||||
Summary: Example Files for LibTomCrypt
|
Summary: Example Files for LibTomCrypt
|
||||||
Group: Development/Libraries/Other
|
Group: Documentation/Other
|
||||||
Requires: %{name}-devel = %{version}
|
Requires: %{name}-devel = %{version}
|
||||||
|
|
||||||
%description examples
|
%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}")"
|
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE3}")"
|
||||||
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
||||||
TIME="\"$(date -d "${modified}" "+%%R")\""
|
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
|
%build
|
||||||
export CFLAGS="%{optflags} -DLTM_DESC -DUSE_LTM"
|
export CFLAGS="%{optflags} -DLTM_DESC -DUSE_LTM"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user