I downloaded your src.rpm and used rpm2cpio to get your patch, didn't catch that LED line in the mk file previously, thanks!
I rebuilt mine now, this time no dependancies and no firmware. I have included the '/etc/modprobe.d/rt3572sta.conf'. I have left the original source as it is when downloaded from ralink. I created 3 patches and use the patches in the spec file. Using rpm2cpio on my src.rpm will give the source, the patches, the rt3572sta.conf file, and the spec file. This way you can review all changes made.
Just a quick update:
For those that are interested, I am listing the package requires, file list, and provides info...
PROVIDES:
Code:
$ rpm -qp --provides ./kmod-rt3572sta-2.5.0.0-1.fc16.x86_64.rpm
kabi-modules = 3.2.6-3.fc16.x86_64
rt3572sta-kmod = 2.5.0.0-1.fc16
kmod-rt3572sta = 2.5.0.0-1.fc16
kmod-rt3572sta(x86-64) = 2.5.0.0-1.fc16
FILE LIST:
Code:
$ rpm -qpl ./kmod-rt3572sta-2.5.0.0-1.fc16.x86_64.rpm
/etc/Wireless/RT2870STA/RT2870STA.dat
/etc/Wireless/RT2870STA/RT2870STACard.dat
/etc/depmod.d/kmod-rt3572sta.conf
/etc/modprobe.d/rt3572sta.conf
/lib/modules/3.2.6-3.fc16.x86_64
/lib/modules/3.2.6-3.fc16.x86_64/extra
/lib/modules/3.2.6-3.fc16.x86_64/extra/rt3572sta
/lib/modules/3.2.6-3.fc16.x86_64/extra/rt3572sta/rt3572sta.ko
/usr/share/doc/kmod-rt3572sta-2.5.0.0
/usr/share/doc/kmod-rt3572sta-2.5.0.0/GPL-v2.0.txt
/usr/share/doc/kmod-rt3572sta-2.5.0.0/LICENSE ralink-GPL.txt
/usr/share/doc/kmod-rt3572sta-2.5.0.0/LICENSE ralink-firmware.txt
/usr/share/doc/kmod-rt3572sta-2.5.0.0/README_STA
/usr/share/doc/kmod-rt3572sta-2.5.0.0/iwpriv_usage.txt
/usr/share/doc/kmod-rt3572sta-2.5.0.0/sta_ate_iwpriv_usage.txt
REQUIRES:
Code:
$ rpm -qpR ./kmod-rt3572sta-2.5.0.0-1.fc16.x86_64.rpm
/sbin/depmod
/sbin/depmod
/bin/sh
/bin/sh
/bin/sh
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsXz) <= 5.2-1