drop obsolete cppunit-config

This commit is contained in:
David Tardon 2016-02-13 13:06:27 +01:00
parent b45c7357ae
commit 178f2e9af8

View File

@ -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 <dtardon@redhat.com> - 1.13.2-2
- drop obsolete cppunit-config
* Sat Feb 13 2016 David Tardon <dtardon@redhat.com> - 1.13.2-1
- switch to new upstream