Skip to content

Commit cd083a5

Browse files
authored
Merge pull request #181 from pakmarkthub/dev-issue-180
Fix incorrect info in Provides section in rpm
2 parents f203d75 + 5e260b8 commit cd083a5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ install: lib_install exes_install
6767
lib_install: lib
6868
@ echo "installing in $(DESTLIB) $(DESTINC)..." && \
6969
mkdir -p $(DESTLIB) && \
70-
install -D -v -m u=rw,g=rw,o=r src/$(LIB_DYNAMIC) -t $(DESTLIB) && \
70+
install -D -v -m u=rwx,g=rx,o=rx src/$(LIB_DYNAMIC) -t $(DESTLIB) && \
7171
mkdir -p $(DESTINC) && \
7272
install -D -v -m u=rw,g=rw,o=r include/* -t $(DESTINC); \
7373
cd $(DESTLIB); \

packages/gdrcopy.spec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ if [ -e /usr/bin/systemctl ]; then \
4141
/usr/bin/systemctl daemon-reload \
4242
fi
4343

44+
%global __requires_exclude ^libcuda\\.so.*$
4445

4546

4647
Name: gdrcopy
@@ -54,9 +55,6 @@ Source0: %{name}-%{version}.tar.gz
5455
BuildRequires: gcc kernel-headers check-devel
5556
Requires: %{name}-%{kmod} check
5657

57-
# to get rid of libcuda/libcudart
58-
AutoReqProv: no
59-
6058
%package devel
6159
Summary: The development files
6260
Group: System Environment/Libraries

0 commit comments

Comments
 (0)