Update to latest upstream release

- Use correct upstream version number
- SPEC file cleanup
This commit is contained in:
Lubomir Rintel 2019-06-18 14:13:39 +02:00
parent e6594f3ff6
commit 635e9d8f3e
2 changed files with 23 additions and 20 deletions

View File

@ -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 <lkundrak@v3.sk> - 20190618-1
- Update to latest upstream release
- Use correct upstream version number
- SPEC file cleanup
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20170310-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (mobile-broadband-provider-info-20170310.tar.xz) = 24d8d8bb202f0893bea105420d38156ff8de311eac71e969524961e723ed3d1f9994ec98efbace62dc0ac3859c7a4b316a0728038539b82ca5cf8f8c460a6c6e
SHA512 (mobile-broadband-provider-info-20190618.tar.xz) = 511e6561b9b0db6c26f2e08bd06bb1dc9bb46696730fe6c6eba82cceec600dad684dc8dbe27adae78956367fb00dd8745070046acaa7a1129f194d8f16df425a