Hello community, here is the log from the commit of package libmicro for openSUSE:Factory checked in at 2015-02-16 21:46:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmicro (Old) and /work/SRC/openSUSE:Factory/.libmicro.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmicro" Changes: -------- --- /work/SRC/openSUSE:Factory/libmicro/libmicro.changes 2012-03-27 08:57:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libmicro.new/libmicro.changes 2015-02-16 21:46:48.000000000 +0100 @@ -1,0 +2,8 @@ +Sat Feb 14 17:04:27 UTC 2015 - [email protected] + +- Update url +- Remove ctcs glue +- Install bench.sh and multiview.sh to /usr/bin +- Don't install object files and headers + +------------------------------------------------------------------- Old: ---- ctcstools-0.4.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmicro.spec ++++++ --- /var/tmp/diff_new_pack.AtPAEN/_old 2015-02-16 21:46:48.000000000 +0100 +++ /var/tmp/diff_new_pack.AtPAEN/_new 2015-02-16 21:46:48.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libmicro # -# Copyright (c) 2011 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,85 +15,50 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: libmicro +Version: 0.4.0 +Release: 0 +Summary: LibMicro is a portable set of microbenchmarks License: CDDL-1.0 Group: System/Benchmark -Requires: kernel-source gcc make -AutoReqProv: on -Summary: kernel test suite, micro benchmark -Url: http://www.opensolaris.org/os/project/libmicro/ -Version: 0.4.0 -Release: 91 +Url: https://java.net/projects/libmicro Source0: %{name}-%{version}.tar.bz2 -Source1: ctcstools-%{version}.tar.bz2 Patch0: find_binary.patch Patch1: removed_undefined_warning.patch Patch2: fix-link.diff +Requires: gcc BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -LibMicro is intended to measure the performance of various system and -library calls. LibMicro was developed by Bart Smaalders and Phil -Harman. - -%if %suse_version < 1200 - -%package ctcs-glue -License: CDDL-1.0 -Summary: The let-libmicro-be-run-via-ctcs glue -Group: Development/Tools/Other -AutoReqProv: on -Requires: ctcs2 >= 0.1.6 -Requires: libmicro = %{version} - -%description ctcs-glue -This package contains the glue for integrating libmicro into the ctcs -testing framework. -%endif +LibMicro is a portable set of microbenchmarks that many Solaris +engineers used during Solaris 10 development to measure the +performance of various system and library calls. %prep -%setup -a1 +%setup -q %patch0 -p1 %patch1 %patch2 -p1 %build -make +make %{?_smp_mflags} %install -mkdir -p $RPM_BUILD_ROOT/usr/lib/libMicro -mkdir -p $RPM_BUILD_ROOT/usr/lib/libMicro/bin -install -m 644 README $RPM_BUILD_ROOT/usr/lib/libMicro -cp bin/* $RPM_BUILD_ROOT/usr/lib/libMicro/bin -cp bin-*/* $RPM_BUILD_ROOT/usr/lib/libMicro/bin -install -m 755 *.sh $RPM_BUILD_ROOT/usr/lib/libMicro/bin -#the sequence is important! -#install -m 755 runtests.sh $RPM_BUILD_ROOT/usr/lib/libMicro -mkdir -p $RPM_BUILD_ROOT/usr/lib/ctcs2/tcf -mkdir -p $RPM_BUILD_ROOT/usr/lib/ctcs2/tools -cp ctcstools/libmicro-run $RPM_BUILD_ROOT/usr/lib/ctcs2/tools -cp ctcstools/libmicro.tcf $RPM_BUILD_ROOT/usr/lib/ctcs2/tcf - -%if %suse_version >= 1200 -rm -rf $RPM_BUILD_ROOT/usr/lib/ctcs2 -%endif +rm bin-*/*.a +rm bin-*/*.h +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_libexecdir}/libMicro/bin +cp bin/* %{buildroot}%{_libexecdir}/libMicro/bin +cp bin-*/* %{buildroot}%{_libexecdir}/libMicro/bin +install -m 755 bench.sh %{buildroot}%{_bindir} +install -m 755 multiview.sh %{buildroot}%{_bindir} %files %defattr(-,root,root) -/usr/lib/libMicro -%doc README - -%if %suse_version < 1200 - -%files ctcs-glue -%defattr(-,root,root) -/usr/lib/ctcs2 -%endif - -%clean -rm -rf $RPM_BUILD_ROOT +%doc README OPENSOLARIS.LICENSE +%{_libexecdir}/libMicro +%{_bindir}/bench.sh +%{_bindir}/multiview.sh %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
