- Update to 1.12.1
This commit is contained in:
parent
7d0afa0320
commit
d5cd56c815
@ -1 +1 @@
|
|||||||
cppunit-1.12.0.tar.gz
|
cppunit-1.12.1.tar.gz
|
||||||
|
20
cppunit.spec
20
cppunit.spec
@ -1,6 +1,6 @@
|
|||||||
Name: cppunit
|
Name: cppunit
|
||||||
Version: 1.12.0
|
Version: 1.12.1
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
Summary: C++ unit testing framework
|
Summary: C++ unit testing framework
|
||||||
# no license in files
|
# no license in files
|
||||||
@ -15,7 +15,8 @@ BuildRequires: doxygen, graphviz
|
|||||||
|
|
||||||
%description
|
%description
|
||||||
CppUnit is the C++ port of the famous JUnit framework for unit testing.
|
CppUnit is the C++ port of the famous JUnit framework for unit testing.
|
||||||
Test output is in XML for automatic testing and GUI based for supervised tests.
|
Test output is in XML for automatic testing and GUI based for supervised
|
||||||
|
tests.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Libraries and headers for cppunit development
|
Summary: Libraries and headers for cppunit development
|
||||||
@ -40,13 +41,13 @@ the popular doxygen documentation generation tool.
|
|||||||
%patch0 -p1 -b .nolibdir
|
%patch0 -p1 -b .nolibdir
|
||||||
for file in THANKS ChangeLog NEWS; do
|
for file in THANKS ChangeLog NEWS; do
|
||||||
iconv -f latin1 -t utf8 < $file > ${file}.utf8
|
iconv -f latin1 -t utf8 < $file > ${file}.utf8
|
||||||
touch -r $file ${file}.utf8
|
touch -c -r $file ${file}.utf8
|
||||||
mv ${file}.utf8 $file
|
mv ${file}.utf8 $file
|
||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LDFLAGS=-ldl
|
export LDFLAGS=-ldl
|
||||||
%configure --enable-doxygen --disable-static
|
%configure --enable-doxygen --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -54,10 +55,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
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}/cppunit
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/cppunit
|
||||||
|
|
||||||
# ensure that timestamp of cppunit-config is the same for all arches
|
# ensure that timestamp of cppunit-config is the same for all arches
|
||||||
touch -r cppunit-config.in.nolibdir $RPM_BUILD_ROOT%{_bindir}/cppunit-config
|
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
|
||||||
@ -94,9 +95,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc __dist-examples-dir/examples/
|
%doc __dist-examples-dir/examples/
|
||||||
%doc doc/html/
|
%doc doc/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 18 2008 Patrice Dumas <pertusus@free.fr> 1.12.1-1
|
||||||
|
- Update to 1.12.1
|
||||||
|
|
||||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.12.0-5
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.12.0-5
|
||||||
- Autorebuild for GCC 4.3
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user