Hello community,

here is the log from the commit of package recidivm for openSUSE:Factory 
checked in at 2018-03-31 15:37:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/recidivm (Old)
 and      /work/SRC/openSUSE:Factory/.recidivm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "recidivm"

Sat Mar 31 15:37:43 2018 rev:2 rq:592740 version:0.1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/recidivm/recidivm.changes        2017-09-28 
12:34:46.660681323 +0200
+++ /work/SRC/openSUSE:Factory/.recidivm.new/recidivm.changes   2018-03-31 
15:38:02.099192183 +0200
@@ -1,0 +2,12 @@
+Mon Mar 12 18:49:05 UTC 2018 - [email protected]
+
+- update to version 0.1.4:
+ * Don't allow mixing options with positional arguments.
+
+-------------------------------------------------------------------
+Wed Nov  8 20:39:30 UTC 2017 - [email protected]
+
+- update to version 0.1.3:
+ * build system improvements
+
+-------------------------------------------------------------------

Old:
----
  recidivm-0.1.2.tar.gz
  recidivm-0.1.2.tar.gz.asc

New:
----
  recidivm-0.1.4.tar.gz
  recidivm-0.1.4.tar.gz.asc

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

Other differences:
------------------
++++++ recidivm.spec ++++++
--- /var/tmp/diff_new_pack.P98aXu/_old  2018-03-31 15:38:02.871164192 +0200
+++ /var/tmp/diff_new_pack.P98aXu/_new  2018-03-31 15:38:02.875164047 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package recidivm
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           recidivm
-Version:        0.1.2
+Version:        0.1.4
 Release:        0
 Summary:        Tool for estimating peak virtual memory use
 License:        MIT
@@ -38,8 +38,10 @@
 make %{?_smp_mflags}
 
 %install
-install -Dm 755 %{name} -t %{buildroot}%{_bindir}
-install -Dm 644 doc/%{name}.1 -t %{buildroot}%{_mandir}/man1/
+%make_install PREFIX=%{_prefix}
+
+%check
+make %{?_smp_mflags} test
 
 %files
 %doc doc/changelog

++++++ recidivm-0.1.2.tar.gz -> recidivm-0.1.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/recidivm-0.1.2/Makefile new/recidivm-0.1.4/Makefile
--- old/recidivm-0.1.2/Makefile 2017-09-24 11:01:09.000000000 +0200
+++ new/recidivm-0.1.4/Makefile 2018-03-12 17:07:54.000000000 +0100
@@ -1,12 +1,25 @@
 CFLAGS ?= -g -O2
 CFLAGS += -Wall -Wextra -Wconversion
-CFLAGS += $(shell getconf LFS_CFLAGS)
-LDFLAGS += $(shell getconf LFS_LDFLAGS)
-LDLIBS += $(shell getconf LFS_LIBS)
+CFLAGS += -D_FILE_OFFSET_BITS=64
 
 .PHONY: all
 all: recidivm
 
+.PHONY: install
+install: recidivm
+       install -d $(DESTDIR)$(PREFIX)/bin
+       install -m755 $(<) $(DESTDIR)$(PREFIX)/bin/$(<)
+ifeq "$(wildcard .git doc/recidivm.1)" ".git"
+       # run "$(MAKE) -C doc" to build the manpage
+else
+       install -d $(DESTDIR)$(PREFIX)/share/man/man1
+       install -m644 doc/recidivm.1 
$(DESTDIR)$(PREFIX)/share/man/man1/recidivm.1
+endif
+
+.PHONY: test
+test: recidivm
+       ./recidivm -v -- true
+
 .PHONY: clean
 clean:
        rm -f recidivm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/recidivm-0.1.2/doc/changelog 
new/recidivm-0.1.4/doc/changelog
--- old/recidivm-0.1.2/doc/changelog    2017-09-24 11:01:09.000000000 +0200
+++ new/recidivm-0.1.4/doc/changelog    2018-03-12 17:07:54.000000000 +0100
@@ -1,3 +1,19 @@
+recidivm (0.1.4) unstable; urgency=low
+
+  * Fix build failure on OpenBSD.
+  * Don't allow mixing options with positional arguments.
+
+ -- Jakub Wilk <[email protected]>  Mon, 12 Mar 2018 17:07:46 +0100
+
+recidivm (0.1.3) unstable; urgency=low
+
+  * Improve the build system:
+    + Add “install” target.
+    + Add “test” target.
+    + Don't use getconf(1) to acquire LFS build flags.
+
+ -- Jakub Wilk <[email protected]>  Wed, 08 Nov 2017 20:43:09 +0100
+
 recidivm (0.1.2) unstable; urgency=low
 
   * In the first step, set virtual memory limit to 32 TiB (slightly above the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/recidivm-0.1.2/doc/recidivm.1 
new/recidivm-0.1.4/doc/recidivm.1
--- old/recidivm-0.1.2/doc/recidivm.1   2017-09-24 11:01:16.000000000 +0200
+++ new/recidivm-0.1.4/doc/recidivm.1   2018-03-12 17:08:14.000000000 +0100
@@ -67,7 +67,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RECIDIVM 1"
-.TH RECIDIVM 1 "2017-09-24" "recidivm 0.1.2" ""
+.TH RECIDIVM 1 "2018-03-12" "recidivm 0.1.4" ""
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/recidivm-0.1.2/recidivm.c 
new/recidivm-0.1.4/recidivm.c
--- old/recidivm-0.1.2/recidivm.c       2017-09-24 11:01:09.000000000 +0200
+++ new/recidivm-0.1.4/recidivm.c       2018-03-12 17:07:54.000000000 +0100
@@ -32,6 +32,10 @@
 #include <sys/wait.h>
 #include <unistd.h>
 
+#ifndef RLIMIT_AS
+#define RLIMIT_AS RLIMIT_DATA
+#endif
+
 void usage(bool explicit)
 {
     fprintf(stderr, "Usage: recidivm [-cpv] [-u B|K|M] -- <command> 
[argument...]\n");
@@ -176,7 +180,7 @@
     }
     rlim_t step = (rlim_t) lstep;
     while (1) {
-        int opt = getopt(argc, argv, "hcpu:v");
+        int opt = getopt(argc, argv, "+hcpu:v");
         if (opt == -1)
             break;
         switch (opt) {


Reply via email to