Hello community, here is the log from the commit of package msr-tools for openSUSE:Factory checked in at 2015-04-25 09:52:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/msr-tools (Old) and /work/SRC/openSUSE:Factory/.msr-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "msr-tools" Changes: -------- --- /work/SRC/openSUSE:Factory/msr-tools/msr-tools.changes 2013-12-19 15:09:25.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.msr-tools.new/msr-tools.changes 2015-04-25 11:23:17.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Apr 20 18:12:32 UTC 2015 - [email protected] + +- Use url for source +- Cleanup spec file with spec-cleaner +- really remove not needed patch: + msr-tools-fix-compile-warning.diff + +------------------------------------------------------------------- Old: ---- msr-tools-1.3.tar.bz2 msr-tools-fix-compile-warning.diff New: ---- msr-tools-1.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ msr-tools.spec ++++++ --- /var/tmp/diff_new_pack.5TpVRS/_old 2015-04-25 11:23:18.000000000 +0200 +++ /var/tmp/diff_new_pack.5TpVRS/_new 2015-04-25 11:23:18.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package msr-tools # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -15,46 +15,35 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: msr-tools -Url: https://github.com/01org/msr-tools -Summary: Tool for reading and writing MSRs (model specific register) Version: 1.3 -Release: 1 +Release: 0 +Summary: Tool for reading and writing MSRs (model specific register) License: GPL-2.0+ Group: System/Base -Source: %{name}-%{version}.tar.bz2 +Url: https://github.com/01org/msr-tools +Source: https://github.com/01org/msr-tools/archive/%{name}-%{version}.tar.gz Source1: COPYING -BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch1: %{name}-xen_physical_msr_support.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 %description Tool to read and write MSRs (model specific registers). You have to load the "msr" module manually ("modprobe msr"). - - -Authors: --------- - H. Peter Anvin <[email protected]> - %prep -%setup -q +%setup -q -n %{name}-%{name}-%{version} %patch1 -p1 %build -make CFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} CFLAGS="%{optflags}" %install -mkdir -p $RPM_BUILD_ROOT/%{_sbindir} +mkdir -p %{buildroot}/%{_sbindir} cp %{SOURCE1} . -install -m 0755 rdmsr wrmsr cpuid $RPM_BUILD_ROOT/%{_sbindir} - -%clean -rm -rf %{buildroot} +install -m 0755 rdmsr wrmsr cpuid %{buildroot}/%{_sbindir} %files %defattr(-,root,root)
