Skip to content

Commit 2a63f9f

Browse files
author
Heiko Engel
committed
removing plain /usr directory from pda rpm
1 parent 9a73305 commit 2a63f9f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package/rpm/pda.template

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ latency and high throughput PCIe devices from the userspace.
2020
%setup -q
2121

2222
%build
23-
%configure --prefix=%{inst_prefix}
23+
./configure --prefix=$RPM_BUILD_ROOT/%{_prefix}
2424
make
2525

2626
%install
@@ -32,7 +32,7 @@ make install DESTDIR=$RPM_BUILD_ROOT/%{inst_prefix}/
3232

3333
%files
3434
%defattr(-,root,root,-)
35-
%{inst_prefix}/bin/*
36-
%{inst_prefix}/include/*
37-
%{inst_prefix}/lib/*
38-
%{inst_prefix}/share/*
35+
%{_bindir}/*
36+
%{_prefix}/lib/*
37+
%{_includedir}/*
38+
%{_datarootdir}/*

0 commit comments

Comments
 (0)