diff --git a/gputils.spec b/gputils.spec index 3631f7c..091bfc0 100644 --- a/gputils.spec +++ b/gputils.spec @@ -1,18 +1,19 @@ +%define dirver %(echo %version | cut -d_ -f1) +%define pkgver %(echo %version | tr _ -) Name: gputils -Version: 1.5.0 +Version: 1.5.0_1 Release: 1mamba Summary: A collection of tools for the Microchip (TM) PIC microcontrollers Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://gputils.sourceforge.net -Source: http://downloads.sourceforge.net/project/gputils/gputils/%{version}/gputils-%{version}.tar.gz +URL: https://gputils.sourceforge.net +Source: http://downloads.sourceforge.net/project/gputils/gputils/%{dirver}/gputils-%{pkgver}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description GPUTILS is a collection of tools for the Microchip (TM) PIC microcontrollers. It includes gpasm, gplink, and gplib. It's distributed under the terms of the GNU Public License. There are other GNU PIC tools available such as gpsim, a gputils compatible simulator. @@ -20,7 +21,7 @@ GPUTILS is a collection of tools for the Microchip (TM) PIC microcontrollers. It %debug_package %prep -%setup -q +%setup -q -n %{name}-%{dirver} %build %configure @@ -30,6 +31,8 @@ GPUTILS is a collection of tools for the Microchip (TM) PIC microcontrollers. It [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall +rm -rf %{buildroot}%{_docdir}/gputils-%{dirver} + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -52,6 +55,9 @@ GPUTILS is a collection of tools for the Microchip (TM) PIC microcontrollers. It %doc AUTHORS COPYING %changelog +* Sat Apr 10 2021 Silvan Calarco 1.5.0_1-1mamba +- update to 1.5.0_1 + * Tue Sep 20 2016 Automatic Build System 1.5.0-1mamba - automatic version update by autodist