New upstream release

This commit is contained in:
Richard Hughes 2015-09-10 09:35:07 +01:00
parent 2670547a8e
commit 41a8711b94
4 changed files with 15 additions and 62 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/fwupd-0.1.3.tar.xz /fwupd-0.1.3.tar.xz
/fwupd-0.1.4.tar.xz /fwupd-0.1.4.tar.xz
/fwupd-0.1.5.tar.xz /fwupd-0.1.5.tar.xz
/fwupd-0.1.6.tar.xz

View File

@ -1,26 +0,0 @@
From 0dfeb67305f43dc56fd7fadb04e63645dd6adcc1 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Wed, 19 Aug 2015 20:21:03 +0100
Subject: [PATCH] Use the new secure metadata URI
We're out of beta testing stage now...
---
data/fwupd.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/fwupd.conf b/data/fwupd.conf
index 32b2ab5..a10a3d1 100644
--- a/data/fwupd.conf
+++ b/data/fwupd.conf
@@ -1,7 +1,7 @@
[fwupd]
# The download URI to use for LVFS metadata
-DownloadURI=https://beta-lvfs.rhcloud.com/downloads/firmware.xml.gz
+DownloadURI=https://secure-lvfs.rhcloud.com/downloads/firmware.xml.gz
# If we should verify option ROM images
EnableOptionROM=true
--
2.4.3

View File

@ -1,14 +1,11 @@
Summary: Firmware update daemon Summary: Firmware update daemon
Name: fwupd Name: fwupd
Version: 0.1.5 Version: 0.1.6
Release: 3%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://github.com/hughsie/fwupd URL: https://github.com/hughsie/fwupd
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
# Backported from upstream
Patch0: 0001-Use-the-new-secure-metadata-URI.patch
BuildRequires: docbook-utils BuildRequires: docbook-utils
BuildRequires: gettext BuildRequires: gettext
BuildRequires: glib2-devel BuildRequires: glib2-devel
@ -34,6 +31,8 @@ Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
Obsoletes: fwupd-sign
%description %description
fwupd is a daemon to allow session software to update device firmware. fwupd is a daemon to allow session software to update device firmware.
@ -44,23 +43,11 @@ Requires: %{name} = %{version}-%{release}
%description devel %description devel
Files for development with %{name}. Files for development with %{name}.
%package sign
Summary: Firmware signing server
Requires: %{name} = %{version}-%{release}
%description sign
This package provides a signing server suitable for automatically signing
firmware in .cab archives.
The values in /etc/fwsignd.conf file should be set before starting the daemon.
You probably don't need this package unless you're implementing a LVFS clone.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .non-beta
%build %build
%configure \ %configure \
--enable-fwsignd \
--disable-static \ --disable-static \
%ifnarch x86_64 %{ix86} aarch64 %ifnarch x86_64 %{ix86} aarch64
--disable-uefi \ --disable-uefi \
@ -75,19 +62,8 @@ make %{?_smp_mflags}
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -name '*.la' -exec rm -f {} ';'
# Disable the fwupd offline update service for now to avoid it running at the
# same time as packagekit's and rebooting in the middle of transaction
rm -rf %{buildroot}%{_unitdir}/fwupd-offline-update.service
rm -rf %{buildroot}%{_unitdir}/system-update.target.wants/
%find_lang %{name} %find_lang %{name}
%pre sign
getent group fwsignd >/dev/null || groupadd -r fwsignd
getent passwd fwsignd >/dev/null || \
useradd -r -g fwsignd -d /var/lib/fwsignd -s /sbin/nologin \
-c "User for fwsignd" fwsignd
%post %post
/sbin/ldconfig /sbin/ldconfig
%systemd_post fwupd.service %systemd_post fwupd.service
@ -103,7 +79,8 @@ getent passwd fwsignd >/dev/null || \
%doc README.md AUTHORS NEWS %doc README.md AUTHORS NEWS
%license COPYING %license COPYING
%config(noreplace)%{_sysconfdir}/fwupd.conf %config(noreplace)%{_sysconfdir}/fwupd.conf
%{_libexecdir}/fwupd %dir %{_libexecdir}/fwupd
%{_libexecdir}/fwupd/fwupd
%{_bindir}/fwupdmgr %{_bindir}/fwupdmgr
%{_sysconfdir}/pki/fwupd %{_sysconfdir}/pki/fwupd
%{_sysconfdir}/pki/fwupd-metadata %{_sysconfdir}/pki/fwupd-metadata
@ -113,7 +90,9 @@ getent passwd fwsignd >/dev/null || \
%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules %{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service %{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
%{_datadir}/man/man1/fwupdmgr.1.gz %{_datadir}/man/man1/fwupdmgr.1.gz
%{_unitdir}/fwupd-offline-update.service
%{_unitdir}/fwupd.service %{_unitdir}/fwupd.service
%{_unitdir}/system-update.target.wants/*.service
%dir %{_localstatedir}/lib/fwupd %dir %{_localstatedir}/lib/fwupd
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%{_libdir}/girepository-1.0/*.typelib %{_libdir}/girepository-1.0/*.typelib
@ -122,12 +101,6 @@ getent passwd fwsignd >/dev/null || \
%dir %{_localstatedir}/cache/app-info/xmls %dir %{_localstatedir}/cache/app-info/xmls
/usr/lib/udev/rules.d/*.rules /usr/lib/udev/rules.d/*.rules
%files sign
%config(noreplace)%{_sysconfdir}/fwsignd.conf
%{_unitdir}/fwsignd.service
%{_libexecdir}/fwsignd
%attr(755,fwsignd,fwsignd) %dir %{_localstatedir}/lib/fwsignd
%files devel %files devel
%{_includedir}/fwupd-1 %{_includedir}/fwupd-1
%{_libdir}/lib*.so %{_libdir}/lib*.so
@ -135,6 +108,11 @@ getent passwd fwsignd >/dev/null || \
%{_datadir}/gir-1.0/*.gir %{_datadir}/gir-1.0/*.gir
%changelog %changelog
* Thu Sep 10 2015 Richard Hughes <richard@hughsie.com> 0.1.6-1
- New upstream release
- Add application metadata when getting the updates list
- Remove fwsignd, we have the LVFS now
* Fri Aug 21 2015 Kalev Lember <klember@redhat.com> 0.1.5-3 * Fri Aug 21 2015 Kalev Lember <klember@redhat.com> 0.1.5-3
- Disable fwupd offline update service - Disable fwupd offline update service

View File

@ -1 +1 @@
7116d32a316d357a7b1c72d195c7cf0d fwupd-0.1.5.tar.xz 81551ee30bc062257583393474f375c4 fwupd-0.1.6.tar.xz