public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/avrdude] rawhide: update to 8.2 + spec cleanup, fixes rhbz#2374313 rhbz#2503780 rhbz#2380937
@ 2026-08-03 14:45 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-03 14:45 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/avrdude
            Branch : rawhide
            Commit : 21e41d71d9b4b4fb4a72f46a9de0919c03107594
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-07-22T02:28:28-03:00
            Stats  : +32/-31 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/avrdude/c/21e41d71d9b4b4fb4a72f46a9de0919c03107594?branch=rawhide

            Log:
            update to 8.2 + spec cleanup, fixes rhbz#2374313	rhbz#2503780 rhbz#2380937

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>

---
diff --git a/.gitignore b/.gitignore
index c1a74c9..0e82d6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,5 @@
 /avrdude-7.*-filtered.tar.xz
 /avrdude-8.0/
 /avrdude-8.0.tar.gz
+/avrdude-8.*/
+/avrdude-8.*.tar.gz

diff --git a/avrdude.spec b/avrdude.spec
index 9a7ac9e..86844cb 100644
--- a/avrdude.spec
+++ b/avrdude.spec
@@ -6,8 +6,8 @@
 %bcond_without docs
 
 Name:           avrdude
-Version:        8.0
-Release:        10%{?dist}
+Version:        8.2
+Release:        1%{?dist}
 Summary:        Software for programming Atmel AVR Microcontroller
 
 License:        GPL-2.0-or-later AND GPL-3.0-only AND (WTFPL OR MIT)
@@ -35,37 +35,32 @@ Source5:        elf2tag.1
 # Stop granting blanket access to all /dev/tty{ACM,USB}* devices
 Patch:          avrdude-udev-no-blanket-access.patch
 
-BuildRequires:  cmake
-BuildRequires:  gcc
-BuildRequires:  flex
 BuildRequires:  bison
+BuildRequires:  cmake
 BuildRequires:  elfutils-libelf-devel
+BuildRequires:  flex
+BuildRequires:  gcc
 BuildRequires:  hidapi-devel
+BuildRequires:  libftdi-devel
 %if ((0%{?fedora} >= 1) || (0%{?rhel} >= 8))
 BuildRequires:  libgpiod-devel
 %endif
-%if ((0%{?fedora} >= 1) || (0%{?rhel} >= 9))
-BuildRequires:  libserialport-devel
-%endif
 # EL does not have libhid-devel
 %if 0%{?fedora} >= 28
 BuildRequires:  libhid-devel
 %endif
-BuildRequires:  readline-devel
+%if ((0%{?fedora} >= 1) || (0%{?rhel} >= 9))
+BuildRequires:  libserialport-devel
+%endif
 BuildRequires:  ncurses-devel
-BuildRequires:  libftdi-devel
 BuildRequires:  pkgconfig(libusb-1.0)
+BuildRequires:  readline-devel
+BuildRequires:  systemd-rpm-macros
 %if %{with docs}
 BuildRequires:  texi2html
 BuildRequires:  texinfo
 BuildRequires:  texinfo-tex
 %endif
-BuildRequires:  make
-
-# https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
-%if !((0%{?fedora} >= 28) || (0%{?rhel} >= 8))
-%{error:No install-info scriptlets for Fedora prior to F28 or EL prior to EL8.}
-%endif
 
 
 %description
@@ -78,14 +73,13 @@ particular chip.
 
 
 %prep
-%setup -q -n %{name}-%{version}
+%autosetup -N
 cp -p %{SOURCE1} avrdude.udev
 %autopatch -v -p1
 if test -d atmel-docs; then
   echo "Directory 'atmel-docs' still exists, aborting."
   exit 2
 fi
-sed -i 's|^find_package(SWIG|\# find_package(SWIG|' CMakeLists.txt
 
 
 %build
@@ -102,6 +96,7 @@ sed -i 's|^find_package(SWIG|\# find_package(SWIG|' CMakeLists.txt
        -D HAVE_PARPORT:BOOL=ON \
        -D FETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON \
        -D FETCHCONTENT_QUIET:BOOL=OFF \
+       -D FORCE_DISABLE_PYTHON_SUPPORT:BOOL=ON \
        -D BUILD_SHARED_LIBS:BOOL=NO \
        -D USE_STATIC_LIBS:BOOL=YES
 
@@ -124,22 +119,22 @@ test -s genset.rules
 %install
 %cmake_install
 
-rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+rm -f %{buildroot}%{_infodir}/dir
 
-rm -f $RPM_BUILD_ROOT%{_includedir}/libavrdude-avrintel.h
-rm -f $RPM_BUILD_ROOT%{_includedir}/libavrdude.h
-rm -f $RPM_BUILD_ROOT%{_libdir}/libavrdude.a
+rm -f %{buildroot}%{_includedir}/libavrdude-avrintel.h
+rm -f %{buildroot}%{_includedir}/libavrdude.h
+rm -f %{buildroot}%{_libdir}/libavrdude.a
 
-install -d -m 755              $RPM_BUILD_ROOT%{_udevrulesdir}
-install -p -m 644 avrdude.udev $RPM_BUILD_ROOT%{_udevrulesdir}/%{udev_rules_old}
-install -p -m 644 genset.rules $RPM_BUILD_ROOT%{_udevrulesdir}/%{udev_rules_gen}
+install -d -m 755              %{buildroot}%{_udevrulesdir}
+install -p -m 644 avrdude.udev %{buildroot}%{_udevrulesdir}/%{udev_rules_old}
+install -p -m 644 genset.rules %{buildroot}%{_udevrulesdir}/%{udev_rules_gen}
 
-install -d -m 755            $RPM_BUILD_ROOT%{_pkgdocdir}
-install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_pkgdocdir}/README.fedora
-install -p -m 644         -t $RPM_BUILD_ROOT%{_pkgdocdir} AUTHORS NEWS README.md
+install -d -m 755            %{buildroot}%{_pkgdocdir}
+install -p -m 644 %{SOURCE2} %{buildroot}%{_pkgdocdir}/README.fedora
+install -p -m 644         -t %{buildroot}%{_pkgdocdir} AUTHORS NEWS README.md
 
-install -d -m 755            $RPM_BUILD_ROOT%{_mandir}/man1
-install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/elf2tag.1
+install -d -m 755            %{buildroot}%{_mandir}/man1
+install -p -m 644 %{SOURCE5} %{buildroot}%{_mandir}/man1/elf2tag.1
 
 
 %check
@@ -169,6 +164,10 @@ install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/elf2tag.1
 
 
 %changelog
+* Wed Jul 22 2026 Filipe Rosset <rosset.filipe@gmail.com> - 8.2-1
+- Update to avrdude-8.2 fixes #2307778
+- Reorder BuildRequires in alphabetical order
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 8.0-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index f92914d..a64c6f5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (avrdude-8.0.tar.gz) = c6fa365924aa8ad58a1b2f85c36ecc498c9b049b9bce455994752b8b13c06aa31ac6c8420eea4be307f42e64284c87ec08f75d6eaec640de7dc097c523d02dac
+SHA512 (avrdude-8.2.tar.gz) = 67c187b5f0520ebbdcebec09d15ff6a08fb58ce31ca817c05c9b5c76a2b2f83d6d127a616a19c0c661286ce36cbd012ef3f155498ed29fb9c05e0af17b81b517

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

only message in thread, other threads:[~2026-08-03 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 14:45 [rpms/avrdude] rawhide: update to 8.2 + spec cleanup, fixes rhbz#2374313 rhbz#2503780 rhbz#2380937 Filipe Rosset

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