Improve compatibility with new CMake macro
This commit is contained in:
parent
354b19675e
commit
c20087ac01
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: texworks
|
||||
Version: 0.6.5
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: A simple IDE for authoring TeX documents
|
||||
|
||||
License: GPLv2+
|
||||
|
@ -38,17 +38,11 @@ You may install the texlive-* packages to make this program useful.
|
|||
%setup -q -n %{name}-release-%{version}
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
pushd build
|
||||
%cmake .. -DWITH_PYTHON=ON -DTW_BUILD_ID=Fedora -DTeXworks_DIC_DIR=%{_datadir}/myspell -DTeXworks_PLUGIN_DIR=%{_libdir}/texworks -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
%cmake -DWITH_PYTHON=ON -DTW_BUILD_ID=Fedora -DTeXworks_DIC_DIR=%{_datadir}/myspell -DTeXworks_PLUGIN_DIR=%{_libdir}/texworks -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
pushd build
|
||||
%make_install INSTALL="install -p"
|
||||
popd
|
||||
%cmake_install
|
||||
rm %{buildroot}/%{_docdir}/%{name}/COPYING
|
||||
|
||||
%files
|
||||
|
@ -63,6 +57,9 @@ rm %{buildroot}/%{_docdir}/%{name}/COPYING
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 03 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 0.6.5-5
|
||||
- Improve compatibility with new CMake macro
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.5-4
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
|
Loading…
Reference in New Issue