Update upstream URL for package, fixes RHBZ#1487568.
Patch pkgconfig file to correct lib dir, fixes RHBZ#1487575.
This commit is contained in:
parent
d43c7c2f6c
commit
7af4ef4383
10
hamlib-pc.patch
Normal file
10
hamlib-pc.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/hamlib.pc.in
|
||||
+++ b/hamlib.pc.in
|
||||
@@ -1,6 +1,5 @@
|
||||
prefix=@prefix@
|
||||
-exec_prefix=${prefix}
|
||||
-libdir=${exec_prefix}/lib
|
||||
+libdir=@libdir@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: @PACKAGE_NAME@
|
15
hamlib.spec
15
hamlib.spec
@ -9,14 +9,15 @@
|
||||
|
||||
Name: hamlib
|
||||
Version: 3.1
|
||||
Release: 8%{?pre:.%{pre}}%{?dist}
|
||||
Release: 9%{?pre:.%{pre}}%{?dist}
|
||||
Summary: Run-time library to control radio transceivers and receivers
|
||||
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: http://hamlib.sourceforge.net
|
||||
URL: http://www.hamlib.org
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?pre:~%{pre}}.tar.gz
|
||||
|
||||
Patch1: hamlib-3.0-perl_install.patch
|
||||
Patch0: hamlib-3.0-perl_install.patch
|
||||
Patch1: hamlib-pc.patch
|
||||
|
||||
BuildRequires: python2-devel, swig, gd-devel, libxml2-devel, tcl-devel
|
||||
BuildRequires: libusb-devel, pkgconfig, boost-devel, libtool-ltdl-devel
|
||||
@ -108,8 +109,7 @@ Hamlib TCL Language bindings to allow radio control from TCL scripts.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?pre:~%{pre}}
|
||||
%patch1 -p1 -b .perl_inst
|
||||
%autosetup -p1 -n %{name}-%{version}%{?pre:~%{pre}}
|
||||
|
||||
|
||||
%build
|
||||
@ -182,7 +182,6 @@ fi
|
||||
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %doc}
|
||||
%license COPYING COPYING.LIB
|
||||
%doc AUTHORS ChangeLog PLAN README THANKS TODO
|
||||
%{_bindir}/*
|
||||
@ -228,6 +227,10 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 1 2017 Richard Shaw <hobbes1069@gmail.com> - 3.1-9
|
||||
- Update upstream URL for package, fixes RHBZ#1487568.
|
||||
- Patch pkgconfig file to correct lib dir, fixes RHBZ#1487575.
|
||||
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1-8
|
||||
- Python 2 binary package renamed to python2-hamlib
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
Loading…
Reference in New Issue
Block a user