From b6ab6d099a20c02e7afa543cdb16c56a9fa4c906 Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Nov 04 2021 12:31:32 +0000 Subject: [PATCH 1/4] feat: reformat description --- diff --git a/python-pynrrd.spec b/python-pynrrd.spec index 2360b98..6259d39 100644 --- a/python-pynrrd.spec +++ b/python-pynrrd.spec @@ -12,32 +12,20 @@ BuildRequires: python3-devel BuildRequires: numpy %global _description %{expand: -Pynrrd is a pure-Python module for reading -and writing NRRD files into and from numpy -arrays. -NRRD stands for Nearly Raw Raster Data and -is a file format designed for scientific -visualization and image processing involving -N-dimensional data. -It is a simple and flexible file format with -a header containing information about the data -that can be read by simply opening the NRRD -file in a text editor. - -Many other file formats such as PNG, -JPG, DICOM cannot be read with a simple -text editor! -In addition, the raw data can be stored -in a NRRD file in a number of commonly -known formats such as ASCII, gzip, bzip or -even raw. -The header information and data itself -can be stored in the same file or separately. -Another feature of the NRRD file format is the -support of custom key/value pairsin the header -to allow storing of user information not defined -in the NRRD specification. -} +Pynrrd is a pure-Python module for reading and writing NRRD files into and from +numpy arrays. NRRD stands for Nearly Raw Raster Data and is a file format +designed for scientific visualization and image processing involving +N-dimensional data. It is a simple and flexible file format with a header +containing information about the data that can be read by simply opening the +NRRD file in a text editor. + +Many other file formats such as PNG, JPG, DICOM cannot be read with a simple +text editor! In addition, the raw data can be stored in a NRRD file in a +number of commonly known formats such as ASCII, gzip, bzip or even raw. The +header information and data itself can be stored in the same file or +separately. Another feature of the NRRD file format is the support of custom +key/value pairsin the header to allow storing of user information not defined +in the NRRD specification. } %description %_description From eedea21ad5f2fe029b76c6749317e446227c5353 Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Nov 04 2021 12:31:52 +0000 Subject: [PATCH 2/4] fix: correct the name of the importable module https://github.com/mhe/pynrrd -> the folder there with the `__init__.py` file is `nrrd`, not `pynrrd`: https://github.com/mhe/pynrrd/tree/master/nrrd --- diff --git a/python-pynrrd.spec b/python-pynrrd.spec index 6259d39..2f535ca 100644 --- a/python-pynrrd.spec +++ b/python-pynrrd.spec @@ -49,11 +49,11 @@ Summary: %{summary} %install %pyproject_install -%pyproject_save_files pynrrd +%pyproject_save_files nrrd %check -%py3_check_import pynrrd +%py3_check_import nrrd %files -n python3-pynrrd -f %{pyproject_files} From ceeffc3d798f2fdf5097e600177f5058aaaa0ffd Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Nov 04 2021 12:32:51 +0000 Subject: [PATCH 3/4] fix: correct autochangelog usage --- diff --git a/python-pynrrd.spec b/python-pynrrd.spec index 2f535ca..b3f8fd8 100644 --- a/python-pynrrd.spec +++ b/python-pynrrd.spec @@ -58,8 +58,6 @@ Summary: %{summary} %files -n python3-pynrrd -f %{pyproject_files} %doc README.rst AUTHORS - %changelog -*%autochangelog -- Initial rpm build +%autochangelog From 0bddee578e635790ea275323fc428bf307da407d Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Nov 04 2021 12:33:04 +0000 Subject: [PATCH 4/4] feat: checkin new srpm --- diff --git a/python-pynrrd-0.4.2-1.fc36.src.rpm b/python-pynrrd-0.4.2-1.fc36.src.rpm deleted file mode 100644 index a373dd1..0000000 Binary files a/python-pynrrd-0.4.2-1.fc36.src.rpm and /dev/null differ