Skip to content

Commit

Permalink
pkg: fix issues in rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick330602 committed Sep 18, 2022
1 parent 60bed35 commit a102790
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extras/build/rpm/copr/wslu.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ mkdir -p %{?buildroot}/usr/share/man/man1/
mkdir -p %{?buildroot}/usr/share/man/man7/
mkdir -p %{?buildroot}/usr/share/wslu/
mkdir -p %{?buildroot}/usr/bin/
mkdir -p %{?buildroot}/etc/wslu/
# normal part
make PREFIX=/usr DESTDIR=%{?buildroot} install
ln -sf /usr/bin/wslview %{?buildroot}/usr/bin/wview
Expand Down Expand Up @@ -74,6 +75,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/wslgsu
%{_bindir}/wslclip
/usr/share/wslu/
/etc/wslu
%doc /usr/share/man/

%changelog
Expand Down
2 changes: 2 additions & 0 deletions extras/build/rpm/obs/wslu.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ mkdir -p %{?buildroot}/usr/share/man/man1/
mkdir -p %{?buildroot}/usr/share/man/man7/
mkdir -p %{?buildroot}/usr/share/wslu/
mkdir -p %{?buildroot}/usr/bin/
mkdir -p %{?buildroot}/etc/wslu/
# normal part
make PREFIX=/usr DESTDIR=%{?buildroot} install
ln -sf /usr/bin/wslview %{?buildroot}/usr/bin/wview
Expand Down Expand Up @@ -74,6 +75,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/wslvar
%{_bindir}/wslclip
/usr/share/wslu/
/etc/wslu/
%doc /usr/share/man/

%changelog
Expand Down

0 comments on commit a102790

Please sign in to comment.