mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
fedora python build changes from @dcantrell
This commit is contained in:
parent
6c131f4860
commit
23e8126b17
@ -13,7 +13,7 @@ BuildRequires: cmake
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pandoc
|
BuildRequires: pandoc
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-cffi
|
||||||
BuildRequires: pkgconfig(ncurses)
|
BuildRequires: pkgconfig(ncurses)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -56,12 +56,14 @@ mkdir build
|
|||||||
cd build
|
cd build
|
||||||
%cmake -DUSE_FFMPEG=off -DUSE_TESTS=off ..
|
%cmake -DUSE_FFMPEG=off -DUSE_TESTS=off ..
|
||||||
%make_build
|
%make_build
|
||||||
|
cd python
|
||||||
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
cd build
|
||||||
%make_install
|
%make_install
|
||||||
cd python
|
cd python
|
||||||
python setup.py install --root=%{buildroot} --optimize=1
|
%py3_install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user