Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
recover deleted file in [email protected]
  • Loading branch information
liusen373 committed Sep 8, 2021
commit ae603ade231e7314608e0f3f3a8671010715d67d
13 changes: 12 additions & 1 deletion rpms/typora/typora.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ Requires: hicolor-icon-theme
%description
A minimal Markdown reading & writing app.

%package others
Summary: Some useless files
BuildArch: noarch
Requires: typora = %{version}-%{release}

%description others
Some useless files.

%prep
ar x %{SOURCE0}
tar -xf data.tar.xz
Expand All @@ -19,7 +27,6 @@ tar -xf data.tar.xz

%install
cp -R usr %{buildroot}
rm -rf %{buildroot}%{_datadir}/lintian

%check
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
Expand All @@ -37,6 +44,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%dir %{_datadir}/typora
%{_datadir}/typora/*

%files others
%{_datadir}/lintian

%changelog
* Sun Jul 18 2021 Liu Sen <[email protected]> - 0.10.11-1
- First release