Hello community,

here is the log from the commit of package cln for openSUSE:Factory
checked in at Mon Aug 8 15:04:51 CEST 2011.



--------
--- cln/cln.changes     2010-09-24 09:34:46.000000000 +0200
+++ /mounts/work_src_done/STABLE/cln/cln.changes        2011-08-08 
10:40:17.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Aug  8 10:34:25 UTC 2011 - toddrme2...@gmail.ccom
+ 
+- Fixed group (fix for RPMLINT warning)
+- Removed commented files  (fix for RPMLINT warning)
+- Switched hard-coded paths and commands to RPM macros in spec file
+- Cleaned up spec file formatting
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  minmem

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

Other differences:
------------------
++++++ cln.spec ++++++
--- /var/tmp/diff_new_pack.tXk3j0/_old  2011-08-08 15:03:51.000000000 +0200
+++ /var/tmp/diff_new_pack.tXk3j0/_new  2011-08-08 15:03:51.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package cln (Version 1.3.1)
+# spec file for package cln
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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,22 +15,24 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           cln
-BuildRequires:  gcc-c++ gmp-devel pkg-config texinfo
-Url:            http://www.ginac.de/CLN/
 Version:        1.3.1
-Release:        1
-Summary:        Class Library for Numbers (C++)
+Release:        5
 License:        GPLv2+
+Summary:        Class Library for Numbers (C++)
+Url:            http://www.ginac.de/CLN/
 Group:          Productivity/Scientific/Math
-Provides:       libcln pi
-PreReq:         %install_info_prereq
-AutoReqProv:    on
-Source0:        cln-%version.tar.bz2
+Source0:        cln-%{version}.tar.bz2
 Source1:        pi.tar.gz
+BuildRequires:  gcc-c++
+BuildRequires:  gmp-devel
+BuildRequires:  pkg-config
+BuildRequires:  texinfo
+PreReq:         %install_info_prereq
+Provides:       libcln
+Provides:       pi
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 PreReq:         %install_info_prereq
@@ -55,11 +57,10 @@
 and exceptions.
 
 %package devel
+License:        GPLv2+
 Summary:        Class Library for Numbers (C++)
-Group:          Productivity/Scientific/Math
-AutoReqProv:    on
+Group:          Development/Libraries/C and C++
 PreReq:         %install_info_prereq
-License:        GPLv2+
 Requires:       %{name} = %{version}
 
 %description devel
@@ -85,43 +86,28 @@
 %setup -q -a 1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS -fno-unit-at-a-time" \
-CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-unit-at-a-time 
-fno-reorder-blocks" \
-./configure --prefix=%{_prefix} \
-        --bindir=%{_bindir} \
-        --sbindir=%{_sbindir} \
-        --sysconfdir=%{_sysconfdir} \
-        --datadir=%{_datadir} \
-        --includedir=%{_includedir} \
-        --libdir=%{_libdir} \
-        --libexecdir=%{_prefix}/lib/%{name} \
-        --localstatedir=/var \
-        --sharedstatedir=/usr/com \
-        --mandir=%{_mandir} \
-        --infodir=%{_infodir} \
-       --disable-static
-%{__make} %{?jobs:-j%jobs}
-%{__make} %{?jobs:-j%jobs} check
+CFLAGS="-fno-unit-at-a-time" \
+CXXFLAGS="-fno-strict-aliasing -fno-unit-at-a-time -fno-reorder-blocks" \
+%configure --disable-static
+make %{?_smp_mflags}
+make %{?_smp_mflags} check
 #cd benchmarks
 #for i in a ap b ; do
 #      ./timebench2$i -r 10
 #done
 #cd ..
-g++ $RPM_OPT_FLAGS -I./include pi.cc -o pi -L./src/.libs/ -lcln -lgmp
-%{__make} %{?jobs:-j%jobs} html
+g++ %{optflags} -I./include pi.cc -o pi -L./src/.libs/ -lcln -lgmp
+make %{?_smp_mflags} html
 
 %install
-%{__mkdir} -p $RPM_BUILD_ROOT/%{_datadir}/doc/packages/cln
-PDOCDIR=/usr/share/doc/packages/cln
-%{__make} install  MANDIR=%{_mandir} DESTDIR=$RPM_BUILD_ROOT htmldir=$PDOCDIR
-install -m 755 pi     $RPM_BUILD_ROOT/usr/bin
-rm -f $RPM_BUILD_ROOT/usr/%_lib/libcln.la
+mkdir -p %{buildroot}%{_docdir}/cln
+%make_install  MANDIR=%{_mandir} htmldir=%{_docdir}/cln
+install -m 755 pi     %{buildroot}%{_prefix}/bin
+rm -f %{buildroot}%{_libdir}/libcln.la
 
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %post devel
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
@@ -137,13 +123,10 @@
 %files devel
 %defattr(-,root,root)
 %doc README NEWS
-#/usr/bin/cln-config
 %{_includedir}/cln
 %{_infodir}/cln.info.gz
 %{_mandir}/man1/pi.1.gz
 %{_libdir}/libcln.so
 %{_libdir}/pkgconfig/cln.pc
-#%doc /usr/share/man/man1/cln-config.1.gz
-#/usr/share/aclocal/cln.m4
 
 %changelog


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



Remember to have fun...

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

Reply via email to