public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-myhdl] rawhide: spec cleanup and modernization
Date: Thu, 11 Jun 2026 16:59:53 GMT	[thread overview]
Message-ID: <178119719324.1.3412292555360139686.rpms-python-myhdl-dd5af534366f@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-11 16:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178119719324.1.3412292555360139686.rpms-python-myhdl-dd5af534366f@fedoraproject.org \
    --to=filiperosset@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox