Accepting request 284085 from home:coolo:branches:openSUSE:Factory
- add the changes file as source so the .src.rpm builds (used for fake build time) OBS-URL: https://build.opensuse.org/request/show/284085 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=73
This commit is contained in:
committed by
Git OBS Bridge
parent
ec8a9f0e19
commit
04d5f5aea3
@@ -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")"
|
||||
#
|
||||
|
Reference in New Issue
Block a user