diff --git a/gobi_loader.spec b/gobi_loader.spec index c840911..9291d6f 100644 --- a/gobi_loader.spec +++ b/gobi_loader.spec @@ -1,18 +1,17 @@ Name: gobi_loader Version: 0.7 -Release: 1mamba +Release: 2mamba Summary: Loader for gobi wwan chipset firmware Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.codon.org.uk/~mjg59/gobi_loader +URL: https://github.com/kicer/gobi_loader Source: http://www.codon.org.uk/~mjg59/gobi_loader/download/gobi_loader-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 gobi_loader' to get the list of build requirements. +BuildRequires: glibc-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Loader for gobi wwan chipset firmware. @@ -21,22 +20,26 @@ Loader for gobi wwan chipset firmware. %prep %setup -q +sed -ri 's#/lib/#/usr/lib/#' 60-gobi.rules %build -%make prefix= +%make prefix=%{_prefix} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeoldinstall prefix=%{buildroot} +%makeoldinstall prefix=%{buildroot}%{_prefix} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) -/lib/udev/gobi_loader -/lib/udev/rules.d/60-gobi.rules +%{_prefix}/lib/udev/gobi_loader +%{_udevrulesdir}/60-gobi.rules %changelog +* Tue Mar 12 2024 Silvan Calarco 0.7-2mamba +- rebuilt + * Thu Sep 13 2012 Silvan Calarco 0.7-1mamba - package created by autospec