drop obsolete cppunit-config
This commit is contained in:
parent
b45c7357ae
commit
178f2e9af8
16
cppunit.spec
16
cppunit.spec
@ -2,15 +2,14 @@
|
|||||||
|
|
||||||
Name: cppunit
|
Name: cppunit
|
||||||
Version: 1.13.2
|
Version: 1.13.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
Summary: C++ unit testing framework
|
Summary: C++ unit testing framework
|
||||||
# no license in files
|
# no license in files
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Url: https://www.freedesktop.org/wiki/Software/cppunit/
|
Url: https://www.freedesktop.org/wiki/Software/cppunit/
|
||||||
Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.gz
|
Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.gz
|
||||||
Patch0: cppunit-1.12.0-nolibdir.patch
|
Patch0: 0001-Update-FSF-address-in-LGPL-license.patch
|
||||||
Patch1: 0001-Update-FSF-address-in-LGPL-license.patch
|
|
||||||
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
@ -56,9 +55,8 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
|||||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
# remove double of doc
|
# remove double of doc
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/cppunit $RPM_BUILD_ROOT%{_datadir}/%{name}/html
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/cppunit $RPM_BUILD_ROOT%{_datadir}/%{name}/html
|
||||||
|
# remove unused cppunit-config
|
||||||
# ensure that timestamp of cppunit-config is the same for all arches
|
rm -f $RPM_BUILD_ROOT%{_bindir}/cppunit-config $RPM_BUILD_ROOT%{_mandir}/man1/cppunit-config.1* $RPM_BUILD_ROOT%{_datadir}/aclocal/cppunit.m4
|
||||||
touch -c -r cppunit-config.in.nolibdir $RPM_BUILD_ROOT%{_bindir}/cppunit-config
|
|
||||||
|
|
||||||
# clean up examples
|
# clean up examples
|
||||||
rm -rf __dist-examples __dist-examples-dir
|
rm -rf __dist-examples __dist-examples-dir
|
||||||
@ -82,11 +80,8 @@ mv __dist-examples __dist-examples-dir/examples
|
|||||||
%{_libdir}/libcppunit-%{apiversion}.so.0.*
|
%{_libdir}/libcppunit-%{apiversion}.so.0.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/cppunit-config
|
|
||||||
%{_includedir}/cppunit
|
%{_includedir}/cppunit
|
||||||
%{_libdir}/libcppunit.so
|
%{_libdir}/libcppunit.so
|
||||||
%{_datadir}/aclocal/cppunit.m4
|
|
||||||
%{_mandir}/man1/cppunit-config.1*
|
|
||||||
%{_libdir}/pkgconfig/cppunit.pc
|
%{_libdir}/pkgconfig/cppunit.pc
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
@ -95,6 +90,9 @@ mv __dist-examples __dist-examples-dir/examples
|
|||||||
%doc doc/html
|
%doc doc/html
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Feb 13 2016 David Tardon <dtardon@redhat.com> - 1.13.2-1
|
||||||
- switch to new upstream
|
- switch to new upstream
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user