Accepting request 537055 from home:dimstar:Factory

Update to 1.0.0 and fix build (update was not the solution to the build issue)

OBS-URL: https://build.opensuse.org/request/show/537055
OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=10
This commit is contained in:
Marcus Meissner 2017-10-27 11:53:58 +00:00 committed by Git OBS Bridge
parent 90cf268c15
commit c835290029
6 changed files with 135 additions and 38 deletions

View File

@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="revision">refs/tags/0.9.7</param>
<param name="revision">refs/tags/1.0.0</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/hughsie/fwupd.git</param>
<param name="changesrevision">de3507d9c09f287570ff2de6c6c00b8c181a9f2f</param></service></servicedata>
<param name="changesrevision">ba3244bc0cbd53b7bc2d6f90c555308550b88958</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30162fadd2cee613797722bec33f814da06ee722cf25cf2e9669f47d8e83183d
size 1112088

3
fwupd-1.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e05f9dea5020e1c8ebcc70782841be1adcc59082e99d107c7ddddc6b6d1b2447
size 1121616

View File

@ -1,3 +1,93 @@
-------------------------------------------------------------------
Fri Oct 27 09:17:53 UTC 2017 - dimstar@opensuse.org
- Update to version 1.0.0:
* Add the plugin documentation to the main gtk-doc
* Add a waiting-for-auth daemon state
* Add fwupd_remote_get_checksum() to use in client programs
* Generate the LD script from the GObject Introspection data
* Prevent fwupd from mounting filesystems
* uefi: Do not use system-specific infomation for PCI devices
* uefi: Support uploading the firmware splash image
* dell: only set coldplug delay when we know we need it
* dell: only run SMI to toggle host MST GPIO on systems with host MST
* dell: add functionality to blacklist HW with problems
* dell: only run on intended chassis
* thunderbolt-power: always run after thunderbolt plugin
* Allow plugins to depend on each other
* Add support for SMBIOSv3
* dell: prefer to use hwids to get DMI keys and DE table
* debian: remove /etc/fwupd.conf on upgrade
* unifying: Use fu_plugin_check_supported()
* Add fu_plugin_check_supported()
* unifying: Use a device whitelist to avoid breaking devices
* Fix various printing issues with the progressbar
* dell: Fix a trivial whitespace issue
* Do not fail to load the daemon if cached metadata is invalid
* Do not store the newest release as part of the FuDevice object
* Add a method to return a list of upgrades for a specific device
* Move the downgrade calculation to the daemon
* Make FuDevice derive from FwupdDevice rather than FwupdResult
* Add a command 'clear-offline' to fwupdmgr
* Merge releases where multiple remotes provide the same firmware
* Remove the UniqueID property
* uefi: Do not set the release version
* udev: Do not match USB devices, even with a GUID set
* Use the intel-wmi-thunderbolt kernel module to force power
* dell: drop thunderbolt force power code
* unifying: Add hardcoded summaries for peripheral kinds
* Create CODE_OF_CONDUCT.md
* Ensure more devices set the device summary
* Add an 'Summary' property to each device
* Add a human-readable title for each remote
* unifying: Disable if the kernel has no CONFIG_HIDRAW support
* Move deprecated symbols to a new header
* Introduce an s390x cross compile target to CI
* Add ModifyRemote as an easy way to enable and disable remotes like the LVFS
* Do not auto-open all USB devices at startup
* dfu: Use FuDeviceLocker
* unifying: Use FuDeviceLocker
* colorhug: Use FuDeviceLocker
* ebitdo: Use FuDeviceLocker
* altos: Use FuDeviceLocker
* steelseries: Use FuDeviceLocker
* usb: Use FuDeviceLocker
* Add FuDeviceLocker to simplify device open/close lifecycles
* dfu: Remove DEVO support
* dfu: Remove the now-unused symtab support
* Remove the ELF support from libdfu and move the code to the altos plugin
* Use -Werror when building in Travis CI
* Do not install the libdfu helper library
* Parse the SMBIOS DMI table directly
* usb: Disable the fallback USB plugin
* Test for missing language translations at build time
* Fix the libdfu self test failure on s390 and ppc64
-------------------------------------------------------------------
Fri Oct 27 09:05:57 UTC 2017 - dimstar@opensuse.org
- Update to version 0.9.8:
* Add a command 'clear-offline' to fwupdmgr
* Do not fail to load the daemon if cached metadata is invalid
* Fix a crash when using fu_plugin_device_add_delay()
* Fix the libdfu self test failure on s390 and ppc64
* Format the BCD USB revision numbers correctly
* Never fallback to an offline update from client code
* Prevent fwupd from mounting filesystems
* dfu: Allow flashing when the target does not specify an
alt-name
* dfu: Do not try to verify the element write if upload is
unsupported
* dfu: Fix uploading large firmware files
* dfu: Include the reset timeout as wValue to fix some hardware
* dfu: Set the vendor ID to the runtime USB VID
* dfu: Use 0x0101 as an alias for 0x0110
* thunderbolt: move test for mock environment
(gh#hughsie/fwupd#280)
* udev: Do not match USB devices, even with a GUID set
* uefi: Do not set the release version
* unifying: Disable if the kernel has no CONFIG_HIDRAW support
-------------------------------------------------------------------
Tue Sep 19 13:45:59 UTC 2017 - dimstar@opensuse.org

View File

@ -17,14 +17,14 @@
Name: fwupd
Version: 0.9.7
Version: 1.0.0
Release: 0
Summary: Allow session software to update device firmware
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
License: GPL-2.0+ and LGPL-2.1+
Group: Hardware
Group: System/Management
Url: https://pjones.fedorapeople.org/fwupdate/
Source: %{name}-%{version}.tar.xz
BuildRequires: dejavu-fonts
BuildRequires: docbook-utils-minimal
BuildRequires: gcab
# for certtool
@ -39,6 +39,7 @@ BuildRequires: procps
BuildRequires: python3-Pillow
BuildRequires: python3-cairo
BuildRequires: python3-gobject-Gdk
BuildRequires: python3-xml
BuildRequires: pkgconfig(appstream-glib) >= 0.5.10
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(colorhug) >= 1.2.12
@ -78,22 +79,25 @@ if this gets used on other non-desktop hardware.
You can either use a GUI software manager like GNOME Software to view and apply
updates, the command line tool or the system D-Bus interface directly.
%package -n libfwupd1
%package -n libfwupd2
Summary: Allow session software to update device firmware
Group: System/Libraries
%description -n libfwupd1
%description -n libfwupd2
fwupd is a simple daemon to allow session software to update device firmware on
your local machine. It's designed for desktops, but this project is probably
quite interesting for phones, tablets and server farms, so I'd be really happy
if this gets used on other non-desktop hardware.
%package -n libdfu1
Summary: A library for reading and writing USB device firmware
%package -n typelib-1_0-Fwupd-2_0
Summary: GObject-introspection bindings for libfwupd
Group: System/Libraries
%description -n libdfu1
DFU (Device Firmware Uploader): A library for reading and writing USB device firmware.
%description -n typelib-1_0-Fwupd-2_0
fwupd is a simple daemon to allow session software to update device firmware on
your local machine. It's designed for desktops, but this project is probably
quite interesting for phones, tablets and server farms, so I'd be really happy
if this gets used on other non-desktop hardware.
%package -n dfu-tool
Summary: Generic tool Device Firmware Upgrade (DFU) tool
@ -105,8 +109,7 @@ A generic tool to upload firmware to USB Devices based on Device Firmware Upgrad
%package devel
Summary: Allow session software to update device firmware
Group: Development/Languages/C and C++
Requires: libdfu1 = %{version}
Requires: libfwupd1 = %{version}
Requires: libfwupd2 = %{version}
%description devel
fwupd is a simple daemon to allow session software to update device firmware on
@ -120,31 +123,33 @@ if this gets used on other non-desktop hardware.
%setup -q
%build
%{meson}
%{meson} \
-Denable-tests=false
%{meson_build}
%install
%{meson_install}
# README.md is packaged as doc
rm %{buildroot}%{_localstatedir}/lib/fwupd/builder/README.md
# Add SUSE specific rcfoo service symlink
mkdir -p %{buildroot}%{_sbindir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcfwupd-offline-update
%find_lang %{name}
%post -n libfwupd1 -p /sbin/ldconfig
%postun -n libfwupd1 -p /sbin/ldconfig
%post -n libdfu1 -p /sbin/ldconfig
%postun -n libdfu1 -p /sbin/ldconfig
%post -n libfwupd2 -p /sbin/ldconfig
%postun -n libfwupd2 -p /sbin/ldconfig
%preun
%service_del_preun %{name}.service
%service_del_preun %{name}.service fwupd-offline-update.service
%pre
%service_add_pre %{name}.service
%service_add_pre %{name}.service fwupd-offline-update.service
%post
%service_add_post %{name}.service
%service_add_post %{name}.service fwupd-offline-update.service
%postun
%service_del_postun %{name}.service
%service_del_postun %{name}.service fwupd-offline-update.service
%files
%doc README.md COPYING
@ -155,45 +160,47 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
%{_libexecdir}/fwupd
%{_bindir}/fwupdmgr
%{_sbindir}/rc%{name}
%{_sbindir}/rcfwupd-offline-update
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
%{_datadir}/%{name}/
%{_mandir}/man1/fwupdmgr.1%{?ext_man}
%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
%config %{_sysconfdir}/%{name}.conf
%config %{_sysconfdir}/%{name}/
%dir %{_sysconfdir}/pki
%dir %{_sysconfdir}/pki/fwupd
%dir %{_sysconfdir}/pki/fwupd-metadata
%{_sysconfdir}/pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service
%{_sysconfdir}/pki/fwupd-metadata/LVFS-CA.pem
%{_sysconfdir}/pki/fwupd/GPG-KEY-Hughski-Limited
%{_sysconfdir}/pki/fwupd/GPG-KEY-Linux-Vendor-Firmware-Service
%{_sysconfdir}/pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service
%{_sysconfdir}/pki/fwupd/LVFS-CA.pem
%{_udevrulesdir}/90-fwupd-devices.rules
%{_libdir}/fwupd-plugins-2/
%{_datadir}/app-info/xmls/org.freedesktop.fwupd.xml
%dir %{_datadir}/app-info
%dir %{_datadir}/app-info/xmls
%{_libdir}/fwupd-plugins-3/
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml
%dir %{_localstatedir}/lib/%{name}/
%files -n dfu-tool
%{_bindir}/dfu-tool
%{_mandir}/man1/dfu-tool.1%{?ext_man}
%files -n libfwupd1
%files -n libfwupd2
%{_libdir}/libfwupd.so.*
%files -n libdfu1
%{_libdir}/libdfu.so.*
%files -n typelib-1_0-Fwupd-2_0
%{_libdir}/girepository-1.0/Fwupd-2.0.typelib
%files lang -f %{name}.lang
%{_datadir}/locale/*/LC_IMAGES/
%files devel
%doc %{_datadir}/gtk-doc/html/libfwupd/
%{_datadir}/gir-1.0/Fwupd-2.0.gir
%{_includedir}/fwupd-1/
%{_libdir}/pkgconfig/dfu.pc
%{_libdir}/pkgconfig/fwupd.pc
%{_libdir}/libdfu.so
%{_libdir}/libfwupd.so
%{_includedir}/dfu.h
%{_includedir}/libdfu/
%changelog