Remove unnecessary lines

This commit is contained in:
Sébastien Willmann 2016-01-03 18:54:47 +01:00
parent b507fbaf3a
commit 3b01cdaea5
2 changed files with 2 additions and 6 deletions

View File

@ -8,7 +8,6 @@ Group: System Environment/Libraries
License: Public Domain or MIT License: Public Domain or MIT
URL: https://github.com/open-source-parsers/jsoncpp URL: https://github.com/open-source-parsers/jsoncpp
Source0: https://github.com/open-source-parsers/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/open-source-parsers/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: jsoncpp.pc
BuildRequires: doxygen cmake BuildRequires: doxygen cmake
BuildRequires: python BuildRequires: python
@ -49,7 +48,8 @@ make %{?_smp_mflags}
python doxybuild.py --with-dot --doxygen %{_bindir}/doxygen python doxybuild.py --with-dot --doxygen %{_bindir}/doxygen
%check %check
ctest -V %{?_smp_mflags} # Tests are run automatically in the build section
# ctest -V %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
@ -59,9 +59,6 @@ for f in AUTHORS LICENSE NEWS.txt README.md ; do
install -p -m 0644 $f $RPM_BUILD_ROOT%{_docdir}/%{name} install -p -m 0644 $f $RPM_BUILD_ROOT%{_docdir}/%{name}
done done
install -p -m 0644 dist/doxygen/*/*.{html,png} $RPM_BUILD_ROOT%{_docdir}/%{name}/html install -p -m 0644 dist/doxygen/*/*.{html,png} $RPM_BUILD_ROOT%{_docdir}/%{name}/html
install -d $RPM_BUILD_ROOT%{_libdir}/pkgconfig
install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
sed -i 's|@@LIBDIR@@|%{_libdir}|g' $RPM_BUILD_ROOT%{_libdir}/pkgconfig/jsoncpp.pc
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig

View File

@ -1,2 +1 @@
db146bac5a126ded9bd728ab7b61ed6b jsoncpp-0.10.5.tar.gz db146bac5a126ded9bd728ab7b61ed6b jsoncpp-0.10.5.tar.gz
50728b46a67e6dc9d062330829fbf57b jsoncpp.pc