commit mopac7 for openSUSE:Factory
Hello community, here is the log from the commit of package mopac7 for openSUSE:Factory checked in at 2016-01-28 17:22:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mopac7 (Old) and /work/SRC/openSUSE:Factory/.mopac7.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "mopac7" Changes: -------- --- /work/SRC/openSUSE:Factory/mopac7/mopac7.changes 2015-03-03 11:14:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.mopac7.new/mopac7.changes 2016-01-28 17:22:38.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Jan 22 19:42:00 UTC 2016 - mpluskal@suse.com + +- Cleanup spec file +- Do not ship .la file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mopac7.spec ++++++ --- /var/tmp/diff_new_pack.jh0sge/_old 2016-01-28 17:22:39.000000000 +0100 +++ /var/tmp/diff_new_pack.jh0sge/_new 2016-01-28 17:22:39.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package mopac7 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -27,12 +27,12 @@ Source0: http://www.bioinformatics.org/ghemical/download/current/%{name}-%{version}.tar.gz Patch1: mopac7-1.14-random_data.patch Patch2: mopac7-1.14-libdir.patch -BuildRequires: automake BuildRequires: autoconf -BuildRequires: pkg-config +BuildRequires: automake +BuildRequires: f2c BuildRequires: gcc-fortran BuildRequires: libtool -Requires: %{libname} = %{version} +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -56,7 +56,7 @@ %package -n %{libname}-devel Summary: Header files and static libraries from %{name} Group: Development/Languages/C and C++ -Requires: %{libname} >= %{version} +Requires: %{libname} = %{version}-%{release} %description -n %{libname}-devel MOPAC7 is a semi-empirical quantum-mechanics code written by James J. P. @@ -73,8 +73,9 @@ find . -name ".cvsignore" -exec rm -f {} \; %build -./autogen.sh -%configure --disable-static +autoreconf -fiv +%configure \ + --disable-static make %{?_smp_mflags} %install @@ -82,8 +83,8 @@ mkdir -p %{buildroot}%{_bindir} libtool --mode=install install -m 755 fortran/%{name} %{buildroot}%{_bindir}/%{name} sed -e "s|\./src|%{_bindir}|g" run_mopac7 > %{buildroot}%{_bindir}/run_mopac7 -chmod 755 %{buildroot}%{_bindir}/* rm tests/Makefile* +find %{buildroot} -type f -name "*.la" -delete -print %post -n %{libname} -p /sbin/ldconfig @@ -91,20 +92,18 @@ %files %defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog NEWS README -%doc tests +%doc AUTHORS COPYING ChangeLog NEWS README tests +%attr(755,root,root) %{_bindir}/run_mopac7 %{_bindir}/%{name} -%{_bindir}/run_mopac7 %files -n %{libname} %defattr(-,root,root) -%{_libdir}/*.so.* +%{_libdir}/libmopac7.so.* %files -n %{libname}-devel %defattr(-,root,root) %{_includedir}/%{name} -%{_libdir}/*.so -%{_libdir}/libmopac7.la -%{_libdir}/pkgconfig/*.pc +%{_libdir}/libmopac7.so +%{_libdir}/pkgconfig/libmopac7.pc %changelog
participants (1)
-
root@hilbert.suse.de