Accepting request 71527 from network
- Supress timestamps in binaries, breaks build-compare. (forwarded request 71198 from elvigia) OBS-URL: https://build.opensuse.org/request/show/71527 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freeradius-server?expand=0&rev=32
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 24 19:18:44 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Supress timestamps in binaries, breaks build-compare.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 4 10:54:23 UTC 2010 - puzel@novell.com
|
||||
|
||||
|
@@ -55,7 +55,7 @@ BuildRequires: gettext-devel
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: krb5-devel
|
||||
BuildRequires: libapr1-devel
|
||||
BuildRequires: libcom_err
|
||||
BuildRequires: libcom_err-devel
|
||||
BuildRequires: libmysqlclient-devel
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: libtool
|
||||
@@ -67,7 +67,6 @@ BuildRequires: pam-devel
|
||||
BuildRequires: perl
|
||||
BuildRequires: postgresql-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: sed
|
||||
BuildRequires: sqlite3-devel
|
||||
BuildRequires: unixODBC-devel
|
||||
|
||||
@@ -239,6 +238,10 @@ Authors:
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
||||
TIME="\"$(date -d "${modified}" "+%%R")\""
|
||||
find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
|
||||
# This package failed when testing with -Wl,-as-needed being default.
|
||||
# So we disable it here, if you want to retest, just delete this comment and the line below.
|
||||
export SUSE_ASNEEDED=0
|
||||
|
Reference in New Issue
Block a user