Commit graph

132 commits

Author SHA1 Message Date
Fedora Release Engineering
e9e636381d Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 04:12:13 +00:00
Fedora Release Engineering
a5783c89b8 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:30:06 +00:00
Fedora Release Engineering
1a5070245e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 12:05:09 +00:00
Hans Ulrich Niedermann
76c4791419 Add elf2tag.1 man page
Add elf2tag.1 man page from upstream draft PR
https://github.com/avrdudes/avrdude/pull/1916
2024-09-02 00:10:58 +02:00
Hans Ulrich Niedermann
0b37529224 ExcludeArch: s390x (#2308947 avrdude is little endian only) 2024-09-02 00:00:22 +02:00
Hans Ulrich Niedermann
89ebb3a085 Actually ship static copy of udev rules as s390x workaround 2024-08-30 17:16:27 +02:00
Hans Ulrich Niedermann
3554e3d06a Ship static copy of udev rules as s390x workaround 2024-08-30 16:59:44 +02:00
Hans Ulrich Niedermann
790041b70e Rebuild for forgotten new-sources 2024-08-30 01:43:40 +02:00
Hans Ulrich Niedermann
b7dee42ccf Add new set of autogenerated udev rules 2024-08-30 00:52:16 +02:00
Hans Ulrich Niedermann
fdde2b4462 Autopatch does not need numbered Patch lines 2024-08-30 00:52:01 +02:00
Hans Ulrich Niedermann
19eb383adb Align install dirs for better overview 2024-08-30 00:52:01 +02:00
Hans Ulrich Niedermann
637888765f Disable building the SWIG based Python bindings 2024-08-30 00:51:58 +02:00
Hans Ulrich Niedermann
68a013db80 Continue not shipping libavrdude library due to unstable API/ABI 2024-08-30 00:50:29 +02:00
Hans Ulrich Niedermann
388ea26675 Stop removing non-existent files
Stop removing non-existent files which are not built any more.
2024-08-30 00:50:29 +02:00
Hans Ulrich Niedermann
6489176e7d Add _deps check ensuring no downloads happened
We try to disable upstream's downloading of extra source code, but if
that ever fails, this makes sure nothing has been downloaded.
2024-08-30 00:22:02 +02:00
Hans Ulrich Niedermann
2498696fba Use upstream location for config file 2024-08-30 00:22:02 +02:00
Hans Ulrich Niedermann
8a9cc26128 Ship elf2tag script 2024-08-30 00:22:02 +02:00
Hans Ulrich Niedermann
883b13cda6 Build with libgpiod-devel 2024-08-30 00:21:52 +02:00
Hans Ulrich Niedermann
c9e07df91f Build without old pre-1.0 libusb 2024-08-30 00:19:07 +02:00
Hans Ulrich Niedermann
5a2c1418f9 Enable libserialport support 2024-08-30 00:16:01 +02:00
Hans Ulrich Niedermann
9e58564385 Directly use upstream tarball 2024-08-30 00:16:01 +02:00
Hans Ulrich Niedermann
9040cce8b5 Update to avrdude-8.0 release 2024-08-30 00:16:01 +02:00
Hans Ulrich Niedermann
90f812df00 more readable make recipe 2024-08-28 20:11:19 +02:00
Hans Ulrich Niedermann
9ffa610d37 limit python script line length to 79 2024-08-28 20:08:56 +02:00
Fedora Release Engineering
4d2cb8e1bb Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 17:55:33 +00:00
Hans Ulrich Niedermann
931a994b14 Update to avrdude-7.3 release 2024-02-07 19:04:03 +01:00
Fedora Release Engineering
931d7d7973 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 23:58:43 +00:00
Hans Ulrich Niedermann
d6a1e39949 Update to avrdude-7.2 release 2024-01-19 15:58:24 +01:00
Fedora Release Engineering
a088ec439d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 14:01:20 +00:00
Hans Ulrich Niedermann
1bf5f122d8 Revert "udev: Stop making writable all ttyACM* and ttyUSB* devices"
This reverts commit f5dd1c3d3f.

I got a little confused about the patch doing that same job.
2024-01-18 13:46:26 +01:00
Hans Ulrich Niedermann
db4e9d076f spec: Match man/info page regardless of compression type
Have %files section match the man and info page files regardless
of compression type or exact section number.
2024-01-18 13:41:35 +01:00
Hans Ulrich Niedermann
c3c4799450 spec: Use double percent inside %changelog 2024-01-18 13:38:01 +01:00
Hans Ulrich Niedermann
5bd9d33b7a README.fedora: Improve readability 2024-01-18 13:36:40 +01:00
Hans Ulrich Niedermann
5f4d299d18 udev rules: Add more programmers from Debian avrdude.udev
A longer term solution will be to have a program parse the
/usr/etc/avrdude.conf file to determine a list of all
programmers devices and have a program write a udev rules
file from that information.
2024-01-18 13:35:50 +01:00
Hans Ulrich Niedermann
f5dd1c3d3f udev: Stop making writable all ttyACM* and ttyUSB* devices
Commit 775de87f66 made all ttyACM*
and ttyUSB* writable by the local user by just copying Debian's
avrdude.udev file.

This reverts that part of the commit.
2024-01-18 13:24:45 +01:00
Fedora Release Engineering
4e5d2cc13d Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 14:14:16 +00:00
Fedora Release Engineering
091645923b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 22:32:54 +00:00
Fedora Release Engineering
6afaf13f93 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 21:38:52 +00:00
Hans Ulrich Niedermann
21248622d7 avrdude-6.4-3: Explain USB device permission setup
- Add README.fedora explaining USB device permission setup
2022-04-21 10:41:59 +02:00
Hans Ulrich Niedermann
ce496de81b avrdude-6.4-2
- Install built documentation directly to %{_pkgdocdir}
- Fix file locations in man page, texinfo docs
- Upstream already has fixed these files' x bits
- Disable silent rules to help with build problems
- Stop granting user access to ALL /dev/tty{ACM,USB}* devices
- Enable parallel port support
- Update BuildReqs for libusb* to use pkgconfig(...)
- Update URLS from http: to https: in spec file
- Fix date of 6.4-1 changelog entry

This means this rpm now builds for f37(rawhide), f36, f35, f34.

It does NOT build for epel9 or epel8 due to them missing
libhid-devel and hidapi-devel, and it does NOT build for
epel7 due to epel7 requiring install-info scriptlets which
this avrdude.spec file does not contain.
2022-04-20 21:03:47 +02:00
Hans Ulrich Niedermann
a76fecb238 Install built documentation directly to %{_pkgdocdir}
If avrdude were using the standard GNU makefile variables, we
could just set docdir=%{_pkgdocdir} at configure time.

However, avrdude does not use the standard docdir variable,
preferring its own DOC_INST_DIR influenced by the configure
arguments --enable-versioned-doc and --disable-versioned-doc
instead.

We avoid the issue of determining which configure argument
to use by setting DOC_INST_DIR at "make install" time to use
whatever %{_pkgdocdir} is on this distribution.
2022-04-20 21:03:47 +02:00
Hans Ulrich Niedermann
7d510dd1c9 Fix file locations in man page, texinfo docs
While this is an improvement for Fedora, it is not complete.

However, completing the task of fixing all the file locations
in the documentation needs to happen upstream, not in the Fedora
package. So this is a far as we go.
2022-04-20 21:03:47 +02:00
Hans Ulrich Niedermann
7efdbccb55 Upstream already has fixed these files' x bits 2022-04-20 21:03:47 +02:00
Hans Ulrich Niedermann
b47bcb6a35 Disable silent rules to help with build problems
Disable silent rules to help with potential (current
or future) build problems.
2022-04-20 21:03:47 +02:00
Hans Ulrich Niedermann
229e4ce6a0 Stop granting user access to ALL /dev/tty{ACM,USB}* devices
Remove blanket console user (TAG+="uaccess") access to *all*
/dev/tty{ACM,USB}* devices.

Those devices can be a lot else but AVR programmers, so it
is not the avrdude package's place to indiscriminately grant
local users blanket access to *all* of those devices.
2022-04-20 21:03:27 +02:00
Hans Ulrich Niedermann
49e92c60b2 Enable parallel port support
Enabling parallel port support does not hurt anyone, but
may help someone. So why not just enable it?
2022-04-20 19:51:05 +02:00
Hans Ulrich Niedermann
43e07128af Update BuildReqs for libusb* to use pkgconfig(...)
Using pkgconfig(libusb) and pkgconfig(libusb-1.0) does not care
which exact package provides the libusb.pc and libusb-1.0.pc files,
respectively.

Therefore the notation works for f37(rawhide), f36, f35, f34, while
the old libusb-devel and libusbx-devel were only working up to f36
and fail on f37(rawhide).
2022-04-20 19:23:02 +02:00
Hans Ulrich Niedermann
7de3218616 Update URLS from http: to https: in spec file 2022-04-20 19:10:35 +02:00
Hans Ulrich Niedermann
15654fcecd Fix date of 6.4-1 changelog entry
The changelog entries should be chronologically, and while the
6.4-1 entry's date is the same as the git author date 2021-12-25,
it is earlier than the earlier changelog entry for 6.3-22, and
the actual git commit date for 6.4-1 is the chronologically correct
 2022-02-04.

As changing the 6.4-1 date to the chronologically ordered commit
date 022-02-04 makes more sense for a public changelog unaffected
by private git author dates, change the date to 2022-02-04.
2022-04-20 19:07:11 +02:00
Dan Horák
775de87f66 - update to 6.4
- switch to Debian udev rules
- enable Linux SPI driver
2022-02-04 18:41:28 +01:00