From 8570ed2d79b9a5c7f89ec0a421b7a88f3b69b572 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Sep 25 2022 14:57:43 +0000 Subject: Move pkgconfig file to -devel subpackage (#2128591) --- diff --git a/hwdata.spec b/hwdata.spec index 5197d4e..a370ecd 100644 --- a/hwdata.spec +++ b/hwdata.spec @@ -1,7 +1,7 @@ Name: hwdata Summary: Hardware identification and configuration data Version: 0.362 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Source: https://github.com/vcrhonek/hwdata/archive/v%{version}.tar.gz URL: https://github.com/vcrhonek/hwdata @@ -12,6 +12,14 @@ BuildRequires: make hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases. +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains files for developing applications that use +%{name}. + %prep %setup -q @@ -29,9 +37,14 @@ such as the pci.ids and usb.ids databases. %dir %{_datadir}/%{name} %{_prefix}/lib/modprobe.d/dist-blacklist.conf %{_datadir}/%{name}/* + +%files devel %{_datadir}/pkgconfig/%{name}.pc %changelog +* Sun Sep 25 2022 Pete Walter - 0.362-2 +- Move pkgconfig file to -devel subpackage (#2128591) + * Wed Sep 07 2022 Vitezslav Crhonek - 0.362-1 - Update pci and vendor ids