Accepting request 284119 from mozilla:Factory
OBS-URL: https://build.opensuse.org/request/show/284119 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mozilla-nspr?expand=0&rev=55
This commit is contained in:
commit
f9ba6598eb
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 4 16:29:31 UTC 2015 - coolo@suse.com
|
||||
|
||||
- add the changes file as source so the .src.rpm builds (used for
|
||||
fake build time)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 29 09:06:29 UTC 2015 - wr@rosenauer.org
|
||||
|
||||
|
@ -34,6 +34,7 @@ Obsoletes: mozilla-nspr-64bit
|
||||
#Source: ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/nspr-%{version}.tar.gz
|
||||
Source: nspr-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
Source99: %{name}.changes
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -66,7 +67,7 @@ memory management (malloc and free), and shared library linking.
|
||||
%build
|
||||
pushd nspr
|
||||
# set buildtime to "last-modification-time"
|
||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{S:99}")"
|
||||
BUILD_STRING="$(date -u -d "${modified}" "+%%F %%T")"
|
||||
BUILD_TIME="$(date -u -d "${modified}" "+%%s000000")"
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user