simplify %install a bit

f41
David Tardon 11 years ago
parent 5a3e294c7f
commit 9f47475acb

@ -45,12 +45,10 @@ sed -i -e '/^CPPFLAGS_NODEBUG=/s/=.*/="%{optflags}"/' configure
%configure %configure
%install %install
mkdir -p %{buildroot}/%{_includedir} install -d -m 0755 %{buildroot}/%{_includedir}/mdds
mkdir %{buildroot}/%{_includedir}/mdds
cp -pr include/mdds/* %{buildroot}/%{_includedir}/mdds cp -pr include/mdds/* %{buildroot}/%{_includedir}/mdds
mkdir -p %{buildroot}/%{_datadir} install -d -m 0755 %{buildroot}/%{_datadir}/pkgconfig
mkdir %{buildroot}/%{_datadir}/pkgconfig install -p -m 0644 misc/%{name}.pc %{buildroot}/%{_datadir}/pkgconfig
cp -p misc/%{name}.pc %{buildroot}/%{_datadir}/pkgconfig
%check %check
make check %{?_smp_mflags} make check %{?_smp_mflags}

Loading…
Cancel
Save