public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-myhdl] rawhide: spec cleanup and modernization
@ 2026-06-11 16:59 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-11 16:59 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-myhdl
            Branch : rawhide
            Commit : dd5af534366fcc7c6512edb16bfeb02857c90f6d
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-10T03:59:28-03:00
            Stats  : +8/-13 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-myhdl/c/dd5af534366fcc7c6512edb16bfeb02857c90f6d?branch=rawhide

            Log:
            spec cleanup and modernization

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index 93fc4ff..3138db8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1 @@
-/myhdl-0.7.tar.gz
-/myhdl-0.8.tar.gz
-/myhdl-0.8.1.tar.gz
-/myhdl-0.9.0.tar.gz
-/myhdl-0.10.tar.gz
-/myhdl-0.11.tar.gz
+/myhdl-*.tar.gz

diff --git a/python-myhdl.spec b/python-myhdl.spec
index fb037b1..6894574 100644
--- a/python-myhdl.spec
+++ b/python-myhdl.spec
@@ -5,10 +5,9 @@ Name:           python-%{srcname}
 Version:        0.11
 Release:        %autorelease
 Summary:        %{sum}
-# Automatically converted from old format: LGPLv2+ - review is highly recommended.
-License:        LicenseRef-Callaway-LGPLv2+
-URL:            http://myhdl.org
-Source0:        https://files.pythonhosted.org/packages/source/m/%{srcname}/%{srcname}-%{version}.tar.gz
+License:        LGPL-2.1-or-later
+URL:            https://www.myhdl.org
+Source:         %{pypi_source %{srcname}}
 BuildArch:      noarch
 BuildRequires:  python3-devel
 
@@ -32,8 +31,8 @@ supports viewing waveform by tracing signal changes in a VCD file.
 
 
 %prep
-%setup -q -n myhdl-%{version}
-find -name '*.txt' | xargs chmod -x
+%autosetup -n myhdl-%{version}
+find . -type f -name "*.txt" -exec chmod a-x {} +
 
 %generate_buildrequires
 %pyproject_buildrequires
@@ -51,7 +50,8 @@ find -name '*.txt' | xargs chmod -x
 
 
 %files -n python3-%{srcname} -f %{pyproject_files}
-%doc /usr/share/myhdl/cosimulation/
+%dir %{_datadir}/myhdl
+%doc %{_datadir}/myhdl/cosimulation/
 
 
 %changelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-11 16:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11 16:59 [rpms/python-myhdl] rawhide: spec cleanup and modernization Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox