Hello community, here is the log from the commit of package OpenIPMI for openSUSE:Factory checked in at 2016-03-01 09:34:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old) and /work/SRC/openSUSE:Factory/.OpenIPMI.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "OpenIPMI" Changes: -------- --- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes 2015-02-16 17:21:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.OpenIPMI.new/OpenIPMI.changes 2016-03-01 09:34:20.000000000 +0100 @@ -1,0 +2,13 @@ +Fri Feb 26 08:17:13 UTC 2016 - trenn@suse.de + +- Update to latest git commit: + a01bbe94efff3a5f239b3b5440c8..052d36ec88515c1b1177faa442833e3 +Add: OpenIPMI_2.0.21_to_HEAD.patch +Removed modifications for: + - lanserv/ipmi_sim_chassiscontrol + - lanserv/marvell-bmc/TODO +due to git repo inconsistencies +- Some spec file cleanups obs complained about + -> also spec-cleaner run through + +------------------------------------------------------------------- New: ---- OpenIPMI_2.0.21_to_HEAD.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenIPMI.spec ++++++ --- /var/tmp/diff_new_pack.9n3YpB/_old 2016-03-01 09:34:22.000000000 +0100 +++ /var/tmp/diff_new_pack.9n3YpB/_new 2016-03-01 09:34:22.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package OpenIPMI # -# 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 @@ -17,6 +17,21 @@ Name: OpenIPMI +Version: 2.0.21 +Release: 0 +Summary: Provides access to service processors via IPMI +License: LGPL-2.1+ +Group: System/Monitoring +Url: http://openipmi.sourceforge.net +Source0: http://prdownloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz +Source1: sysconfig.ipmi +Source2: ipmi.service +Source3: openipmi-helper +Source99: OpenIPMI-rpmlintrc +Patch0: OpenIPMI-prefer_perl_vendor.patch +Patch1: OpenIPMI-libtool.patch +Patch2: fix-conversions.patch +Patch3: OpenIPMI/OpenIPMI_2.0.21_to_HEAD.patch BuildRequires: gd-devel BuildRequires: gdbm-devel BuildRequires: glib2-devel @@ -36,26 +51,14 @@ BuildRequires: tcl-devel BuildRequires: tix BuildRequires: pkgconfig(systemd) -Version: 2.0.21 -Release: 0 -Source0: http://prdownloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz -Source1: sysconfig.ipmi -Source2: ipmi.service -Source3: openipmi-helper -Patch0: OpenIPMI-prefer_perl_vendor.patch -Patch2: OpenIPMI-libtool.patch -Patch7: fix-conversions.patch -Source99: OpenIPMI-rpmlintrc -Url: http://openipmi.sourceforge.net +Requires: perl-base = 5.22.1 +PreReq: %fillup_prereq +# FIXME: use proper Requires(pre/post/preun/...) +PreReq: %{install_info_prereq} Provides: ipmi_ui Provides: ipmicmd Provides: ipmilan BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: OpenIPMI -License: LGPL-2.1+ -Group: System/Monitoring -PreReq: %install_info_prereq -PreReq: %fillup_prereq %{?systemd_requires} %{perl_requires} # Perl is sometimes installed in /usr/lib, not /usr/lib64 on 64-bit platforms. @@ -76,11 +79,11 @@ %package devel Summary: OpenIPMI - Development libraries Group: Development/Libraries/Other +Requires: OpenIPMI = %{version} +Requires: glibc-devel Provides: libIPMIlanserv Provides: libOpenIPMI Provides: libOpenIPMIui -Requires: OpenIPMI = %{version} -Requires: glibc-devel %description devel These libraries are needed to get full access to the OpenIPMI @@ -99,10 +102,11 @@ making use of it. %prep -%setup -n %{name}-%{version} +%setup -q %patch0 -p1 -%patch2 -%patch7 -p1 +%patch1 +%patch2 -p1 +%patch3 -p1 %build autoreconf --install --force @@ -115,22 +119,22 @@ make %install -make DESTDIR=$RPM_BUILD_ROOT install -install -d $RPM_BUILD_ROOT/var/adm/fillup-templates -install -d $RPM_BUILD_ROOT%{_unitdir} -install -d $RPM_BUILD_ROOT/sbin -install -m 644 %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates -install -m 755 %{S:2} %{buildroot}%{_unitdir} -ln -s /usr/sbin/service $RPM_BUILD_ROOT/sbin/rcipmi -install -d ${RPM_BUILD_ROOT}%{_libexecdir} -install -m 755 %{S:3} ${RPM_BUILD_ROOT}%{_libexecdir}/openipmi-helper -%{__rm} -f %{buildroot}%{_libdir}/*.la +make DESTDIR=%{buildroot} install +install -d %{buildroot}%{_localstatedir}/adm/fillup-templates +install -d %{buildroot}%{_unitdir} +install -d %{buildroot}/sbin +install -m 644 %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates +install -m 644 %{SOURCE2} %{buildroot}%{_unitdir} +ln -sv %{_sbindir}/service %{buildroot}/sbin/rcipmi +install -d %{buildroot}%{_libexecdir} +install -m 755 %{SOURCE3} %{buildroot}%{_libexecdir}/openipmi-helper +find %{buildroot} -type f -name "*.la" -delete -print # rebuild python files to fix timestamps: for d in "%{python_sitelib}" "%{python_sitearch}"; do [ -d "%{buildroot}$d" ] || continue - find "%{buildroot}$d/" -type f \( -name '*.pyc' -o -name '*.pyo' \) -exec %__rm {} \; - %__python -c 'import compileall; compileall.compile_dir("%{buildroot}'"$d"'",ddir="'"$d"'",force=1)' + find "%{buildroot}$d/" -type f \( -name '*.pyc' -o -name '*.pyo' \) -exec rm {} \; + python -c 'import compileall; compileall.compile_dir("%{buildroot}'"$d"'",ddir="'"$d"'",force=1)' done %pre @@ -141,18 +145,18 @@ %post /sbin/ldconfig -%{fillup_only} +%fillup_only %service_add_post ipmi.service %postun /sbin/ldconfig -%service_add_post ipmi.service +%service_del_postun ipmi.service %files %defattr(-,root,root) %doc CONFIGURING_FOR_LAN COPYING COPYING.BSD COPYING.LIB FAQ %doc README README.Force README.MotorolaMXP -/var/adm/fillup-templates/sysconfig.ipmi +%{_localstatedir}/adm/fillup-templates/sysconfig.ipmi %{_unitdir}/ipmi.service /sbin/rcipmi %{_libdir}/libOpenIPMI*.so.* @@ -175,26 +179,28 @@ %{_bindir}/sdrcomp %{_bindir}/solterm %{_bindir}/rmcp_ping -%doc %{_mandir}/man1/ipmi_ui.1* -%doc %{_mandir}/man1/openipmicmd.1* -%doc %{_mandir}/man1/openipmish.1* -%doc %{_mandir}/man1/solterm.1* -%doc %{_mandir}/man1/rmcp_ping.1* -%doc %{_mandir}/man1/ipmi_sim.1* -%doc %{_mandir}/man5/ipmi_lan.5* -%doc %{_mandir}/man5/ipmi_sim_cmd.5* -%doc %{_mandir}/man7/ipmi_cmdlang.7* -%doc %{_mandir}/man7/openipmi_conparms.7* +%{_bindir}/openipmi_eventd +%{_mandir}/man1/ipmi_ui.1* +%{_mandir}/man1/openipmicmd.1* +%{_mandir}/man1/openipmish.1* +%{_mandir}/man1/solterm.1* +%{_mandir}/man1/openipmi_eventd.1* +%{_mandir}/man1/rmcp_ping.1* +%{_mandir}/man1/ipmi_sim.1* +%{_mandir}/man5/ipmi_lan.5* +%{_mandir}/man5/ipmi_sim_cmd.5* +%{_mandir}/man7/ipmi_cmdlang.7* +%{_mandir}/man7/openipmi_conparms.7* ###### lanserv files ##### %{_bindir}/ipmilan %{_libdir}/libIPMIlanserv.so.* -%doc %{_mandir}/man8/ipmilan.8* +%{_mandir}/man8/ipmilan.8* %files devel %defattr(644,root,root,755) -%{_prefix}/include/* -%{_prefix}/%{_lib}/*.so -%{_prefix}/%{_lib}/pkgconfig/*.pc +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc %doc doc/IPMI.pdf ################################################### @@ -205,7 +211,7 @@ ###### gui files ###### %dir %{py_sitedir}/openipmigui %{py_sitedir}/openipmigui/* -%{_bindir}/openipmigui -%doc %{_mandir}/man1/openipmigui.1* +%attr(755,root,root) %{_bindir}/openipmigui +%{_mandir}/man1/openipmigui.1* %changelog ++++++ OpenIPMI_2.0.21_to_HEAD.patch ++++++ ++++ 2600 lines (skipped)