diff --git a/_service b/_service new file mode 100644 index 0000000..b63989e --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/nltk/nltk + git + web/* + 3.9.1 + 3.9.1 + + + + + *.tar + xz + + diff --git a/nltk-3.9.1.obscpio b/nltk-3.9.1.obscpio new file mode 100644 index 0000000..ba1fc81 --- /dev/null +++ b/nltk-3.9.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1b59894ed0a2eebbb64fc4e0975216a5a7e1a949e61b9a4f22693e15536ff05 +size 8269325 diff --git a/nltk-3.9.1.tar.gz b/nltk-3.9.1.tar.gz deleted file mode 100644 index 2f28f5d..0000000 --- a/nltk-3.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:03e06c8c13e352133962c4395ebe0696905c9f1fbdead2d19deae37ba48eb47c -size 2874006 diff --git a/nltk.obsinfo b/nltk.obsinfo new file mode 100644 index 0000000..52dc688 --- /dev/null +++ b/nltk.obsinfo @@ -0,0 +1,4 @@ +name: nltk +version: 3.9.1 +mtime: 1724010420 +commit: aca78cb2add4084f76b9eac921d8a73927d7a086 diff --git a/python-nltk.changes b/python-nltk.changes index ef26944..e445000 100644 --- a/python-nltk.changes +++ b/python-nltk.changes @@ -1,6 +1,8 @@ ------------------------------------------------------------------- Tue Oct 29 08:37:43 UTC 2024 - Daniel Garcia +- Use _service to download source and exclude documentation that has + non-commercial license (boo#1232448) - Remove nltk_data to avoid redistribution of files with non-commercial (boo#1232448): > NLTK corpora are provided under the terms given in the README file diff --git a/python-nltk.spec b/python-nltk.spec index 60a284f..dba8a91 100644 --- a/python-nltk.spec +++ b/python-nltk.spec @@ -25,7 +25,9 @@ Summary: Natural Language Toolkit License: Apache-2.0 URL: http://nltk.org/ # SourceRepository: https://github.com/nltk/nltk -Source0: https://github.com/nltk/%{modname}/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{version}.tar.gz +# The _service download the source and repack without some doc files +# that has non-commercial license. boo#1232448 +Source0: nltk-%{version}.tar.xz # Download/Update NLTK data: # quilt setup python-nltk.spec # pushd nltk-?.?.?