From 178f2e9af88cd6e9170ac9eca57b65b18cd3f8fc Mon Sep 17 00:00:00 2001 From: David Tardon Date: Feb 13 2016 12:14:23 +0000 Subject: drop obsolete cppunit-config --- diff --git a/cppunit.spec b/cppunit.spec index 5fb5f70..19cd9f5 100644 --- a/cppunit.spec +++ b/cppunit.spec @@ -2,15 +2,14 @@ Name: cppunit Version: 1.13.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ unit testing framework # no license in files License: LGPLv2+ Url: https://www.freedesktop.org/wiki/Software/cppunit/ Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.gz -Patch0: cppunit-1.12.0-nolibdir.patch -Patch1: 0001-Update-FSF-address-in-LGPL-license.patch +Patch0: 0001-Update-FSF-address-in-LGPL-license.patch BuildRequires: doxygen BuildRequires: graphviz @@ -56,9 +55,8 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' rm $RPM_BUILD_ROOT%{_libdir}/*.la # remove double of doc rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/cppunit $RPM_BUILD_ROOT%{_datadir}/%{name}/html - -# ensure that timestamp of cppunit-config is the same for all arches -touch -c -r cppunit-config.in.nolibdir $RPM_BUILD_ROOT%{_bindir}/cppunit-config +# remove unused cppunit-config +rm -f $RPM_BUILD_ROOT%{_bindir}/cppunit-config $RPM_BUILD_ROOT%{_mandir}/man1/cppunit-config.1* $RPM_BUILD_ROOT%{_datadir}/aclocal/cppunit.m4 # clean up examples rm -rf __dist-examples __dist-examples-dir @@ -82,11 +80,8 @@ mv __dist-examples __dist-examples-dir/examples %{_libdir}/libcppunit-%{apiversion}.so.0.* %files devel -%{_bindir}/cppunit-config %{_includedir}/cppunit %{_libdir}/libcppunit.so -%{_datadir}/aclocal/cppunit.m4 -%{_mandir}/man1/cppunit-config.1* %{_libdir}/pkgconfig/cppunit.pc %files doc @@ -95,6 +90,9 @@ mv __dist-examples __dist-examples-dir/examples %doc doc/html %changelog +* Sat Feb 13 2016 David Tardon - 1.13.2-2 +- drop obsolete cppunit-config + * Sat Feb 13 2016 David Tardon - 1.13.2-1 - switch to new upstream