Hello community,

here is the log from the commit of package adolc for openSUSE:Factory
checked in at Mon Sep 19 15:33:53 CEST 2011.



--------
--- adolc/adolc.changes 2011-06-09 12:39:44.000000000 +0200
+++ /mounts/work_src_done/STABLE/adolc/adolc.changes    2011-09-16 
21:08:31.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Sep 16 19:07:38 UTC 2011 - [email protected]
+
+- Implement baselibs for package; remove redundant tags/sections
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  baselibs.conf

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

Other differences:
------------------
++++++ adolc.spec ++++++
--- /var/tmp/diff_new_pack.aM9YON/_old  2011-09-19 15:33:42.000000000 +0200
+++ /var/tmp/diff_new_pack.aM9YON/_new  2011-09-19 15:33:42.000000000 +0200
@@ -15,11 +15,11 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 %define packver 2.2.1
 
 Name:           adolc
+%define lname  libadolc1
 Version:        2.2.1
 Release:        1
 License:        GPLv2 or CPL
@@ -28,11 +28,11 @@
 Group:          Development/Languages/C and C++
 Source:         %{name}-%{packver}.tar.bz2
 Source1:        ColPack-1.0.3.tar.bz2
+Source2:        baselibs.conf
 BuildRequires:  autoconf automake libtool
 BuildRequires:  gcc-c++ libstdc++-devel
 # BuildRequires:  texlive texlive-latex
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-AutoReqProv:    on
 
 %description  
 The package ADOL-C (Automatic Differentiation by OverLoading in C++)
@@ -45,12 +45,12 @@
 truncation errors at a small multiple of the run time and randomly
 accessed memory of the given function evaluation program.
 
-%package -n libadolc1
+%package -n %lname
 License:        GPLv2 or CPL
 Summary:        Algorithmic Differentiation Library for C/C++
 Group:          Development/Languages/C and C++
 
-%description -n libadolc1
+%description -n %lname
 The package ADOL-C (Automatic Differentiation by OverLoading in C++)
 facilitates the evaluation of first and higher derivatives of vector
 functions that are defined by computer programs written in C or
@@ -65,7 +65,7 @@
 License:        GPLv2 or CPL
 Summary:        Algorithmic Differentiation Library for C/C++ -- development 
files
 Group:          Development/Languages/C and C++
-Requires:       libadolc1 = %{version}
+Requires:       %lname = %{version}
 
 %description devel
 The package ADOL-C (Automatic Differentiation by OverLoading in C++)
@@ -126,18 +126,14 @@
 install -m 644 README AUTHORS BUGS LICENSE INSTALL TODO 
%{buildroot}%{_datadir}/doc/packages/%{name}
 install -m 644 ADOL-C/doc/adolc-manual.pdf 
%{buildroot}%{_datadir}/doc/packages/%{name}
 install -m 644 ADOL-C/doc/short_ref.pdf 
%{buildroot}%{_datadir}/doc/packages/%{name}
-find %{buildroot} -type f -name '*.la' -exec rm -vf {} \;
-find %{buildroot} -type f -name '*.a' -exec rm -vf {} \;
+find "%buildroot" -type f -name "*.la" -delete;
+find "%buildroot" -type f -name "*.a" -delete;
 
-%clean
-rm -rf %{buildroot}
-rm -rf %{_builddir}/%{name}-%{packver}
+%post -n %lname -p /sbin/ldconfig
 
-%post -n libadolc1 -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
-%postun -n libadolc1 -p /sbin/ldconfig
-
-%files -n libadolc1
+%files -n %lname
 %defattr(-,root,root)
 %{_libdir}/libadolc.so.*
 

++++++ baselibs.conf ++++++
libadolc1
adolc-devel
        requires -adolc-<targettype>
        requires "libadolc1-<targettype> = <version>"

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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to