Hello community,

here is the log from the commit of package aria2 for openSUSE:Factory checked 
in at 2015-04-30 11:51:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aria2 (Old)
 and      /work/SRC/openSUSE:Factory/.aria2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aria2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/aria2/aria2.changes      2015-04-18 
10:41:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.aria2.new/aria2.changes 2015-04-30 
11:51:02.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Apr 26 20:04:40 UTC 2015 - [email protected]
+
+- Add dependency on libuv for current Tumbleweed
+- Remove _DATE_ and _TIME_
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ aria2.spec ++++++
--- /var/tmp/diff_new_pack.mTngKR/_old  2015-04-30 11:51:03.000000000 +0200
+++ /var/tmp/diff_new_pack.mTngKR/_new  2015-04-30 11:51:03.000000000 +0200
@@ -27,6 +27,7 @@
 Group:          Productivity/Networking/Other
 Url:            http://aria2.sourceforge.net/
 Source0:        
http://prdownloads.sourceforge.net/aria2/aria2-%{version}.tar.xz
+Source1:        %{name}.changes
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(gnutls)
@@ -45,6 +46,9 @@
 %if 0%{?suse_version} >= 1130
 Recommends:     ca-certificates
 %endif
+%if 0%{?suse_version} > 1310
+Recommends:     pkgconfig(libuv)
+%endif
 Recommends:     %{name}-lang
 
 %description
@@ -62,6 +66,12 @@
 
 %prep
 %setup -q
+# Do not use current date
+modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE1}")"
+DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
+TIME="\"$(date -d "${modified}" "+%%R")\""
+find .  -name '*.cc' |\
+    xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g"
 
 %build
 %configure --docdir=%{_defaultdocdir}/%{name}/ \


Reply via email to