From 635e9d8f3e7efefaf25a71834f26067bd49c4fe0 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 18 Jun 2019 14:13:39 +0200 Subject: [PATCH] Update to latest upstream release - Use correct upstream version number - SPEC file cleanup --- mobile-broadband-provider-info.spec | 41 ++++++++++++++++------------- sources | 2 +- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/mobile-broadband-provider-info.spec b/mobile-broadband-provider-info.spec index 829ff48..1480942 100644 --- a/mobile-broadband-provider-info.spec +++ b/mobile-broadband-provider-info.spec @@ -1,19 +1,10 @@ -%define upstream_version 20170310 - Summary: Mobile broadband provider database Name: mobile-broadband-provider-info -Version: 1.%{upstream_version} -Release: 3%{?dist} -URL: http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders +Version: 20190618 +Release: 1%{?dist} +URL: https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband/ServiceProviders License: Public Domain -# -# Source from git://git.gnome.org/mobile-broadband-provider-info -# tarball built with: -# ./autogen.sh --prefix=/usr -# make distcheck -# -# Upstream release: -Source http://ftp.gnome.org/pub/gnome/sources/mobile-broadband-provider-info/%{upstream_version}/mobile-broadband-provider-info-%{upstream_version}.tar.xz +Source: https://download.gnome.org/sources/%{name}/%{version}/%{name}-%{version}.tar.xz BuildArch: noarch BuildRequires: libxml2 @@ -22,6 +13,7 @@ BuildRequires: libxml2 The mobile-broadband-provider-info package contains listings of mobile broadband (3G) providers and associated network and plan information. + %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} @@ -30,29 +22,40 @@ Requires: %{name} = %{version}-%{release} The %{name}-devel package contains files necessary for developing developing applications that use %{name}. + %prep -%setup -q -n %{name}-%{upstream_version} +%autosetup + %build %configure -make %{?_smp_mflags} +%make_build + %check make check + %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install + %files -%license COPYING +%{_datadir}/%{name} %doc README -%dir %{_datadir}/%{name} -%attr(0644,root,root) %{_datadir}/%{name}/* +%license COPYING + %files devel %{_datadir}/pkgconfig/%{name}.pc + %changelog +* Tue Jun 18 2019 Lubomir Rintel - 20190618-1 +- Update to latest upstream release +- Use correct upstream version number +- SPEC file cleanup + * Fri Feb 01 2019 Fedora Release Engineering - 1.20170310-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 3109ab9..505a997 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mobile-broadband-provider-info-20170310.tar.xz) = 24d8d8bb202f0893bea105420d38156ff8de311eac71e969524961e723ed3d1f9994ec98efbace62dc0ac3859c7a4b316a0728038539b82ca5cf8f8c460a6c6e +SHA512 (mobile-broadband-provider-info-20190618.tar.xz) = 511e6561b9b0db6c26f2e08bd06bb1dc9bb46696730fe6c6eba82cceec600dad684dc8dbe27adae78956367fb00dd8745070046acaa7a1129f194d8f16df425a