This commit is contained in:
windowsboy111
2023-01-19 17:13:44 +08:00
parent 562d03d68d
commit 8f2cc050b2
3 changed files with 4 additions and 7 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
%global debug_package %{nil}
%global debug_package %{nil}
Name: nim
Version: 1.6.10
@@ -68,7 +68,7 @@ sed -i '/<link.*fonts.googleapis.com/d' doc/html/*.html
%install
sh install.sh %{buildroot}usr/bin # %{buildroot}%{bashcompdir}/nim %{buildroot}%{bashcompdir}/nimble %{buildroot}%{_mandir}/man1
sh install.sh %{buildroot}usr/bin
mkdir -p %{buildroot}/%{_bindir}
install -Dp -m755 bin/nim{,ble,grep,suggest,pretty} %{buildroot}/%{_bindir}
@@ -36,9 +36,6 @@ rm -rf %{pypi_name}.egg-info
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
@@ -32,8 +32,8 @@ sed "s@\t@ @g" google/protobuf/internal/cpp_message.py > google/protobuf/inte
%install
%py3_install
#%check
#%{__python3} setup.py test
%dnl %check
%dnl %{__python3} setup.py test
%files
%doc README.txt