From 9f47475acbb08959683ec5f4315461d4f76faa6d Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 24 Apr 2014 17:09:24 +0200 Subject: [PATCH] simplify %install a bit --- mdds.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mdds.spec b/mdds.spec index 3416a29..7f2a665 100644 --- a/mdds.spec +++ b/mdds.spec @@ -45,12 +45,10 @@ sed -i -e '/^CPPFLAGS_NODEBUG=/s/=.*/="%{optflags}"/' configure %configure %install -mkdir -p %{buildroot}/%{_includedir} -mkdir %{buildroot}/%{_includedir}/mdds +install -d -m 0755 %{buildroot}/%{_includedir}/mdds cp -pr include/mdds/* %{buildroot}/%{_includedir}/mdds -mkdir -p %{buildroot}/%{_datadir} -mkdir %{buildroot}/%{_datadir}/pkgconfig -cp -p misc/%{name}.pc %{buildroot}/%{_datadir}/pkgconfig +install -d -m 0755 %{buildroot}/%{_datadir}/pkgconfig +install -p -m 0644 misc/%{name}.pc %{buildroot}/%{_datadir}/pkgconfig %check make check %{?_smp_mflags}