Skip to content

Commit

Permalink
Fix versioning and installation path
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-rh committed Jul 6, 2023
1 parent 528d904 commit 9c28ca9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions copr/MikkTSpace/mikktspace.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ Development files for mikktspace
%autosetup -n MikkTSpace-%{commit}

%build
gcc %{optflags} mikktspace.c -shared -o lib%{name}.so.%{version}
gcc %{optflags} mikktspace.c -shared -o lib%{name}.so

%install
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_includedir}/%{name}/

install -m0755 lib%{name}.so.%{version} %{buildroot}%{_libdir}
cp -a mikktspace.h %{buildroot}%{_includedir}/%{name}
install -m0755 lib%{name}.so %{buildroot}%{_libdir}
install -m0755 mikktspace.h %{buildroot}%{_includedir}/%{name}/

%files
%doc README.md
%license LICENSE
%{_libdir}/*.so.%{version}
%{_libdir}/*.so

%files devel
%{_includedir}/*
Expand Down

0 comments on commit 9c28ca9

Please sign in to comment.