Update to 2.1.1
This commit is contained in:
parent
a534f522b5
commit
940c11c52d
@ -3,29 +3,18 @@
|
||||
%global so_patch_version 1
|
||||
|
||||
Name: sysfsutils
|
||||
Version: 2.1.0
|
||||
Release: 33%{?dist}
|
||||
Version: 2.1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Utilities for interfacing with sysfs
|
||||
URL: https://github.com/linux-ras/sysfsutils
|
||||
License: GPLv2
|
||||
|
||||
Source0: https://github.com/linux-ras/sysfsutils/archive/sysfsutils-%(echo %{version} | tr '.' '_').tar.gz
|
||||
# backport upstream fixes up to commit b688c65
|
||||
# these also obsolete sysfsutils-2.0.0-class-dup.patch & sysfsutils-aarch64.patch
|
||||
Patch1: 0001-update-README.patch
|
||||
Patch2: 0002-fix-compiler-complaints.patch
|
||||
Patch3: 0003-use-stat-not-lstat.patch
|
||||
Patch4: 0004-support-ppc64le.patch
|
||||
Patch5: 0005-fix-sysfs-name-comparisons.patch
|
||||
Patch6: 0006-limit-cdev-name-length-comparsion.patch
|
||||
# upstreamed version of sysfsutils-2.1.0-get_link.patch, PR#10
|
||||
Patch7: 0007-fix-sysfs_get_link.patch
|
||||
# upstreamed version of formatting/typo/license-related fedora patches, PR#9
|
||||
Patch8: 0008-clarify-license-fix-typos.patch
|
||||
# upstream issue #12 / PR#13
|
||||
Patch9: 0009-fix-GCC-11-build-failure.patch
|
||||
Source0: https://github.com/linux-ras/sysfsutils/archive/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
@ -49,32 +38,23 @@ libsysfs-devel provides the header files and static libraries required
|
||||
to build programs using the libsysfs API.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{name}-%(echo %{version} | tr '.' '_')
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
./autogen
|
||||
%configure --disable-static
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
|
||||
rm -f %{buildroot}%{_bindir}/dlist_test \
|
||||
%{buildroot}%{_bindir}/get_bus_devices_list \
|
||||
%{buildroot}%{_bindir}/get_class_dev \
|
||||
%{buildroot}%{_bindir}/get_classdev_parent \
|
||||
%{buildroot}%{_bindir}/get_device \
|
||||
%{buildroot}%{_bindir}/get_driver \
|
||||
%{buildroot}%{_bindir}/testlibsysfs \
|
||||
%{buildroot}%{_bindir}/write_attr
|
||||
find %{buildroot} -type f -name "*.la" -delete
|
||||
|
||||
%ldconfig_scriptlets -n libsysfs
|
||||
|
||||
%files
|
||||
%license COPYING cmd/GPL
|
||||
%doc AUTHORS README NEWS CREDITS ChangeLog docs/libsysfs.txt
|
||||
%doc AUTHORS README CREDITS docs/libsysfs.txt
|
||||
%{_bindir}/systool
|
||||
%{_bindir}/get_module
|
||||
%{_mandir}/man1/systool.1.gz
|
||||
|
||||
%files -n libsysfs
|
||||
@ -87,9 +67,17 @@ find %{buildroot} -type f -name "*.la" -delete
|
||||
%{_includedir}/sysfs/libsysfs.h
|
||||
%{_includedir}/sysfs/dlist.h
|
||||
/%{_libdir}/libsysfs.so
|
||||
/%{_libdir}/pkgconfig/libsysfs.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Feb 20 2021 Christopher Engelhard <ce@lcts.de> - 2.1.1-1
|
||||
- Update to 2.1.1
|
||||
- Remove all patches merged upstream
|
||||
- Switched build to autotools
|
||||
- Include upstream pkgconfig module
|
||||
- Sysfsutils no longer includes /usr/bin/get_module
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-33
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user