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: pandoc
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-cffi
|
||||
BuildRequires: pkgconfig(ncurses)
|
||||
|
||||
%description
|
||||
@ -56,12 +56,14 @@ mkdir build
|
||||
cd build
|
||||
%cmake -DUSE_FFMPEG=off -DUSE_TESTS=off ..
|
||||
%make_build
|
||||
cd python
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
cd build
|
||||
%make_install
|
||||
cd python
|
||||
python setup.py install --root=%{buildroot} --optimize=1
|
||||
%py3_install
|
||||
|
||||
%files
|
||||
%doc CHANGELOG.md README.md
|
||||
|
Loading…
Reference in New Issue
Block a user