Hello community, here is the log from the commit of package LiE for openSUSE:Factory checked in at 2014-05-02 13:59:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/LiE (Old) and /work/SRC/openSUSE:Factory/.LiE.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "LiE" Changes: -------- --- /work/SRC/openSUSE:Factory/LiE/LiE.changes 2014-04-25 11:35:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.LiE.new/LiE.changes 2014-05-02 13:59:38.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Apr 30 19:45:41 UTC 2014 - [email protected] + +- add LiE-2.2.2-date-time.patch to fix file-contains-date-and-time + warning and prevent unneccessary rebuilds + +------------------------------------------------------------------- New: ---- LiE-2.2.2-date-time.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ LiE.spec ++++++ --- /var/tmp/diff_new_pack.a7wpGL/_old 2014-05-02 13:59:38.000000000 +0200 +++ /var/tmp/diff_new_pack.a7wpGL/_new 2014-05-02 13:59:38.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package LiE # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,7 @@ Source0: http://young.sp2mi.univ-poitiers.fr/~marc/LiE/conLiE.tar.gz Source1: COPYING Source2: %{name}-rpmlintrc +Patch1: LiE-2.2.2-date-time.patch BuildRequires: bison BuildRequires: gcc-c++ BuildRequires: ghostscript @@ -52,8 +53,10 @@ %prep %setup -q -n %{name} +%patch1 -p1 %build +# parallel build fails make %install @@ -73,7 +76,7 @@ install -m0644 INFO.* %{buildroot}%{_libdir}/%{name}/ mkdir -p %{buildroot}%{_docdir}/%{name}/ install -m0644 manual.pdf %{buildroot}%{_docdir}/%{name}/ -install -m0644 %{S:1} %{buildroot}%{_docdir}/%{name}/ +install -m0644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}/ %files %defattr(-,root,root) ++++++ LiE-2.2.2-date-time.patch ++++++ From: Andreas Stieger <[email protected]> Date: Wed, 30 Apr 2014 20:30:57 +0100 Subject: remove __DATE__ and __TIME__ References: Upstream: never Fixes warning and prevents unneccessary rebuilds: LiE.i586: W: file-contains-date-and-time /usr/lib/LiE/lie Your file uses __DATE and __TIME__ this causes the package to rebuild when not needed --- date.c | 2 +- init.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) Index: LiE/date.c =================================================================== --- LiE.orig/date.c 1996-08-30 13:05:15.000000000 +0100 +++ LiE/date.c 2014-04-30 20:28:04.000000000 +0100 @@ -1 +1 @@ -char date[] = __DATE__ " at " __TIME__; +char date[] = ""; Index: LiE/init.c =================================================================== --- LiE.orig/init.c 2014-04-30 20:28:14.000000000 +0100 +++ LiE/init.c 2014-04-30 20:28:43.000000000 +0100 @@ -150,8 +150,8 @@ void init(void) initialize_readline(); { if (!redirected_input) - { printf("\nLiE version 2.2.2 created on %s\n" - "Authors: Arjeh M. Cohen, Marc van Leeuwen, Bert Lisser.\n", date); + { printf("\nLiE version 2.2.2\n" + "Authors: Arjeh M. Cohen, Marc van Leeuwen, Bert Lisser.\n"); { FILE* f= fopen(titlefil,"r"); if (f==NULL) printf("Purpose: development CWI\n\n"); else { while ((ch=getc(f)) != EOF) putchar(ch); fclose(f); } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
