From 8470d2b56e838000981554e483f2856e90b70815 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 17 Jun 2020 18:17:27 -0500 Subject: [PATCH 1/5] "Adding package.cfg file" --- package.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package.cfg diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..66ea79d --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = epel8 epel8-playground \ No newline at end of file From 3dd2fda660fc3aae57f97dcee54e503f7cdc619d Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 24 Sep 2020 18:35:34 +0000 Subject: [PATCH 2/5] remove package.cfg per new epel-playground policy --- package.cfg | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 package.cfg diff --git a/package.cfg b/package.cfg deleted file mode 100644 index 66ea79d..0000000 --- a/package.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[koji] -targets = epel8 epel8-playground \ No newline at end of file From 18c50a0fbcfd55c26fd6945e3279f389ce548330 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Wed, 25 Aug 2021 11:07:26 -0700 Subject: [PATCH 3/5] Update to 2.4.0 --- .gitignore | 1 + sources | 2 +- uhubctl.spec | 10 ++++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 8db3df9..6651883 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /uhubctl-2.2.0.tar.gz +/uhubctl-2.4.0.tar.gz diff --git a/sources b/sources index 211b57b..b0a761a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uhubctl-2.2.0.tar.gz) = 5fe097dd9bbf1fd4aef894683a30b70cde363f98b85347092abe04c85af38d722db89897a22895f2fe6b1b0223c8483d7f0c3d6864964b57f4394a9cbbde1f7c +SHA512 (uhubctl-2.4.0.tar.gz) = d7f07679c4678565ce0174e1eb591263fae5629dd6fbb5aaa0321ca10176b8b2d662e75a3019caeb83aaf470c8386188848ba3095e1006451e8710b2a2c9bb1d diff --git a/uhubctl.spec b/uhubctl.spec index 2ba7ae7..06d94ad 100644 --- a/uhubctl.spec +++ b/uhubctl.spec @@ -1,5 +1,5 @@ Name: uhubctl -Version: 2.2.0 +Version: 2.4.0 Release: 1%{?dist} Summary: USB hub per-port power control @@ -9,6 +9,8 @@ Source0: https://github.com/mvp/%{name}/archive/v%{version}/%{name}-%{ver BuildRequires: gcc BuildRequires: libusbx-devel +BuildRequires: make +BuildRequires: pkgconf-pkg-config %description uhubctl is utility to control USB power per-port on smart USB hubs. Smart hub @@ -18,9 +20,6 @@ is defined as one that implements per-port power switching. %prep %autosetup -p1 -# Ensure version doesn't have '-dev' -echo %{version} > VERSION - %build %make_build @@ -37,5 +36,8 @@ echo %{version} > VERSION %changelog +* Wed Aug 25 2021 Scott K Logan - 2.4.0-1 +- Update to 2.4.0 (rhbz#1907252) + * Tue May 26 2020 Scott K Logan - 2.2.0-1 - Initial package (rhbz#1840296) From 5dcb4a4eb1a23df5c97e862f9ffd171e97b2f176 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Wed, 25 Aug 2021 11:40:41 -0700 Subject: [PATCH 4/5] Switch pkg-config dep to more widely-available 'pkgconfig' --- uhubctl.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/uhubctl.spec b/uhubctl.spec index 06d94ad..8c68c65 100644 --- a/uhubctl.spec +++ b/uhubctl.spec @@ -1,6 +1,6 @@ Name: uhubctl Version: 2.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: USB hub per-port power control License: GPLv2 @@ -10,7 +10,7 @@ Source0: https://github.com/mvp/%{name}/archive/v%{version}/%{name}-%{ver BuildRequires: gcc BuildRequires: libusbx-devel BuildRequires: make -BuildRequires: pkgconf-pkg-config +BuildRequires: pkgconfig %description uhubctl is utility to control USB power per-port on smart USB hubs. Smart hub @@ -36,6 +36,9 @@ is defined as one that implements per-port power switching. %changelog +* Wed Aug 25 2021 Scott K Logan - 2.4.0-2 +- Switch pkg-config dep to more widely-available 'pkgconfig' + * Wed Aug 25 2021 Scott K Logan - 2.4.0-1 - Update to 2.4.0 (rhbz#1907252) From 6f9be5bb5caece901429b24c9521a2294f3c00d4 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Wed, 4 Sep 2024 10:28:09 -0500 Subject: [PATCH 5/5] Update to 2.6.0 - Add a smoke test to the package - convert license to SPDX --- .gitignore | 1 + sources | 2 +- uhubctl.spec | 15 ++++++++++++--- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6651883..608671c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /uhubctl-2.2.0.tar.gz /uhubctl-2.4.0.tar.gz +/uhubctl-2.6.0.tar.gz diff --git a/sources b/sources index b0a761a..ea5c022 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uhubctl-2.4.0.tar.gz) = d7f07679c4678565ce0174e1eb591263fae5629dd6fbb5aaa0321ca10176b8b2d662e75a3019caeb83aaf470c8386188848ba3095e1006451e8710b2a2c9bb1d +SHA512 (uhubctl-2.6.0.tar.gz) = 21e8724f05bbf13edf7b6dd86ea3e66143f49eac46bf65189753a5a5c0e7434a0a51c5c0f6c0777886095bff4645a17cd46a8c84573162a8fd3529f742a93f62 diff --git a/uhubctl.spec b/uhubctl.spec index 8c68c65..dda47ff 100644 --- a/uhubctl.spec +++ b/uhubctl.spec @@ -1,9 +1,9 @@ Name: uhubctl -Version: 2.4.0 -Release: 2%{?dist} +Version: 2.6.0 +Release: 1%{?dist} Summary: USB hub per-port power control -License: GPLv2 +License: GPL-2.0-only URL: https://github.com/mvp/%{name} Source0: https://github.com/mvp/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz @@ -29,6 +29,10 @@ is defined as one that implements per-port power switching. %make_install +%check +%{buildroot}%{_sbindir}/%{name} --version + + %files %license COPYING LICENSE %doc README.md @@ -36,6 +40,11 @@ is defined as one that implements per-port power switching. %changelog +* Wed Sep 04 2024 Scott K Logan - 2.6.0-1 +- Update to 2.6.0 (rhbz#2309678) +- Add a smoke test to the package +- convert license to SPDX + * Wed Aug 25 2021 Scott K Logan - 2.4.0-2 - Switch pkg-config dep to more widely-available 'pkgconfig'