diff --git a/hwinfo-25.0.tar.xz b/hwinfo-25.0.tar.xz deleted file mode 100644 index 45d4da2..0000000 --- a/hwinfo-25.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:583614ca625e09e67c15771fc8680cda4bb61588c6e3b8cec62ab960612d0d30 -size 924604 diff --git a/hwinfo-25.1.tar.xz b/hwinfo-25.1.tar.xz new file mode 100644 index 0000000..a1357eb --- /dev/null +++ b/hwinfo-25.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c3c538253522558ee0ce068dd5dff20b8ab38f3fd7a3484ca4d0c8e274f341b +size 943992 diff --git a/hwinfo.changes b/hwinfo.changes index 6fff4ce..2518a00 100644 --- a/hwinfo.changes +++ b/hwinfo.changes @@ -1,3 +1,13 @@ +-------------------------------------------------------------------- +Mon Jan 26 14:42:09 UTC 2026 - wfeldt@opensuse.org + +- merge gh#openSUSE/hwinfo#175 +- include package spec file in git repo +- adjust spec file for immutable mode: switch to using + systemd-tmpfiles (jsc#PED-14832) +- update git2log script +- 25.1 + -------------------------------------------------------------------- Mon Jul 14 15:12:08 UTC 2025 - wfeldt@opensuse.org diff --git a/hwinfo.spec b/hwinfo.spec index 9b6dc82..df795cd 100644 --- a/hwinfo.spec +++ b/hwinfo.spec @@ -1,7 +1,7 @@ # # spec file for package hwinfo # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: hwinfo -Version: 25.0 +Version: 25.1 %define lname libhd%(echo "%version" | perl -pe 's{\\D.*}{}') Release: 0 Summary: Hardware Library @@ -98,36 +98,37 @@ system. install -m 644 doc/getsysinfo.1 %{buildroot}%{_mandir}/man1/ install -m 644 doc/mk_isdnhwdb.1 %{buildroot}%{_mandir}/man1/ install -m 644 doc/hwinfo.8 %{buildroot}%{_mandir}/man8/ - mkdir -p %{buildroot}/var/lib/hardware/udi + mkdir -p %{buildroot}%{_tmpfilesdir} + echo "d %{_localstatedir}/lib/hardware 0755 root root" > %{buildroot}%{_tmpfilesdir}/%{name}.conf + echo "d %{_localstatedir}/lib/hardware/udi 0755 root root" >> %{buildroot}%{_tmpfilesdir}/%{name}.conf -%post -n %{lname} -p /sbin/ldconfig -%postun -n %{lname} -p /sbin/ldconfig +%post -n %{lname} -p %{_sbindir}/ldconfig +%postun -n %{lname} -p %{_sbindir}/ldconfig %files -/usr/sbin/hwinfo -/usr/sbin/mk_isdnhwdb -/usr/sbin/getsysinfo +%{_sbindir}/hwinfo +%{_sbindir}/mk_isdnhwdb +%{_sbindir}/getsysinfo %doc *.md %doc %{_mandir}/man1/getsysinfo.1* %doc %{_mandir}/man1/mk_isdnhwdb.1* %doc %{_mandir}/man8/hwinfo.8* -%dir /var/lib/hardware -%dir /var/lib/hardware/udi -%dir /usr/share/hwinfo -/usr/share/hwinfo/* +%dir %{_datadir}/hwinfo +%{_datadir}/hwinfo/* +%{_tmpfilesdir}/%{name}.conf %files -n %lname %{_libdir}/libhd.so.* %files devel -/usr/sbin/check_hd -/usr/sbin/convert_hd +%{_sbindir}/check_hd +%{_sbindir}/convert_hd %doc %{_mandir}/man1/convert_hd.1* %doc %{_mandir}/man1/check_hd.1* %{_libdir}/libhd.so %{_libdir}/libhd.a %{_libdir}/pkgconfig/hwinfo.pc -/usr/include/hd.h +%{_includedir}/hd.h %doc doc/libhd/html %changelog