Hello community,

here is the log from the commit of package dbench for openSUSE:Factory checked 
in at 2014-11-12 00:22:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dbench (Old)
 and      /work/SRC/openSUSE:Factory/.dbench.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dbench"

Changes:
--------
--- /work/SRC/openSUSE:Factory/dbench/dbench.changes    2011-09-23 
01:54:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.dbench.new/dbench.changes       2014-11-12 
00:22:28.000000000 +0100
@@ -1,0 +2,12 @@
+Fri Nov  7 00:00:00 CET 2014 - dste...@suse.cz
+
+- remove ctcs2-glue subpackage
+- clean spec
+
+-------------------------------------------------------------------
+Wed Oct 15 10:17:01 UTC 2014 - jeng...@inai.de
+
+- Use parallel build, source URLs and remove ancient specfile
+  tags and sections
+
+-------------------------------------------------------------------

Old:
----
  dbench-3.04.tar.bz2
  dbench-ctcstools.tar.bz2

New:
----
  dbench-3.04.tar.gz

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

Other differences:
------------------
++++++ dbench.spec ++++++
--- /var/tmp/diff_new_pack.iNEFli/_old  2014-11-12 00:22:29.000000000 +0100
+++ /var/tmp/diff_new_pack.iNEFli/_new  2014-11-12 00:22:29.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package dbench (Version 3.04)
+# spec file for package dbench
 #
-# Copyright (c) 2008 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
@@ -15,20 +15,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           dbench
-License:        GPL-2.0+
-Group:          System/Benchmark
-AutoReqProv:    on
 Version:        3.04
-Release:        147
+Release:        0
 Summary:        File System Benchmark Similar to Netbench
-Url:            http://samba.org/ftp/tridge/dbench/
-Source0:        %{name}-%{version}.tar.bz2
-Source1:        %{name}-ctcstools.tar.bz2
-Patch0:         verbose.diff
+License:        GPL-2.0+
+Group:          System/Benchmark
+Url:            http://dbench.samba.org/
+Source:         http://samba.org/ftp/tridge/dbench/%{name}-%{version}.tar.gz
+Patch1:         verbose.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -37,80 +33,32 @@
 lab of Windows load generators to run. It is now considered a de facto
 standard for generating load on the Linux VFS.
 
-
-
-Authors:
---------
-    Andrew Tridgell <tri...@samba.org>
-
-%package ctcs2-glue 
-License:        GPL-2.0+
-Summary:        File System Benchmark similar to Netbench
-Group:          System/Benchmark
-Requires:       ctcs2 >= 0.1.1 dbench nfs-kernel-server
-#BuildArchitectures:   noarch
-
-%description ctcs2-glue
-Dbench is a file system benchmark that generates load patterns similar
-to those of the commercial Netbench benchmark, but without requiring a
-lab of Windows load generators to run. It is now considered a de-facto
-standard for generating load on the Linux VFS.
-
-
-
-Authors:
---------
-    Andrew Tridgell <tri...@samba.org>
-
 %prep
-%setup -q -n %{name}-%{version} -a1
-%patch0 -p1
+%setup -q
+%patch1 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --datadir=/usr/share/dbench
-make
+%configure --datadir="%{_datadir}/dbench"
+make %{?_smp_mflags}
 
 %install
 # install dbench
-make install prefix=$RPM_BUILD_ROOT/usr 
datadir=$RPM_BUILD_ROOT/usr/share/dbench 
mandir=$RPM_BUILD_ROOT/usr/share/man/man1
-mkdir -p $RPM_BUILD_ROOT/%_docdir/dbench
-install -m 644 README $RPM_BUILD_ROOT/%_docdir/dbench/README
+make install prefix="%{buildroot}/%{_prefix}" bindir="%{buildroot}/%{_bindir}" 
\
+       datadir="%{buildroot}/%{_datadir}/dbench" 
mandir="%{buildroot}/%{_mandir}/man1"
+mkdir -p %{buildroot}/%{_docdir}/dbench
+install -m 644 README %{buildroot}/%{_docdir}/dbench/README
 # create directories
-mkdir -p $RPM_BUILD_ROOT/usr/share/qa/dbench/tcf
-mkdir -p $RPM_BUILD_ROOT/usr/share/qa/tcf
-mkdir -p $RPM_BUILD_ROOT/usr/lib/ctcs2/tools
-# install ctcs2 related files in the ctcs2-glue sub packages
-install -m 744 ctcstools/do_dbench $RPM_BUILD_ROOT/usr/share/qa/dbench/
-install -m 744 ctcstools/do_dbench_nfs $RPM_BUILD_ROOT/usr/share/qa/dbench/
-install -m 644 ctcstools/dbench-*.tcf $RPM_BUILD_ROOT/usr/share/qa/dbench/tcf/
-for A in ctcstools/dbench-*.tcf
-do
-       B=`basename $A`
-       ln -s ../../../../usr/share/qa/dbench/tcf/$B 
$RPM_BUILD_ROOT/usr/share/qa/tcf/
-done
-install -m 744 ctcstools/dbench-run $RPM_BUILD_ROOT/usr/lib/ctcs2/tools
-install -m 744 ctcstools/dbench-run-old $RPM_BUILD_ROOT/usr/lib/ctcs2/tools
-install -m 744 ctcstools/dbench-nfs-run $RPM_BUILD_ROOT/usr/lib/ctcs2/tools
-install -m 744 ctcstools/dbench-nfs4-run $RPM_BUILD_ROOT/usr/lib/ctcs2/tools
-find $RPM_BUILD_ROOT/usr/share/dbench -name "*.txt" -type f -print0 | xargs -r 
-0 chmod a-x
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+find %{buildroot}%{_datadir}/dbench -name "*.txt" -type f -print0 | xargs -r 
-0 chmod a-x
 
 %files
 %defattr(-,root,root)   
-/usr/bin/dbench
-/usr/bin/tbench
-/usr/bin/tbench_srv
-/usr/share/man/man1/dbench.1.gz
-/usr/share/man/man1/tbench.1.gz
-/usr/share/man/man1/tbench_srv.1.gz
-/usr/share/dbench
-%doc %_docdir/dbench
-
-%files ctcs2-glue
-%defattr(-,root,root)
-/usr/share/qa
-/usr/lib/ctcs2
+%{_bindir}/dbench
+%{_bindir}/tbench
+%{_bindir}/tbench_srv
+%{_mandir}/man1/dbench.1.gz
+%{_mandir}/man1/tbench.1.gz
+%{_mandir}/man1/tbench_srv.1.gz
+%{_datadir}/dbench
+%doc %{_docdir}/dbench
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to