Skip to content

Commit 601068c

Browse files
committed
Create symlink to avoid RPM being searched for in the wrong location
1 parent 28ed002 commit 601068c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rr.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ http://rr-project.org
2525
%install
2626
mkdir -p %{buildroot}@CPACK_PACKAGING_INSTALL_PREFIX@/lib64
2727
cp -a %{buildroot}@CPACK_PACKAGING_INSTALL_PREFIX@/lib/* %{buildroot}@CPACK_PACKAGING_INSTALL_PREFIX@/lib64
28+
ln -s @CPACK_BINARY_DIR@/_CPack_Packages/@CPACK_SYSTEM_NAME@/RPM/RPMS/@CPACK_PACKAGE_FILE_NAME@.rpm @CPACK_BINARY_DIR@/_CPack_Packages/@CPACK_SYSTEM_NAME@/RPM/@CPACK_PACKAGE_FILE_NAME@.rpm
2829

2930
%files
3031
%defattr(-,root,root,-)

0 commit comments

Comments
 (0)