forked from pool/elfutils
This commit is contained in:
parent
b828446a02
commit
455501fb15
@ -145,6 +145,8 @@ to develop applications that require these.
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
# Change DATE/TIME macros to use last change time of elfutils.changes
|
||||
# See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html
|
||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
||||
TIME="\"$(date -d "${modified}" "+%%R")\""
|
||||
|
Loading…
Reference in New Issue
Block a user