commit cpufrequtils for openSUSE:Factory

2013-03-09 Thread h_root
Hello community,

here is the log from the commit of package cpufrequtils for openSUSE:Factory 
checked in at 2013-03-10 07:46:52

Comparing /work/SRC/openSUSE:Factory/cpufrequtils (Old)
 and  /work/SRC/openSUSE:Factory/.cpufrequtils.new (New)


Package is cpufrequtils, Maintainer is tr...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/cpufrequtils/cpufrequtils.changes
2012-05-15 17:40:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.cpufrequtils.new/cpufrequtils.changes   
2013-03-10 07:46:54.0 +0100
@@ -1,0 +2,5 @@
+Sat Mar  9 09:47:54 UTC 2013 - sch...@suse.de
+
+- Build cpufreq-aperf and turbostat only on x86
+
+---



Other differences:
--
++ cpufrequtils.spec ++
--- /var/tmp/diff_new_pack.eEGAHb/_old  2013-03-10 07:46:56.0 +0100
+++ /var/tmp/diff_new_pack.eEGAHb/_new  2013-03-10 07:46:56.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cpufrequtils
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -65,7 +65,7 @@
 
 %prep
 %setup -q -a 3
-%ifarch ppc ppc64 %arm
+%ifnarch %ix86 x86_64
 %patch1 -p1
 %endif
 
@@ -76,7 +76,7 @@
 CONF=PACKAGE_BUGREPORT=http://bugs.opensuse.org mandir=%_mandir 
libdir=%_libdir CPUFRQ_BENCH=true STRIP=true
 export CFLAGS=$RPM_OPT_FLAGS
 make $CONF %{?_smp_mflags}
-%ifnarch ppc ppc64 %arm
+%ifarch %ix86 x86_64
 cd turbostat
 export CFLAGS=$CFLAGS -D_GNU_SOURCE
 make %{?_smp_mflags}
@@ -94,7 +94,7 @@
 
 mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
-%ifnarch ppc ppc64 %arm
+%ifarch %ix86 x86_64
 install -D -m 0755 turbostat/turbostat $RPM_BUILD_ROOT/%{_sbindir}
 install -D -m 0644 turbostat/turbostat.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8
 %endif
@@ -107,7 +107,7 @@
 %defattr (-,root,root)
 %{_libdir}/libcpufreq.*.0
 %{_mandir}/man1/cpufreq*
-%ifnarch ppc ppc64 %arm
+%ifarch %ix86 x86_64
 %{_mandir}/man8/turbostat*
 %{_sbindir}/turbostat
 /usr/bin/cpufreq-aperf

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



commit cpufrequtils for openSUSE:Factory

2012-05-15 Thread h_root
Hello community,

here is the log from the commit of package cpufrequtils for openSUSE:Factory 
checked in at 2012-05-15 17:40:27

Comparing /work/SRC/openSUSE:Factory/cpufrequtils (Old)
 and  /work/SRC/openSUSE:Factory/.cpufrequtils.new (New)


Package is cpufrequtils, Maintainer is tr...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/cpufrequtils/cpufrequtils.changes
2012-03-17 13:20:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.cpufrequtils.new/cpufrequtils.changes   
2012-05-15 17:40:29.0 +0200
@@ -1,0 +2,5 @@
+Mon May 14 21:12:54 UTC 2012 - joop.boo...@opensuse.org
+
+- don't build cpufreq-aperf and turbostat for arm
+
+---



Other differences:
--
++ cpufrequtils.spec ++
--- /var/tmp/diff_new_pack.FijpBY/_old  2012-05-15 17:40:30.0 +0200
+++ /var/tmp/diff_new_pack.FijpBY/_new  2012-05-15 17:40:30.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cpufrequtils
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -16,13 +16,13 @@
 #
 
 
-
 Name:   cpufrequtils
 %define turbostat_version 20101221
-BuildRequires:  doxygen lynx
+BuildRequires:  doxygen
+BuildRequires:  lynx
 Url:
http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
 Version:008
-Release:8
+Release:0
 Summary:Tools to Determine and Set CPUfreq Settings
 License:GPL-2.0+
 Group:  System/Base
@@ -45,7 +45,6 @@
 (cpufreq-info and cpufreq-set), and debug tools.
 
 %package bench
-License:GPL-2.0+
 Summary:CPU frequency micro benchmark
 Group:  System/Benchmark
 
@@ -57,7 +56,6 @@
 powersave module.
 
 %package devel
-License:GPL-2.0+
 Summary:Development files for cpufrequtils
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
@@ -67,7 +65,7 @@
 
 %prep
 %setup -q -a 3
-%ifarch ppc ppc64
+%ifarch ppc ppc64 %arm
 %patch1 -p1
 %endif
 
@@ -78,7 +76,7 @@
 CONF=PACKAGE_BUGREPORT=http://bugs.opensuse.org mandir=%_mandir 
libdir=%_libdir CPUFRQ_BENCH=true STRIP=true
 export CFLAGS=$RPM_OPT_FLAGS
 make $CONF %{?_smp_mflags}
-%ifnarch ppc ppc64
+%ifnarch ppc ppc64 %arm
 cd turbostat
 export CFLAGS=$CFLAGS -D_GNU_SOURCE
 make %{?_smp_mflags}
@@ -96,7 +94,7 @@
 
 mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
-%ifnarch ppc ppc64
+%ifnarch ppc ppc64 %arm
 install -D -m 0755 turbostat/turbostat $RPM_BUILD_ROOT/%{_sbindir}
 install -D -m 0644 turbostat/turbostat.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8
 %endif
@@ -109,7 +107,7 @@
 %defattr (-,root,root)
 %{_libdir}/libcpufreq.*.0
 %{_mandir}/man1/cpufreq*
-%ifnarch ppc ppc64
+%ifnarch ppc ppc64 %arm
 %{_mandir}/man8/turbostat*
 %{_sbindir}/turbostat
 /usr/bin/cpufreq-aperf

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



commit cpufrequtils for openSUSE:Factory

2012-03-17 Thread h_root
Hello community,

here is the log from the commit of package cpufrequtils for openSUSE:Factory 
checked in at 2012-03-17 13:20:13

Comparing /work/SRC/openSUSE:Factory/cpufrequtils (Old)
 and  /work/SRC/openSUSE:Factory/.cpufrequtils.new (New)


Package is cpufrequtils, Maintainer is tr...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/cpufrequtils/cpufrequtils.changes
2011-12-07 14:37:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.cpufrequtils.new/cpufrequtils.changes   
2012-03-17 13:20:17.0 +0100
@@ -1,0 +2,5 @@
+Thu Mar 15 15:16:14 UTC 2012 - dval...@suse.com
+
+- don't build cpufreq-aperf and turbostat for ppc and ppc64
+
+---

New:

  cpufrequtils-no-aperf-on-ppc.patch



Other differences:
--
++ cpufrequtils.spec ++
--- /var/tmp/diff_new_pack.LDCeSz/_old  2012-03-17 13:20:21.0 +0100
+++ /var/tmp/diff_new_pack.LDCeSz/_new  2012-03-17 13:20:21.0 +0100
@@ -29,6 +29,7 @@
 Source: %{name}-%{version}.tar.bz2
 Source2:baselibs.conf
 Source3:turbostat-%{turbostat_version}.tar.bz2
+Patch1: cpufrequtils-no-aperf-on-ppc.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # bug437293
 %ifarch ppc64
@@ -66,6 +67,9 @@
 
 %prep
 %setup -q -a 3
+%ifarch ppc ppc64
+%patch1 -p1
+%endif
 
 %build
 # This package failed when testing with -Wl,-as-needed being default.
@@ -74,10 +78,12 @@
 CONF=PACKAGE_BUGREPORT=http://bugs.opensuse.org mandir=%_mandir 
libdir=%_libdir CPUFRQ_BENCH=true STRIP=true
 export CFLAGS=$RPM_OPT_FLAGS
 make $CONF %{?_smp_mflags}
+%ifnarch ppc ppc64
 cd turbostat
 export CFLAGS=$CFLAGS -D_GNU_SOURCE
 make %{?_smp_mflags}
 cd ..
+%endif
 
 %install
 CONF=PACKAGE_BUGREPORT=http://bugs.opensuse.org mandir=%_mandir 
libdir=%_libdir CPUFRQ_BENCH=true DESTDIR=$RPM_BUILD_ROOT sbindir=/usr/sbin 
docdir=%{_docdir}/%{name} confdir=/etc
@@ -90,8 +96,10 @@
 
 mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
+%ifnarch ppc ppc64
 install -D -m 0755 turbostat/turbostat $RPM_BUILD_ROOT/%{_sbindir}
 install -D -m 0644 turbostat/turbostat.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8
+%endif
 
 %post -p /sbin/ldconfig
 
@@ -101,11 +109,13 @@
 %defattr (-,root,root)
 %{_libdir}/libcpufreq.*.0
 %{_mandir}/man1/cpufreq*
+%ifnarch ppc ppc64
 %{_mandir}/man8/turbostat*
 %{_sbindir}/turbostat
+/usr/bin/cpufreq-aperf
+%endif
 /usr/bin/cpufreq-info
 /usr/bin/cpufreq-set
-/usr/bin/cpufreq-aperf
 
 %files bench
 %defattr (-,root,root)

++ cpufrequtils-no-aperf-on-ppc.patch ++
Index: cpufrequtils-008/Makefile
===
--- cpufrequtils-008.orig/Makefile
+++ cpufrequtils-008/Makefile
@@ -118,7 +118,7 @@ WARNINGS += -Wshadow
 CPPFLAGS += -DVERSION=\$(VERSION)\ -DPACKAGE=\$(PACKAGE)\ \
-DPACKAGE_BUGREPORT=\$(PACKAGE_BUGREPORT)\ -D_GNU_SOURCE
 
-UTIL_SRC = utils/info.c utils/set.c utils/aperf.c utils/cpuid.h
+UTIL_SRC = utils/info.c utils/set.c
 LIB_HEADERS =  lib/cpufreq.h lib/interfaces.h
 LIB_SRC =  lib/cpufreq.c
 LIB_OBJS = lib/cpufreq.o
@@ -199,7 +199,7 @@ cpufreq-%: libcpufreq.so.$(LIB_MAJ) $(UT
$(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) -L. -o $@ utils/$@.o -lcpufreq
$(QUIET) $(STRIPCMD) $@
 
-utils: cpufreq-info cpufreq-set cpufreq-aperf
+utils: cpufreq-info cpufreq-set 
 
 po/$(PACKAGE).pot: $(UTIL_SRC)
@xgettext --default-domain=$(PACKAGE) --add-comments \
@@ -226,7 +226,7 @@ compile-bench: libcpufreq
 clean:
-find . \( -not -type d \) -and \( -name '*~' -o -name '*.[oas]' \) 
-type f -print \
 | xargs rm -f
-   -rm -f cpufreq-info cpufreq-set cpufreq-aperf
+   -rm -f cpufreq-info cpufreq-set
-rm -f libcpufreq.so*
-rm -f build/ccdv
-rm -rf po/*.gmo po/*.pot
@@ -243,7 +243,6 @@ install-tools:
$(INSTALL) -d $(DESTDIR)${bindir}
$(INSTALL_PROGRAM) cpufreq-set $(DESTDIR)${bindir}/cpufreq-set
$(INSTALL_PROGRAM) cpufreq-info $(DESTDIR)${bindir}/cpufreq-info
-   $(INSTALL_PROGRAM) cpufreq-aperf $(DESTDIR)${bindir}/cpufreq-aperf
 
 install-man:
$(INSTALL_DATA) -D man/cpufreq-set.1 
$(DESTDIR)${mandir}/man1/cpufreq-set.1
@@ -267,7 +266,6 @@ uninstall:
- rm -f $(DESTDIR)${includedir}/cpufreq.h
- rm -f $(DESTDIR)${bindir}/cpufreq-set
- rm -f $(DESTDIR)${bindir}/cpufreq-info
-   - rm -f $(DESTDIR)${bindir}/cpufreq-aperf
- rm -f $(DESTDIR)${mandir}/man1/cpufreq-set.1
- rm -f $(DESTDIR)${mandir}/man1/cpufreq-info.1
- for HLANG in $(LANGUAGES); do \
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: 

commit cpufrequtils for openSUSE:Factory

2011-12-07 Thread h_root
Hello community,

here is the log from the commit of package cpufrequtils for openSUSE:Factory 
checked in at 2011-12-07 14:37:34

Comparing /work/SRC/openSUSE:Factory/cpufrequtils (Old)
 and  /work/SRC/openSUSE:Factory/.cpufrequtils.new (New)


Package is cpufrequtils, Maintainer is tr...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/cpufrequtils/cpufrequtils.changes
2011-09-23 01:54:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.cpufrequtils.new/cpufrequtils.changes   
2011-12-07 14:37:36.0 +0100
@@ -1,0 +2,6 @@
+Tue Dec  6 20:38:17 UTC 2011 - a...@suse.de
+
+- lang files are for the main binary only, not for the bench file.
+  So, don't package them twice.
+
+---



Other differences:
--
++ cpufrequtils.spec ++
--- /var/tmp/diff_new_pack.62K9gv/_old  2011-12-07 14:37:37.0 +0100
+++ /var/tmp/diff_new_pack.62K9gv/_new  2011-12-07 14:37:37.0 +0100
@@ -107,7 +107,7 @@
 /usr/bin/cpufreq-set
 /usr/bin/cpufreq-aperf
 
-%files bench -f %{name}.lang
+%files bench
 %defattr (-,root,root)
 %config /etc/cpufreq-bench.conf
 /usr/sbin/cpufreq-bench

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



commit cpufrequtils for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package cpufrequtils for openSUSE:Factory 
checked in at 2011-12-06 18:04:19

Comparing /work/SRC/openSUSE:Factory/cpufrequtils (Old)
 and  /work/SRC/openSUSE:Factory/.cpufrequtils.new (New)


Package is cpufrequtils, Maintainer is tr...@novell.com

Changes:




Other differences:
--
++ cpufrequtils.spec ++
--- /var/tmp/diff_new_pack.yf4OX9/_old  2011-12-06 18:06:56.0 +0100
+++ /var/tmp/diff_new_pack.yf4OX9/_new  2011-12-06 18:06:56.0 +0100
@@ -24,7 +24,7 @@
 Version:008
 Release:8
 Summary:Tools to Determine and Set CPUfreq Settings
-License:GPLv2+
+License:GPL-2.0+
 Group:  System/Base
 Source: %{name}-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -44,7 +44,7 @@
 (cpufreq-info and cpufreq-set), and debug tools.
 
 %package bench
-License:GPLv2+
+License:GPL-2.0+
 Summary:CPU frequency micro benchmark
 Group:  System/Benchmark
 
@@ -56,7 +56,7 @@
 powersave module.
 
 %package devel
-License:GPLv2+
+License:GPL-2.0+
 Summary:Development files for cpufrequtils
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}

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



commit cpufrequtils for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package cpufrequtils for openSUSE:Factory
checked in at Mon Sep 19 21:07:25 CEST 2011.




--- cpufrequtils/cpufrequtils.changes   2011-05-03 21:47:19.0 +0200
+++ /mounts/work_src_done/STABLE/cpufrequtils/cpufrequtils.changes  
2011-09-18 01:56:03.0 +0200
@@ -1,0 +2,6 @@
+Sat Sep 17 23:56:00 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+- Use %_smp_mflags for parallel build
+
+---

calling whatdependson for head-i586




Other differences:
--
++ cpufrequtils.spec ++
--- /var/tmp/diff_new_pack.EhMqm4/_old  2011-09-19 21:07:21.0 +0200
+++ /var/tmp/diff_new_pack.EhMqm4/_new  2011-09-19 21:07:21.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   cpufrequtils
@@ -44,10 +43,6 @@
 tools to determine current CPUfreq settings and to modify them
 (cpufreq-info and cpufreq-set), and debug tools.
 
-Authors:
-
-Dominik Brodowski li...@brodo.de
-
 %package bench
 License:GPLv2+
 Summary:CPU frequency micro benchmark
@@ -60,10 +55,6 @@
 For that purpose, it compares the performance governor to a configured
 powersave module.
 
-Authors:
-
-Christian Kornacker ckornac...@suse.de
-
 %package devel
 License:GPLv2+
 Summary:Development files for cpufrequtils
@@ -82,10 +73,10 @@
 export SUSE_ASNEEDED=0
 CONF=PACKAGE_BUGREPORT=http://bugs.opensuse.org mandir=%_mandir 
libdir=%_libdir CPUFRQ_BENCH=true STRIP=true
 export CFLAGS=$RPM_OPT_FLAGS
-make $CONF
+make $CONF %{?_smp_mflags}
 cd turbostat
 export CFLAGS=$CFLAGS -D_GNU_SOURCE
-make
+make %{?_smp_mflags}
 cd ..
 
 %install
@@ -102,9 +93,6 @@
 install -D -m 0755 turbostat/turbostat $RPM_BUILD_ROOT/%{_sbindir}
 install -D -m 0644 turbostat/turbostat.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig






Remember to have fun...

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