From 121f3d67bfaf7e557a16f064d43bc099d6b38fd0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 04:04:55 +0000 Subject: [PATCH 01/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 7539d79..514d520 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://github.com/gicmo/bolt @@ -71,6 +71,9 @@ install -m0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/boltd %dir %{_localstatedir}/lib/boltd %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Sun Dec 17 2017 Christian Kellner - 0.1-2 - Set database path to /var/lib/boltd, create it during installation, which is needed for the service file to work. From 92e763ddf1a310701bebe3050a17ab80d6d7ab82 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 6 Mar 2018 04:46:45 +0100 Subject: [PATCH 02/55] bolt 0.2 --- .gitignore | 1 + bolt.spec | 14 ++++++++++---- sources | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index d3b97e4..f079c99 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /bolt-0.1.tar.gz +/bolt-0.2.tar.gz diff --git a/bolt.spec b/bolt.spec index 514d520..59c06d2 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,11 +1,10 @@ Name: bolt -Version: 0.1 -Release: 3%{?dist} +Version: 0.2 +Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://github.com/gicmo/bolt Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz -Source1: https://raw.githubusercontent.com/gicmo/bolt/master/COPYING BuildRequires: asciidoc BuildRequires: meson @@ -14,6 +13,9 @@ BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(systemd) BuildRequires: polkit-devel +BuildRequires: pygobject3-devel +BuildRequires: python3-dbus +BuildRequires: python3-dbusmock BuildRequires: umockdev-devel BuildRequires: systemd %{?systemd_requires} @@ -32,7 +34,6 @@ mentioned tasks. %prep %setup -q -cp %{SOURCE1} ./ %build %meson -Ddb-path=%{_localstatedir}/lib/boltd @@ -68,9 +69,14 @@ install -m0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/boltd %{_datadir}/polkit-1/rules.d/org.freedesktop.bolt.rules %{_datadir}/dbus-1/system-services/org.freedesktop.bolt.service %{_mandir}/man1/boltctl.1* +%{_mandir}/man8/boltd.8* %dir %{_localstatedir}/lib/boltd %changelog +* Tue Mar 6 2018 Christian Kellner - 0.2-1 +- bolt 0.2 upstream release +- Update BuildRequires dependencies. + * Wed Feb 07 2018 Fedora Release Engineering - 0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 07fd4ac..cb5f4ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.1.tar.gz) = 61cf815aeb759ff10864d5de82c250e23b2a6199becd4251b9db22b5a970352356927983518b6265d4e4f83133ae9f56549e99e689d3112c97be8cc201a2254d +SHA512 (bolt-0.2.tar.gz) = 99bbdcadc114bfe781e40c0918c02e37d77cee0b8c4d145eefd78bd7b6eb8eb29c1635341fc8da05c03d09b2d7d44b98bf490374c31b35696b8e578699d57c11 From cd94008684260e9a3b3d60bf059ed8933db0aca1 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 10 Apr 2018 23:57:20 +0200 Subject: [PATCH 03/55] bolt 0.3 release Remove COPYING (included in source tarball). Update BuildRequires to include gcc Use forge macros --- .gitignore | 1 + COPYING | 502 ----------------------------------------------------- bolt.spec | 25 ++- sources | 2 +- 4 files changed, 19 insertions(+), 511 deletions(-) delete mode 100644 COPYING diff --git a/.gitignore b/.gitignore index f079c99..42ebc72 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /bolt-0.1.tar.gz /bolt-0.2.tar.gz +/bolt-0.3.tar.gz diff --git a/COPYING b/COPYING deleted file mode 100644 index 4362b49..0000000 --- a/COPYING +++ /dev/null @@ -1,502 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! diff --git a/bolt.spec b/bolt.spec index 59c06d2..cd7ddef 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,10 +1,14 @@ -Name: bolt -Version: 0.2 -Release: 1%{?dist} -Summary: Thunderbolt device manager -License: LGPLv2+ -URL: https://github.com/gicmo/bolt -Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +%global forgeurl https://github.com/gicmo/bolt + +Name: bolt +Version: 0.3 +%global tag %{version} +%forgemeta +Release: 1%{?dist} +Summary: Thunderbolt device manager +License: LGPLv2+ +URL: %{forgeurl} +Source0: %{forgesource} BuildRequires: asciidoc BuildRequires: meson @@ -33,7 +37,7 @@ boltctl, can be used to control the daemon and perform all the above mentioned tasks. %prep -%setup -q +%forgesetup %build %meson -Ddb-path=%{_localstatedir}/lib/boltd @@ -73,6 +77,11 @@ install -m0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/boltd %dir %{_localstatedir}/lib/boltd %changelog +* Tue Apr 10 2018 Christian Kellner - 0.3-1 +- bolt 0.3 upstream release +- Update BuildRequires to include gcc +- Use forge macros + * Tue Mar 6 2018 Christian Kellner - 0.2-1 - bolt 0.2 upstream release - Update BuildRequires dependencies. diff --git a/sources b/sources index cb5f4ed..2a87aac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.2.tar.gz) = 99bbdcadc114bfe781e40c0918c02e37d77cee0b8c4d145eefd78bd7b6eb8eb29c1635341fc8da05c03d09b2d7d44b98bf490374c31b35696b8e578699d57c11 +SHA512 (bolt-0.3.tar.gz) = 13a369072d27483a86d7cd23b6b1552682c622253c1715a54790cc705579c1f54b22981f0e225dc8c53be2f92d3e3071f5a22cef293eee6180ba8abde064a872 From 6ba34eef45bddbe5b57abca5422615e1619bd5e9 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 28 May 2018 17:00:42 +0200 Subject: [PATCH 04/55] bolt 0.4 --- .gitignore | 1 + bolt.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 42ebc72..e245806 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /bolt-0.1.tar.gz /bolt-0.2.tar.gz /bolt-0.3.tar.gz +/bolt-0.4.tar.gz diff --git a/bolt.spec b/bolt.spec index cd7ddef..ea07762 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,7 +1,7 @@ %global forgeurl https://github.com/gicmo/bolt Name: bolt -Version: 0.3 +Version: 0.4 %global tag %{version} %forgemeta Release: 1%{?dist} @@ -77,6 +77,9 @@ install -m0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/boltd %dir %{_localstatedir}/lib/boltd %changelog +* Mon May 28 2018 Christian Kellner - 0.4-1 +- bolt 0.4 upstream release + * Tue Apr 10 2018 Christian Kellner - 0.3-1 - bolt 0.3 upstream release - Update BuildRequires to include gcc diff --git a/sources b/sources index 2a87aac..4ff25be 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.3.tar.gz) = 13a369072d27483a86d7cd23b6b1552682c622253c1715a54790cc705579c1f54b22981f0e225dc8c53be2f92d3e3071f5a22cef293eee6180ba8abde064a872 +SHA512 (bolt-0.4.tar.gz) = 3ea6b748768b5d9df60425274ecdb4ccd5ce6599e01f0648a24704643fbbadd7a114d4a1946ee3b7bd8866935758cbfe4494734c26c12ccc508c205a036d5317 From f69616965cff9c2ba824b617d43a64d3aea385e2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 21:15:06 +0000 Subject: [PATCH 05/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index ea07762..77fb8c1 100644 --- a/bolt.spec +++ b/bolt.spec @@ -4,7 +4,7 @@ Name: bolt Version: 0.4 %global tag %{version} %forgemeta -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: %{forgeurl} @@ -77,6 +77,9 @@ install -m0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/boltd %dir %{_localstatedir}/lib/boltd %changelog +* Thu Jul 12 2018 Fedora Release Engineering - 0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Mon May 28 2018 Christian Kellner - 0.4-1 - bolt 0.4 upstream release From 9eb1c052f1f23005d1b48431de78bd0edffc1a6a Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 21 Sep 2018 14:12:21 +0200 Subject: [PATCH 06/55] bolt 0.5 release Remove forge macros again and use gitlab as authorative source Testing depedencies are now only pulled in on Fedora --- .gitignore | 1 + bolt.spec | 34 +++++++++++++++++++--------------- sources | 2 +- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index e245806..9e3fdc3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /bolt-0.2.tar.gz /bolt-0.3.tar.gz /bolt-0.4.tar.gz +/bolt-0.5.tar.gz diff --git a/bolt.spec b/bolt.spec index 77fb8c1..d2e9e68 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,15 +1,12 @@ -%global forgeurl https://github.com/gicmo/bolt - Name: bolt -Version: 0.4 -%global tag %{version} -%forgemeta -Release: 2%{?dist} +Version: 0.5 +Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ -URL: %{forgeurl} -Source0: %{forgesource} +URL: https://gitlab.freedesktop.org/bolt/bolt +Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc BuildRequires: asciidoc BuildRequires: meson BuildRequires: libudev-devel @@ -17,12 +14,16 @@ BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(systemd) BuildRequires: polkit-devel +BuildRequires: systemd +%{?systemd_requires} + +# for the integration test (optional) +%if 0%{?fedora} BuildRequires: pygobject3-devel BuildRequires: python3-dbus BuildRequires: python3-dbusmock BuildRequires: umockdev-devel -BuildRequires: systemd -%{?systemd_requires} +%endif %description bolt is a system daemon to manage thunderbolt 3 devices via a D-BUS @@ -37,10 +38,10 @@ boltctl, can be used to control the daemon and perform all the above mentioned tasks. %prep -%forgesetup +%setup -q %build -%meson -Ddb-path=%{_localstatedir}/lib/boltd +%meson -Ddb-name=boltd %meson_build %check @@ -48,8 +49,6 @@ mentioned tasks. %install %meson_install -install -m0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/boltd - %post %systemd_post %{name}.service @@ -74,9 +73,14 @@ install -m0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/boltd %{_datadir}/dbus-1/system-services/org.freedesktop.bolt.service %{_mandir}/man1/boltctl.1* %{_mandir}/man8/boltd.8* -%dir %{_localstatedir}/lib/boltd +%ghost %dir %{_localstatedir}/lib/boltd %changelog +* Fri Sep 21 2018 Christian Kellner - 0.5-1 +- bolt 0.5 release +- Remove forge macros again and use gitlab as authorative source +- Testing depedencies are now only pulled in on Fedora + * Thu Jul 12 2018 Fedora Release Engineering - 0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 4ff25be..a3a85a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.4.tar.gz) = 3ea6b748768b5d9df60425274ecdb4ccd5ce6599e01f0648a24704643fbbadd7a114d4a1946ee3b7bd8866935758cbfe4494734c26c12ccc508c205a036d5317 +SHA512 (bolt-0.5.tar.gz) = d36f2e39ac53b131fb9607055231a5a205c368547c0db2c3a7537b6e60b156c8b0663d1e5b09c825e1e1a63fbe21087746d0bafde1bd474eb90f1d0cff991246 From 55b7812e5b4075312f6bbc3d4ebf76abb954b011 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Wed, 28 Nov 2018 14:02:34 +0100 Subject: [PATCH 07/55] bolt 0.6 release This version includes support for the pre-boot access control list. --- .gitignore | 1 + bolt.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9e3fdc3..51f00a9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /bolt-0.3.tar.gz /bolt-0.4.tar.gz /bolt-0.5.tar.gz +/bolt-0.6.tar.gz diff --git a/bolt.spec b/bolt.spec index d2e9e68..e9a61ff 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,5 +1,5 @@ Name: bolt -Version: 0.5 +Version: 0.6 Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Wed Nov 28 2018 Christian Kellner - 0.6-1 +- bolt 0.6 release + * Fri Sep 21 2018 Christian Kellner - 0.5-1 - bolt 0.5 release - Remove forge macros again and use gitlab as authorative source diff --git a/sources b/sources index a3a85a5..acce42a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.5.tar.gz) = d36f2e39ac53b131fb9607055231a5a205c368547c0db2c3a7537b6e60b156c8b0663d1e5b09c825e1e1a63fbe21087746d0bafde1bd474eb90f1d0cff991246 +SHA512 (bolt-0.6.tar.gz) = 15124a6c30c6ca2385102545a8aca7b7d65512523b8962384368529e44d71e954f9097a4d7488285ea3dc68b758e92ea2de223aea373f4caf2320b47d1ab8fd1 From 43fdb021d7ef263308ee5ff9a5ffe4682246fcaf Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 1 Jan 2019 18:33:59 +0100 Subject: [PATCH 08/55] .gitignore: ignore some tmp files/dirs --- .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 51f00a9..f891346 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,10 @@ +bolt-*/ +x86_64/ +results_bolt/ +*.log +*.rpm + +#tarballs /bolt-0.1.tar.gz /bolt-0.2.tar.gz /bolt-0.3.tar.gz From 81e3398260394467a35d9f5b521a2ba2b1cae591 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 1 Jan 2019 18:34:30 +0100 Subject: [PATCH 09/55] bolt 0.7 release bolt 0.7 is mostly a bugfix release. --- .gitignore | 1 + bolt.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f891346..3bf8b9c 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ results_bolt/ /bolt-0.4.tar.gz /bolt-0.5.tar.gz /bolt-0.6.tar.gz +/bolt-0.7.tar.gz diff --git a/bolt.spec b/bolt.spec index e9a61ff..6d1832d 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,5 +1,5 @@ Name: bolt -Version: 0.6 +Version: 0.7 Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Tue Jan 1 2019 Christian Kellner - 0.7-1 +- bolt 0.7 release + * Wed Nov 28 2018 Christian Kellner - 0.6-1 - bolt 0.6 release diff --git a/sources b/sources index acce42a..d79317f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.6.tar.gz) = 15124a6c30c6ca2385102545a8aca7b7d65512523b8962384368529e44d71e954f9097a4d7488285ea3dc68b758e92ea2de223aea373f4caf2320b47d1ab8fd1 +SHA512 (bolt-0.7.tar.gz) = 6786f701501cc2680fac52cda7cdfe37971044abcf058b5c83bfa9f1d0a0381ba00e3377cfc97fcccf53760a2eafc1f8f6d0754f0e121d94201711ad8e40a135 From 564b1003832ce4dec00d3e3e3a33dbb3ab8768b0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 14:48:57 +0000 Subject: [PATCH 10/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 6d1832d..0bd4219 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Tue Jan 1 2019 Christian Kellner - 0.7-1 - bolt 0.7 release From 29b927e473df6f665c507bd3c3873114536c191a Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 28 May 2019 14:03:11 +0200 Subject: [PATCH 11/55] ci: add basic smoke test for bolt Just execute 'boltctl --version' to check we can at least run. --- tests/tests.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/tests.yml diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..b21e12a --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,12 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + - bolt + tests: + - smoke: + dir: smoke + run: boltctl --version From b879d2833a407a45ae0c0162e31940d16d00376c Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 28 May 2019 16:55:20 +0200 Subject: [PATCH 12/55] gitignore: add test related directories to ignore For no artifacts/ and source/ in the test/ dir. --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 3bf8b9c..de0c553 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,10 @@ results_bolt/ *.log *.rpm +#testing +tests/artifacts/ +tests/source/ + #tarballs /bolt-0.1.tar.gz /bolt-0.2.tar.gz From 1141b22b95a48448c1cb0bd155d306163a0857b5 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 28 May 2019 17:53:51 +0200 Subject: [PATCH 13/55] ci: enable gating Now that we have some basic tests, let's gate on them. --- gating.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 gating.yml diff --git a/gating.yml b/gating.yml new file mode 100644 index 0000000..d71584a --- /dev/null +++ b/gating.yml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +rules: + - !PassingTestCaseRule {test_case_name: dist.depcheck} From f0321d2d5a6575cf726d23f66a1221a30304c3c9 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 28 May 2019 18:38:31 +0200 Subject: [PATCH 14/55] ci: execute integration tests Run the integration tests for the 'boltd' installed on the system. A custom script is used so that each tests gets run individually. --- tests/run-it.sh | 20 ++++++++++++++++++++ tests/tests.yml | 10 ++++++++++ 2 files changed, 30 insertions(+) create mode 100755 tests/run-it.sh diff --git a/tests/run-it.sh b/tests/run-it.sh new file mode 100755 index 0000000..bc5bb6f --- /dev/null +++ b/tests/run-it.sh @@ -0,0 +1,20 @@ +#!/usr/bin/bash +set -u + +IT="$1" + +# discover all the tests +TESTS=() +while IFS= read -r line; do + TESTS+=( "${line% *}" ) +done < <( "$1" list-tests ) + +# execute all the tests, one by one +RESULT=0 +for test in ${TESTS[@]}; do + echo "$test" + umockdev-wrapper "$IT" "$test" + ((RESULT += $?)) +done + +exit $RESULT diff --git a/tests/tests.yml b/tests/tests.yml index b21e12a..fefd28f 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -1,12 +1,22 @@ --- - hosts: localhost roles: + - role: standard-test-source + tags: + - always - role: standard-test-basic tags: - classic required_packages: - bolt + - pygobject3-devel + - python3-dbus + - python3-dbusmock + - umockdev-devel tests: - smoke: dir: smoke run: boltctl --version + - integration: + dir: . + run: ./run-it.sh source/tests/test-integration From f8e85e181db1d07587d1b047381dc0b7621f0d4d Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 3 Jun 2019 14:50:11 +0200 Subject: [PATCH 15/55] ci: add -atomic to the tags Can't hurt. --- tests/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/tests.yml b/tests/tests.yml index fefd28f..c3c996b 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -6,6 +6,7 @@ - always - role: standard-test-basic tags: + - atomic - classic required_packages: - bolt From f82f75d7513947b1f5ff85cfa6394111aa00cc94 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 3 Jun 2019 14:48:42 +0200 Subject: [PATCH 16/55] ci: add support for running on rhel This is so we have one script for Fedora/RHEL. It can also handle bolt < 0.6 now, after which the test-integration list-test output changed. --- tests/run-it.sh | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/tests/run-it.sh b/tests/run-it.sh index bc5bb6f..5153471 100755 --- a/tests/run-it.sh +++ b/tests/run-it.sh @@ -1,13 +1,44 @@ #!/usr/bin/bash set -u -IT="$1" +# helper functions +vcmp_lt () { + # argument $1 is less than $2 + MV=$(echo "$@" | tr " " "\n" | sort -rV | head -n1) + test "$1" != "$MV" +} + +# main script +IT="${1:-source/tests/test-integration}" + +# check if we need to install additional packages +# which is the case if we are on RHEL 8 +source /etc/os-release || exit 1 + +if [[ "$ID" = *"rhel"* ]] && [[ "$VERSION_ID" == *"8"* ]]; then + dnf config-manager -y --add-repo umockdev.repo + dnf install -y umockdev-devel python3-gobject-base + pip3 install python-dbusmock +fi + +BOLT_VERSION=$(boltctl --version | cut -d " " -f2) + +# check if we can even discover the tests +"$IT" list-tests > /dev/null || exit 1 + +# The format of "list-tests" changed with 0.6 +if vcmp_lt $BOLT_VERSION 0.6; then + echo "Old style integration test names" + DELIM=" " +else + DELIM=$'\n' +fi # discover all the tests -TESTS=() -while IFS= read -r line; do +declare -a TESTS=() +while IFS= read -r -d "$DELIM" line; do TESTS+=( "${line% *}" ) -done < <( "$1" list-tests ) +done < <( $IT list-tests ) # execute all the tests, one by one RESULT=0 From 7ed13aab70ef44669dd02b06b503234c8558f7d8 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 14 Jun 2019 00:33:20 +0200 Subject: [PATCH 17/55] bolt 0.8 release Major new feature is iommu support. Package the new CHANGELOG.md and adapt for the dbus configuration file move to /usr from /etc. --- .gitignore | 1 + bolt.spec | 13 +++++++++---- sources | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index de0c553..7b697d4 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ tests/source/ /bolt-0.5.tar.gz /bolt-0.6.tar.gz /bolt-0.7.tar.gz +/bolt-0.8.tar.gz diff --git a/bolt.spec b/bolt.spec index 0bd4219..2122660 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt -Version: 0.7 -Release: 2%{?dist} +Version: 0.8 +Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -61,12 +61,12 @@ mentioned tasks. %files %license COPYING -%doc README.md +%doc README.md CHANGELOG.md %{_bindir}/boltctl %{_libexecdir}/boltd %{_unitdir}/%{name}.service %{_udevrulesdir}/*-%{name}.rules -%{_sysconfdir}/dbus-1/system.d/org.freedesktop.bolt.conf +%{_datadir}/dbus-1/system.d/org.freedesktop.bolt.conf %{_datadir}/dbus-1/interfaces/org.freedesktop.bolt.xml %{_datadir}/polkit-1/actions/org.freedesktop.bolt.policy %{_datadir}/polkit-1/rules.d/org.freedesktop.bolt.rules @@ -76,6 +76,11 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Thu Jun 13 2019 Christian Kellner - 0.8-1 +- bolt 0.8 release + D-Bus Configuration moved from sysconfdir to datadir. + Package new CHNAGELOG.md. + * Thu Jan 31 2019 Fedora Release Engineering - 0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index d79317f..1e80b94 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.7.tar.gz) = 6786f701501cc2680fac52cda7cdfe37971044abcf058b5c83bfa9f1d0a0381ba00e3377cfc97fcccf53760a2eafc1f8f6d0754f0e121d94201711ad8e40a135 +SHA512 (bolt-0.8.tar.gz) = 0fdbc026178a4ca6a8c53aa46933d1c411eb04e350955f8b10c7faff814576d0796dd28e56b968648e549c79cf5fa13d43970d797595af0f66457abaef8ace09 From d7f72a0bc2cd9623867a98dcdde3c0941f6ebe91 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 14 Jun 2019 15:33:47 +0200 Subject: [PATCH 18/55] ci: it is .yAml not .yml for gating.yaml And apparently that is important. --- gating.yml => gating.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename gating.yml => gating.yaml (100%) diff --git a/gating.yml b/gating.yaml similarity index 100% rename from gating.yml rename to gating.yaml From 693df2c87f9fbb1a08774a3b6ed2309bd4b9c906 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 19:28:49 +0000 Subject: [PATCH 19/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 2122660..28d15e2 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jun 13 2019 Christian Kellner - 0.8-1 - bolt 0.8 release D-Bus Configuration moved from sysconfdir to datadir. From 7d206b2b804ea6e4b9f37611b9b8cf885db6f8fd Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Thu, 23 Jan 2020 19:25:16 +0100 Subject: [PATCH 20/55] Add patch to ignore wakeup device uevents See https://bugzilla.redhat.com/show_bug.cgi?id=1790398 for more information. --- bolt-error-typedef.patch | 27 ++++++++++++++++++++++ bolt.spec | 11 +++++++-- wakeup-uevents.patch | 50 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 bolt-error-typedef.patch create mode 100644 wakeup-uevents.patch diff --git a/bolt-error-typedef.patch b/bolt-error-typedef.patch new file mode 100644 index 0000000..f982608 --- /dev/null +++ b/bolt-error-typedef.patch @@ -0,0 +1,27 @@ +From 5a739574608e5190816b3efd22e75f214c5fe4c4 Mon Sep 17 00:00:00 2001 +From: Christian Kellner +Date: Thu, 23 Jan 2020 19:07:05 +0100 +Subject: [PATCH] common: fix BoltError to be a typedef + +It was always meant to be a typedef not a (tentative) definition +of a global variable. +--- + common/bolt-error.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/common/bolt-error.h b/common/bolt-error.h +index 569da46..0486964 100644 +--- a/common/bolt-error.h ++++ b/common/bolt-error.h +@@ -36,7 +36,7 @@ G_BEGIN_DECLS + * + * Error codes used inside Bolt. + */ +-enum { ++typedef enum { + BOLT_ERROR_FAILED = 0, + BOLT_ERROR_UDEV, + BOLT_ERROR_NOKEY, +-- +2.24.1 + diff --git a/bolt.spec b/bolt.spec index 28d15e2..16722a4 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,10 +1,12 @@ Name: bolt Version: 0.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: wakeup-uevents.patch +Patch1: bolt-error-typedef.patch BuildRequires: gcc BuildRequires: asciidoc @@ -38,7 +40,7 @@ boltctl, can be used to control the daemon and perform all the above mentioned tasks. %prep -%setup -q +%autosetup -p1 %build %meson -Ddb-name=boltd @@ -76,6 +78,11 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Thu Jan 23 2020 Christian Kellner - 0.8-3 +- Add patch to ignore uevents from wakeup devices. See upstream issue + https://gitlab.freedesktop.org/bolt/bolt/issues/156 +- Add patch to fix BoltError not being a typedef. + * Wed Jul 24 2019 Fedora Release Engineering - 0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/wakeup-uevents.patch b/wakeup-uevents.patch new file mode 100644 index 0000000..a10d420 --- /dev/null +++ b/wakeup-uevents.patch @@ -0,0 +1,50 @@ +From ea3e3e30eb3ce76f6a0ae816a0f35809872f4edf Mon Sep 17 00:00:00 2001 +From: Christian Kellner +Date: Mon, 13 Jan 2020 17:38:47 +0100 +Subject: [PATCH] manager: ignore wakeup device uevents for probing + +The probing detection code should ignore wakeup device uevents +because these virtual devices can be added (and removed) without +and correspondence to any physical thunderbolt device (un-)plug +events. +--- + boltd/bolt-manager.c | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +diff --git a/boltd/bolt-manager.c b/boltd/bolt-manager.c +index 877c008..c8b60da 100644 +--- a/boltd/bolt-manager.c ++++ b/boltd/bolt-manager.c +@@ -2043,6 +2043,16 @@ device_is_thunderbolt_root (struct udev_device *dev) + bolt_streq (driver, "thunderbolt"); + } + ++static gboolean ++device_is_wakeup (struct udev_device *dev) ++{ ++ const char *subsys; ++ ++ subsys = udev_device_get_subsystem (dev); ++ ++ return bolt_streq (subsys, "wakeup"); ++} ++ + static gboolean + probing_add_root (BoltManager *mgr, + struct udev_device *dev) +@@ -2080,6 +2090,12 @@ manager_probing_device_added (BoltManager *mgr, + if (syspath == NULL) + return; + ++ /* ignore events for wakeup devices which get removed ++ * and added at random time without any connection to ++ * any physical thunderbolt device */ ++ if (device_is_wakeup (dev)) ++ return; ++ + roots = mgr->probing_roots; + for (guint i = 0; i < roots->len; i++) + { +-- +2.24.1 + From 2dfd8c35de18906c04c375d5ae673ece33586ce9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 13:10:41 +0000 Subject: [PATCH 21/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 16722a4..d068918 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -78,6 +78,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jan 23 2020 Christian Kellner - 0.8-3 - Add patch to ignore uevents from wakeup devices. See upstream issue https://gitlab.freedesktop.org/bolt/bolt/issues/156 From 952974a0da4724de729bb7b8633319df8370d693 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 14 Feb 2020 16:13:01 +0100 Subject: [PATCH 22/55] gating: opt in to rawhide gating Because it makes sense. --- gating.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/gating.yaml b/gating.yaml index d71584a..9d020b6 100644 --- a/gating.yaml +++ b/gating.yaml @@ -4,3 +4,4 @@ product_versions: decision_context: bodhi_update_push_testing rules: - !PassingTestCaseRule {test_case_name: dist.depcheck} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} From bbb3c9d33ccb2492328123e4778653ef0e048b2d Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 5 May 2020 15:39:41 -0400 Subject: [PATCH 23/55] Minor conditional tweaks for ELN Signed-off-by: Stephen Gallagher --- bolt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index d068918..6bb8724 100644 --- a/bolt.spec +++ b/bolt.spec @@ -20,7 +20,7 @@ BuildRequires: systemd %{?systemd_requires} # for the integration test (optional) -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 8 BuildRequires: pygobject3-devel BuildRequires: python3-dbus BuildRequires: python3-dbusmock From c76b7ce04026b570b64a6e05ecfc0675f19a2b0b Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 15 Jun 2020 20:53:17 +0200 Subject: [PATCH 24/55] bolt 0.9 release Drop all patches, all included in the new upstream release. --- .gitignore | 1 + bolt-error-typedef.patch | 27 ---------------------- bolt.spec | 10 ++++---- sources | 2 +- wakeup-uevents.patch | 50 ---------------------------------------- 5 files changed, 8 insertions(+), 82 deletions(-) delete mode 100644 bolt-error-typedef.patch delete mode 100644 wakeup-uevents.patch diff --git a/.gitignore b/.gitignore index 7b697d4..75c1226 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ tests/source/ /bolt-0.6.tar.gz /bolt-0.7.tar.gz /bolt-0.8.tar.gz +/bolt-0.9.tar.gz diff --git a/bolt-error-typedef.patch b/bolt-error-typedef.patch deleted file mode 100644 index f982608..0000000 --- a/bolt-error-typedef.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 5a739574608e5190816b3efd22e75f214c5fe4c4 Mon Sep 17 00:00:00 2001 -From: Christian Kellner -Date: Thu, 23 Jan 2020 19:07:05 +0100 -Subject: [PATCH] common: fix BoltError to be a typedef - -It was always meant to be a typedef not a (tentative) definition -of a global variable. ---- - common/bolt-error.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/common/bolt-error.h b/common/bolt-error.h -index 569da46..0486964 100644 ---- a/common/bolt-error.h -+++ b/common/bolt-error.h -@@ -36,7 +36,7 @@ G_BEGIN_DECLS - * - * Error codes used inside Bolt. - */ --enum { -+typedef enum { - BOLT_ERROR_FAILED = 0, - BOLT_ERROR_UDEV, - BOLT_ERROR_NOKEY, --- -2.24.1 - diff --git a/bolt.spec b/bolt.spec index 6bb8724..a5913a9 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,12 +1,10 @@ Name: bolt -Version: 0.8 -Release: 4%{?dist} +Version: 0.9 +Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz -Patch0: wakeup-uevents.patch -Patch1: bolt-error-typedef.patch BuildRequires: gcc BuildRequires: asciidoc @@ -78,6 +76,10 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Mon Jun 15 2020 Christian Kellner - 0.9-1 +- bolt 0.9 release + Drop all patches (all merged upstream). + * Tue Jan 28 2020 Fedora Release Engineering - 0.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 1e80b94..0889dd9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.8.tar.gz) = 0fdbc026178a4ca6a8c53aa46933d1c411eb04e350955f8b10c7faff814576d0796dd28e56b968648e549c79cf5fa13d43970d797595af0f66457abaef8ace09 +SHA512 (bolt-0.9.tar.gz) = 427e9ad95a8d018dd22326cc4b458fc9149b001d3aa6e4bb8e4047eaf6c3cf04a4dc3be9396049734dc0bd54f990b3bce31b6eef4031e3b671a6202a588cfe78 diff --git a/wakeup-uevents.patch b/wakeup-uevents.patch deleted file mode 100644 index a10d420..0000000 --- a/wakeup-uevents.patch +++ /dev/null @@ -1,50 +0,0 @@ -From ea3e3e30eb3ce76f6a0ae816a0f35809872f4edf Mon Sep 17 00:00:00 2001 -From: Christian Kellner -Date: Mon, 13 Jan 2020 17:38:47 +0100 -Subject: [PATCH] manager: ignore wakeup device uevents for probing - -The probing detection code should ignore wakeup device uevents -because these virtual devices can be added (and removed) without -and correspondence to any physical thunderbolt device (un-)plug -events. ---- - boltd/bolt-manager.c | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -diff --git a/boltd/bolt-manager.c b/boltd/bolt-manager.c -index 877c008..c8b60da 100644 ---- a/boltd/bolt-manager.c -+++ b/boltd/bolt-manager.c -@@ -2043,6 +2043,16 @@ device_is_thunderbolt_root (struct udev_device *dev) - bolt_streq (driver, "thunderbolt"); - } - -+static gboolean -+device_is_wakeup (struct udev_device *dev) -+{ -+ const char *subsys; -+ -+ subsys = udev_device_get_subsystem (dev); -+ -+ return bolt_streq (subsys, "wakeup"); -+} -+ - static gboolean - probing_add_root (BoltManager *mgr, - struct udev_device *dev) -@@ -2080,6 +2090,12 @@ manager_probing_device_added (BoltManager *mgr, - if (syspath == NULL) - return; - -+ /* ignore events for wakeup devices which get removed -+ * and added at random time without any connection to -+ * any physical thunderbolt device */ -+ if (device_is_wakeup (dev)) -+ return; -+ - roots = mgr->probing_roots; - for (guint i = 0; i < roots->len; i++) - { --- -2.24.1 - From a3a530bfbf125d17eebf44fdc566548f86934bb7 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 15 Jun 2020 22:39:25 +0200 Subject: [PATCH 25/55] ci: gate also on rawhide Also, drop the `dist.depcheck`, which is not available anymore. --- gating.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gating.yaml b/gating.yaml index 9d020b6..f2c6454 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,5 +3,10 @@ product_versions: - fedora-* decision_context: bodhi_update_push_testing rules: - - !PassingTestCaseRule {test_case_name: dist.depcheck} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +rules: - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} From 1c60b2c0367d5f41276097cfa3da3e9f6998891a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 13:17:51 +0000 Subject: [PATCH 26/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index a5913a9..c42daa6 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jun 15 2020 Christian Kellner - 0.9-1 - bolt 0.9 release Drop all patches (all merged upstream). From c59682ab976d616ebedc72007123d1d04aef76d3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 00:14:21 +0000 Subject: [PATCH 27/55] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index c42daa6..9cc44cd 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,10 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 0.9-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 5c19f90ad0ed8cc24c8fd9ebd8456095db637658 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 1 Dec 2020 14:04:01 +0100 Subject: [PATCH 28/55] bolt 0.9.1 release The upstream release 0.9.1 is a bugfix release to address issues with integrated thunderbolt on Ice Lake. Reword the description with with less emphasis on Thunderbolt version, since bolt is also responsible for USB4 and Thunderbolt 4. --- .gitignore | 1 + bolt.spec | 12 ++++++++---- sources | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 75c1226..bdf0f30 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ tests/source/ /bolt-0.7.tar.gz /bolt-0.8.tar.gz /bolt-0.9.tar.gz +/bolt-0.9.1.tar.gz diff --git a/bolt.spec b/bolt.spec index 9cc44cd..4204d22 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt -Version: 0.9 -Release: 3%{?dist} +Version: 0.9.1 +Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -26,8 +26,8 @@ BuildRequires: umockdev-devel %endif %description -bolt is a system daemon to manage thunderbolt 3 devices via a D-BUS -API. Thunderbolt 3 features different security modes that require +bolt is a system daemon to manage Thunderbolt devices via a D-BUS +API. Thunderbolt 3 introduced different security modes that require devices to be authorized before they can be used. The D-Bus API can be used to list devices, enroll them (authorize and store them in the local database) and forget them again (remove previously enrolled @@ -76,6 +76,10 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Tue Dec 1 2020 Christian Kellner - 0.9.1-1 +- bolt 0.9.1 release +- Update description with less emphasis on Thunderbolt version + * Sat Aug 01 2020 Fedora Release Engineering - 0.9-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 0889dd9..5d19504 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.9.tar.gz) = 427e9ad95a8d018dd22326cc4b458fc9149b001d3aa6e4bb8e4047eaf6c3cf04a4dc3be9396049734dc0bd54f990b3bce31b6eef4031e3b671a6202a588cfe78 +SHA512 (bolt-0.9.1.tar.gz) = c925c290de75d3fa2dfb9e86b2f14ea39279b3f2ab6bebeced72a7853c901d44de02157d684534af2b54edd3a2e0b2ba61e889579ab1b192f99e98a2d73685d9 From 00fafcf7429cbcc3527d9a557580c0b451bcf0cd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 01:17:46 +0000 Subject: [PATCH 29/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 4204d22..1fe0d72 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Dec 1 2020 Christian Kellner - 0.9.1-1 - bolt 0.9.1 release - Update description with less emphasis on Thunderbolt version From dabefb06fd5b46d12b21ccc25a9611792637f864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Mar 2021 16:14:07 +0100 Subject: [PATCH 30/55] Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. --- bolt.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 1fe0d72..a93bc20 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,10 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.9.1-3 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + * Tue Jan 26 2021 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From ac87533df6b2cabc860474dd479b0f0063de2718 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 13:49:36 +0000 Subject: [PATCH 31/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 98d34c72445746dc03f852d378046cf746f8fb7a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 18:46:42 +0000 Subject: [PATCH 32/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index a93bc20..761f028 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 0.9.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.9.1-3 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. From 54872d69685b2fb2faa1e77ca077b0dcea1c2cf8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 22:30:08 +0000 Subject: [PATCH 33/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 761f028..5e3c7be 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 0.9.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Jul 21 2021 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From e5d2b9a0227d485e0b5b9a4a9496ce71eab76f4c Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Thu, 27 Jan 2022 17:12:46 +0100 Subject: [PATCH 34/55] bolt 0.9.2 upstream release Fixes rhbz#2045228 (FTBFS due to umocked upgrade). --- .gitignore | 1 + bolt.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bdf0f30..723079f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ tests/source/ /bolt-0.8.tar.gz /bolt-0.9.tar.gz /bolt-0.9.1.tar.gz +/bolt-0.9.2.tar.gz diff --git a/bolt.spec b/bolt.spec index 5e3c7be..11ebf3a 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt -Version: 0.9.1 -Release: 5%{?dist} +Version: 0.9.2 +Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Thu Jan 27 2022 Christian Kellner - 0.9.2-1 +- bolt 0.9.2 release + * Wed Jan 19 2022 Fedora Release Engineering - 0.9.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 5d19504..de3b566 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.9.1.tar.gz) = c925c290de75d3fa2dfb9e86b2f14ea39279b3f2ab6bebeced72a7853c901d44de02157d684534af2b54edd3a2e0b2ba61e889579ab1b192f99e98a2d73685d9 +SHA512 (bolt-0.9.2.tar.gz) = 69e7ffa58a6dbc8a1b14fd7e11e2291fa60227896ead1a449839716b581c6ab0e351d3ed62f9b51c5e44a5a33ba5e23dc5af73a1b4eef87f733b3231d5454e90 From 40d53c2f1547918f6a6f28e81544bd800a7e8de7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 22:09:42 +0000 Subject: [PATCH 35/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 11ebf3a..066fb2a 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 0.9.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jan 27 2022 Christian Kellner - 0.9.2-1 - bolt 0.9.2 release From bae5ef65e0a67740708fed8227a8349e0c916c03 Mon Sep 17 00:00:00 2001 From: Simon Steinbeiss Date: Tue, 23 Aug 2022 14:58:09 +0200 Subject: [PATCH 36/55] bolt 0.9.3 upstream release --- .gitignore | 1 + bolt.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 723079f..5ebeec0 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ tests/source/ /bolt-0.9.tar.gz /bolt-0.9.1.tar.gz /bolt-0.9.2.tar.gz +/bolt-0.9.3.tar.gz diff --git a/bolt.spec b/bolt.spec index 066fb2a..a3f65c4 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt -Version: 0.9.2 -Release: 2%{?dist} +Version: 0.9.3 +Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Tue Aug 23 2022 Simon Steinbeiss - 0.9.3-1 +- New upstream release + * Wed Jul 20 2022 Fedora Release Engineering - 0.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index de3b566..63f149f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.9.2.tar.gz) = 69e7ffa58a6dbc8a1b14fd7e11e2291fa60227896ead1a449839716b581c6ab0e351d3ed62f9b51c5e44a5a33ba5e23dc5af73a1b4eef87f733b3231d5454e90 +SHA512 (bolt-0.9.3.tar.gz) = 2160831011090e75cf54408525f53ead6c0e7797de8a4afdd07ef5a035f8e1aa58f34efb9bd52e6e7cd93ac17751e72ff27e99f2b372a5720b2cbadd6abb3c26 From cafea0d7592ce8d6ded2004308806d37dd8adbca Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 23:03:21 +0000 Subject: [PATCH 37/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index a3f65c4..af0ad30 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -76,6 +76,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 0.9.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Aug 23 2022 Simon Steinbeiss - 0.9.3-1 - New upstream release From 32afdafb4eacc7a01cedc911858ce456d16db6a7 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Tue, 14 Feb 2023 17:58:21 +0800 Subject: [PATCH 38/55] Skip unix domain socket test Skip unix domain socket test to prevent from the "permission deny" error of koji build. --- .gitignore | 1 + ...st-unix-skip-unix-domain-socket-test.patch | 31 +++++++++++++++++++ bolt.spec | 8 +++-- sources | 2 +- 4 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 0001-test-test-unix-skip-unix-domain-socket-test.patch diff --git a/.gitignore b/.gitignore index 5ebeec0..ec253d4 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ tests/source/ /bolt-0.9.1.tar.gz /bolt-0.9.2.tar.gz /bolt-0.9.3.tar.gz +/bolt-0.9.5.tar.gz diff --git a/0001-test-test-unix-skip-unix-domain-socket-test.patch b/0001-test-test-unix-skip-unix-domain-socket-test.patch new file mode 100644 index 0000000..d0b1f94 --- /dev/null +++ b/0001-test-test-unix-skip-unix-domain-socket-test.patch @@ -0,0 +1,31 @@ +From 74eace0d89b63be92615364568ba36ad7d748477 Mon Sep 17 00:00:00 2001 +From: Kate Hsuan +Date: Tue, 14 Feb 2023 16:25:04 +0800 +Subject: [PATCH] test: test-unix: skip unix domain socket test + +Skip the test since we can't test unix domain socket in mock. +--- + tests/test-unix.c | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/tests/test-unix.c b/tests/test-unix.c +index 98de3db..366488f 100644 +--- a/tests/test-unix.c ++++ b/tests/test-unix.c +@@ -198,13 +198,6 @@ main (int argc, char **argv) + test_pid_is_alive, + NULL); + +- g_test_add ("/common/unix/bolt_sd_notify", +- TestNotify, +- NULL, +- test_notify_setup, +- test_sd_notify, +- test_notify_teardown); +- + g_test_add ("/common/unix/sd_watchdog_enabled", + TestDummy, + NULL, +-- +2.39.1 + diff --git a/bolt.spec b/bolt.spec index af0ad30..a8ba82c 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,10 +1,11 @@ Name: bolt -Version: 0.9.3 -Release: 2%{?dist} +Version: 0.9.5 +Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: 0001-test-test-unix-skip-unix-domain-socket-test.patch BuildRequires: gcc BuildRequires: asciidoc @@ -76,6 +77,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Tue Feb 14 2023 Kate hsuan - 0.9.5-1 +- Updated to upstream version + * Wed Jan 18 2023 Fedora Release Engineering - 0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 63f149f..d4e2266 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.9.3.tar.gz) = 2160831011090e75cf54408525f53ead6c0e7797de8a4afdd07ef5a035f8e1aa58f34efb9bd52e6e7cd93ac17751e72ff27e99f2b372a5720b2cbadd6abb3c26 +SHA512 (bolt-0.9.5.tar.gz) = cf8625f45d15f5685d99a49c5993a9196b355158be660c63fb22f86c2d9806d41cc13702d2e8d1b8e6f37e4acf3485e2b2c0eb19f907732bdf670680cbc073ae From 29c0ea33209917f00968f66c402120ebea7fcd15 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 14:48:32 +0000 Subject: [PATCH 39/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index a8ba82c..0dfb565 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -77,6 +77,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 0.9.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Feb 14 2023 Kate hsuan - 0.9.5-1 - Updated to upstream version From aafb0ce60030c4c67493c2c6fa823d1ea2435401 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Wed, 13 Sep 2023 11:51:07 +0800 Subject: [PATCH 40/55] 0.9.6 release Fixing for compiler warning and log message issues. Signed-off-by: Kate Hsuan --- .gitignore | 1 + bolt.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ec253d4..56d5846 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ tests/source/ /bolt-0.9.2.tar.gz /bolt-0.9.3.tar.gz /bolt-0.9.5.tar.gz +/bolt-0.9.6.tar.gz diff --git a/bolt.spec b/bolt.spec index 0dfb565..6ff3a9b 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt -Version: 0.9.5 -Release: 2%{?dist} +Version: 0.9.6 +Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -77,6 +77,10 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Wed Sep 13 2023 Kate Hsuan - 0.9.6-1 +- Update 0.9.6 release +- Fixing for compiler warning and log message issues + * Wed Jul 19 2023 Fedora Release Engineering - 0.9.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index d4e2266..6c1023c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.9.5.tar.gz) = cf8625f45d15f5685d99a49c5993a9196b355158be660c63fb22f86c2d9806d41cc13702d2e8d1b8e6f37e4acf3485e2b2c0eb19f907732bdf670680cbc073ae +SHA512 (bolt-0.9.6.tar.gz) = c8d638fa9eb73c79cb4ee93c8c29d7d71d0ae449b2363bc75c303f978201078a42d4b05095e67d677447aea1db9d337f195ce264175c6b0c4733e9ed3eb2e081 From 7301fb2642e48cb3cadef4308fae5c0968b8caef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 14:34:55 +0000 Subject: [PATCH 41/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 6ff3a9b..32e0a2f 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -77,6 +77,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 0.9.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Sep 13 2023 Kate Hsuan - 0.9.6-1 - Update 0.9.6 release - Fixing for compiler warning and log message issues From e16bbe50f6696397ff46d05024a8c8a7f6c8c478 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 23 Jan 2024 00:40:08 +0000 Subject: [PATCH 42/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 32e0a2f..bfbecc1 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Thunderbolt device manager License: LGPLv2+ URL: https://gitlab.freedesktop.org/bolt/bolt @@ -77,6 +77,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Tue Jan 23 2024 Fedora Release Engineering - 0.9.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 0.9.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From c0caa7136ed1e69f23656e0659d9da8269f48391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 24 Jan 2024 09:42:55 +0000 Subject: [PATCH 43/55] Migrate to SPDX license This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_3 --- bolt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index bfbecc1..d1c1ef5 100644 --- a/bolt.spec +++ b/bolt.spec @@ -2,7 +2,7 @@ Name: bolt Version: 0.9.6 Release: 3%{?dist} Summary: Thunderbolt device manager -License: LGPLv2+ +License: LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/bolt/bolt Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz Patch0: 0001-test-test-unix-skip-unix-domain-socket-test.patch From c4bd78ba4f59d95d4e0a7a7dcc8e72773292ed91 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Thu, 1 Feb 2024 11:02:04 +0800 Subject: [PATCH 44/55] Rebuild for SPDX update --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index d1c1ef5..fd3eb7a 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Thunderbolt device manager License: LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/bolt/bolt @@ -77,6 +77,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Thu Feb 1 2024 Kate Hsuan - 0.9.6-4 +- Update SPDX license + * Tue Jan 23 2024 Fedora Release Engineering - 0.9.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b30a38369febd0f915e5fd2e9cb0f38704cb6aba Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Fri, 1 Mar 2024 16:42:55 +0800 Subject: [PATCH 45/55] Update to 0.9.7 - Update to release 0.9.7 - Support for nopcie security level --- .gitignore | 1 + bolt.spec | 9 +++++++-- sources | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 56d5846..30ac6c2 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ tests/source/ /bolt-0.9.3.tar.gz /bolt-0.9.5.tar.gz /bolt-0.9.6.tar.gz +/bolt-0.9.7.tar.gz diff --git a/bolt.spec b/bolt.spec index fd3eb7a..791ecf0 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt -Version: 0.9.6 -Release: 4%{?dist} +Version: 0.9.7 +Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/bolt/bolt @@ -77,6 +77,11 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Fri Mar 1 2024 Kate Hsuan - 0.9.7-1 +- bolt 0.9.7 release +- Support 'nopcie' security level +- Bug fixes + * Thu Feb 1 2024 Kate Hsuan - 0.9.6-4 - Update SPDX license diff --git a/sources b/sources index 6c1023c..15cfdb2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.9.6.tar.gz) = c8d638fa9eb73c79cb4ee93c8c29d7d71d0ae449b2363bc75c303f978201078a42d4b05095e67d677447aea1db9d337f195ce264175c6b0c4733e9ed3eb2e081 +SHA512 (bolt-0.9.7.tar.gz) = a9ae0425cdba8932356ec4dcf3f6b3469478c01d47ef3b741c0a841117c81b354f35860be6011ea3b43b28ae10164909a82e2bdbcf92e8541c637cf44277a36c From 4e209184043a31eb44d4fcf697c35fb125daaea7 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 15 Apr 2024 17:24:06 -0400 Subject: [PATCH 46/55] Fix obsolete pygobject3-devel dependency https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PMJ65QYX3JQ5ACF4CSABXMKLXNWOFPLB/ --- bolt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 791ecf0..8c8a936 100644 --- a/bolt.spec +++ b/bolt.spec @@ -20,7 +20,7 @@ BuildRequires: systemd # for the integration test (optional) %if 0%{?fedora} || 0%{?rhel} > 8 -BuildRequires: pygobject3-devel +BuildRequires: python3-gobject-base BuildRequires: python3-dbus BuildRequires: python3-dbusmock BuildRequires: umockdev-devel From 57d3a085c5881963dbc5f6f776fd26610dc71c8c Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Wed, 22 May 2024 12:11:45 +0800 Subject: [PATCH 47/55] Update to release 0.9.8 - A new NHI for REMBRANDT. - systemd configuration improvement. - Fixed: Determine the string length before writing file. - Fixed: Free on error to prevent resource leak. --- .gitignore | 1 + bolt.spec | 8 +++++++- sources | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 30ac6c2..165ad88 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ tests/source/ /bolt-0.9.5.tar.gz /bolt-0.9.6.tar.gz /bolt-0.9.7.tar.gz +/bolt-0.9.8.tar.gz diff --git a/bolt.spec b/bolt.spec index 8c8a936..69da2eb 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,5 +1,5 @@ Name: bolt -Version: 0.9.7 +Version: 0.9.8 Release: 1%{?dist} Summary: Thunderbolt device manager License: LGPL-2.1-or-later @@ -77,6 +77,12 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Wed May 22 2024 Kate Hsuan - 0.9.8-1 +- A new NHI for REMBRANDT. +- systemd configuration improvement. +- Fixed: Determine the string length before writing file. +- Fixed: Free on error to prevent resource leak. + * Fri Mar 1 2024 Kate Hsuan - 0.9.7-1 - bolt 0.9.7 release - Support 'nopcie' security level diff --git a/sources b/sources index 15cfdb2..bb2add9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.9.7.tar.gz) = a9ae0425cdba8932356ec4dcf3f6b3469478c01d47ef3b741c0a841117c81b354f35860be6011ea3b43b28ae10164909a82e2bdbcf92e8541c637cf44277a36c +SHA512 (bolt-0.9.8.tar.gz) = ca3f1859b01f1370f508696192050231f5ced9a3c10eaa8d508b130f9202cc9161eb50e6884a8818c284f23bdc9d7cb6662442cd04d9d7eb8aeca1a1c0d5c060 From f7b88d01bc1e76a3a018875e85d6c35cc64c2141 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Fri, 31 May 2024 11:33:44 +0800 Subject: [PATCH 48/55] Update dependency for the test --- bolt.spec | 5 ++++- tests/tests.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bolt.spec b/bolt.spec index 69da2eb..1bbc8b4 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thunderbolt device manager License: LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/bolt/bolt @@ -77,6 +77,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Fri May 31 2024 Kate Hsuan - 0.9.8-2 +- Update python3-gobject-base dependency for test + * Wed May 22 2024 Kate Hsuan - 0.9.8-1 - A new NHI for REMBRANDT. - systemd configuration improvement. diff --git a/tests/tests.yml b/tests/tests.yml index c3c996b..1d6899c 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -10,7 +10,7 @@ - classic required_packages: - bolt - - pygobject3-devel + - python3-gobject-base - python3-dbus - python3-dbusmock - umockdev-devel From 730cae5a294426084bc6c7ecb8d3eee4beb36fdf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 18:29:07 +0000 Subject: [PATCH 49/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index 1bbc8b4..f66a7d6 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Thunderbolt device manager License: LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/bolt/bolt @@ -77,6 +77,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 0.9.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri May 31 2024 Kate Hsuan - 0.9.8-2 - Update python3-gobject-base dependency for test From e0a3f074fa97ecfbb293a9eb088c2f32ba22b2ac Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 12:43:43 +0000 Subject: [PATCH 50/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- bolt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bolt.spec b/bolt.spec index f66a7d6..cf86f00 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt Version: 0.9.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Thunderbolt device manager License: LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/bolt/bolt @@ -77,6 +77,9 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 0.9.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Jul 17 2024 Fedora Release Engineering - 0.9.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 1940b6fef55949d032db965ed40203ecc68a55e8 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Tue, 3 Jun 2025 17:17:30 +0800 Subject: [PATCH 51/55] Update to the upstream commit 0.9.9 - Several CI improvements and fixes - Fixed memory leak in boltctl - The unused codes were removed from daemon - Fixed a NULL syspath variable causes SIGSEGV Resolves: #2369103 --- .gitignore | 1 + bolt.spec | 139 ++--------------------------------------------------- changelog | 133 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- 4 files changed, 139 insertions(+), 136 deletions(-) create mode 100644 changelog diff --git a/.gitignore b/.gitignore index 165ad88..13920e9 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ tests/source/ /bolt-0.9.6.tar.gz /bolt-0.9.7.tar.gz /bolt-0.9.8.tar.gz +/bolt-0.9.9.tar.gz diff --git a/bolt.spec b/bolt.spec index cf86f00..49adcdc 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,6 +1,6 @@ Name: bolt -Version: 0.9.8 -Release: 4%{?dist} +Version: 0.9.9 +Release: %autorelease Summary: Thunderbolt device manager License: LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/bolt/bolt @@ -42,6 +42,7 @@ mentioned tasks. %autosetup -p1 %build +sed -i "s/WatchdogSec=3min/#WatchdogSec=3min/g" data/bolt.service.in %meson -Ddb-name=boltd %meson_build @@ -77,136 +78,4 @@ mentioned tasks. %ghost %dir %{_localstatedir}/lib/boltd %changelog -* Thu Jan 16 2025 Fedora Release Engineering - 0.9.8-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Jul 17 2024 Fedora Release Engineering - 0.9.8-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri May 31 2024 Kate Hsuan - 0.9.8-2 -- Update python3-gobject-base dependency for test - -* Wed May 22 2024 Kate Hsuan - 0.9.8-1 -- A new NHI for REMBRANDT. -- systemd configuration improvement. -- Fixed: Determine the string length before writing file. -- Fixed: Free on error to prevent resource leak. - -* Fri Mar 1 2024 Kate Hsuan - 0.9.7-1 -- bolt 0.9.7 release -- Support 'nopcie' security level -- Bug fixes - -* Thu Feb 1 2024 Kate Hsuan - 0.9.6-4 -- Update SPDX license - -* Tue Jan 23 2024 Fedora Release Engineering - 0.9.6-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 0.9.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Wed Sep 13 2023 Kate Hsuan - 0.9.6-1 -- Update 0.9.6 release -- Fixing for compiler warning and log message issues - -* Wed Jul 19 2023 Fedora Release Engineering - 0.9.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue Feb 14 2023 Kate hsuan - 0.9.5-1 -- Updated to upstream version - -* Wed Jan 18 2023 Fedora Release Engineering - 0.9.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Tue Aug 23 2022 Simon Steinbeiss - 0.9.3-1 -- New upstream release - -* Wed Jul 20 2022 Fedora Release Engineering - 0.9.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jan 27 2022 Christian Kellner - 0.9.2-1 -- bolt 0.9.2 release - -* Wed Jan 19 2022 Fedora Release Engineering - 0.9.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jul 21 2021 Fedora Release Engineering - 0.9.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.9.1-3 -- Rebuilt for updated systemd-rpm-macros - See https://pagure.io/fesco/issue/2583. - -* Tue Jan 26 2021 Fedora Release Engineering - 0.9.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Dec 1 2020 Christian Kellner - 0.9.1-1 -- bolt 0.9.1 release -- Update description with less emphasis on Thunderbolt version - -* Sat Aug 01 2020 Fedora Release Engineering - 0.9-3 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 0.9-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jun 15 2020 Christian Kellner - 0.9-1 -- bolt 0.9 release - Drop all patches (all merged upstream). - -* Tue Jan 28 2020 Fedora Release Engineering - 0.8-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jan 23 2020 Christian Kellner - 0.8-3 -- Add patch to ignore uevents from wakeup devices. See upstream issue - https://gitlab.freedesktop.org/bolt/bolt/issues/156 -- Add patch to fix BoltError not being a typedef. - -* Wed Jul 24 2019 Fedora Release Engineering - 0.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jun 13 2019 Christian Kellner - 0.8-1 -- bolt 0.8 release - D-Bus Configuration moved from sysconfdir to datadir. - Package new CHNAGELOG.md. - -* Thu Jan 31 2019 Fedora Release Engineering - 0.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Jan 1 2019 Christian Kellner - 0.7-1 -- bolt 0.7 release - -* Wed Nov 28 2018 Christian Kellner - 0.6-1 -- bolt 0.6 release - -* Fri Sep 21 2018 Christian Kellner - 0.5-1 -- bolt 0.5 release -- Remove forge macros again and use gitlab as authorative source -- Testing depedencies are now only pulled in on Fedora - -* Thu Jul 12 2018 Fedora Release Engineering - 0.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Mon May 28 2018 Christian Kellner - 0.4-1 -- bolt 0.4 upstream release - -* Tue Apr 10 2018 Christian Kellner - 0.3-1 -- bolt 0.3 upstream release -- Update BuildRequires to include gcc -- Use forge macros - -* Tue Mar 6 2018 Christian Kellner - 0.2-1 -- bolt 0.2 upstream release -- Update BuildRequires dependencies. - -* Wed Feb 07 2018 Fedora Release Engineering - 0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sun Dec 17 2017 Christian Kellner - 0.1-2 -- Set database path to /var/lib/boltd, create it during - installation, which is needed for the service file to work. - -* Thu Dec 14 2017 Christian Kellner - 0.1-1 -- Initial upstream release +%autochangelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..b98a8e0 --- /dev/null +++ b/changelog @@ -0,0 +1,133 @@ +* Thu Jan 16 2025 Fedora Release Engineering - 0.9.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Jul 17 2024 Fedora Release Engineering - 0.9.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri May 31 2024 Kate Hsuan - 0.9.8-2 +- Update python3-gobject-base dependency for test + +* Wed May 22 2024 Kate Hsuan - 0.9.8-1 +- A new NHI for REMBRANDT. +- systemd configuration improvement. +- Fixed: Determine the string length before writing file. +- Fixed: Free on error to prevent resource leak. + +* Fri Mar 1 2024 Kate Hsuan - 0.9.7-1 +- bolt 0.9.7 release +- Support 'nopcie' security level +- Bug fixes + +* Thu Feb 1 2024 Kate Hsuan - 0.9.6-4 +- Update SPDX license + +* Tue Jan 23 2024 Fedora Release Engineering - 0.9.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 0.9.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Sep 13 2023 Kate Hsuan - 0.9.6-1 +- Update 0.9.6 release +- Fixing for compiler warning and log message issues + +* Wed Jul 19 2023 Fedora Release Engineering - 0.9.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Feb 14 2023 Kate hsuan - 0.9.5-1 +- Updated to upstream version + +* Wed Jan 18 2023 Fedora Release Engineering - 0.9.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Aug 23 2022 Simon Steinbeiss - 0.9.3-1 +- New upstream release + +* Wed Jul 20 2022 Fedora Release Engineering - 0.9.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 27 2022 Christian Kellner - 0.9.2-1 +- bolt 0.9.2 release + +* Wed Jan 19 2022 Fedora Release Engineering - 0.9.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 0.9.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.9.1-3 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + +* Tue Jan 26 2021 Fedora Release Engineering - 0.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Dec 1 2020 Christian Kellner - 0.9.1-1 +- bolt 0.9.1 release +- Update description with less emphasis on Thunderbolt version + +* Sat Aug 01 2020 Fedora Release Engineering - 0.9-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 15 2020 Christian Kellner - 0.9-1 +- bolt 0.9 release + Drop all patches (all merged upstream). + +* Tue Jan 28 2020 Fedora Release Engineering - 0.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jan 23 2020 Christian Kellner - 0.8-3 +- Add patch to ignore uevents from wakeup devices. See upstream issue + https://gitlab.freedesktop.org/bolt/bolt/issues/156 +- Add patch to fix BoltError not being a typedef. + +* Wed Jul 24 2019 Fedora Release Engineering - 0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 13 2019 Christian Kellner - 0.8-1 +- bolt 0.8 release + D-Bus Configuration moved from sysconfdir to datadir. + Package new CHNAGELOG.md. + +* Thu Jan 31 2019 Fedora Release Engineering - 0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 1 2019 Christian Kellner - 0.7-1 +- bolt 0.7 release + +* Wed Nov 28 2018 Christian Kellner - 0.6-1 +- bolt 0.6 release + +* Fri Sep 21 2018 Christian Kellner - 0.5-1 +- bolt 0.5 release +- Remove forge macros again and use gitlab as authorative source +- Testing depedencies are now only pulled in on Fedora + +* Thu Jul 12 2018 Fedora Release Engineering - 0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon May 28 2018 Christian Kellner - 0.4-1 +- bolt 0.4 upstream release + +* Tue Apr 10 2018 Christian Kellner - 0.3-1 +- bolt 0.3 upstream release +- Update BuildRequires to include gcc +- Use forge macros + +* Tue Mar 6 2018 Christian Kellner - 0.2-1 +- bolt 0.2 upstream release +- Update BuildRequires dependencies. + +* Wed Feb 07 2018 Fedora Release Engineering - 0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sun Dec 17 2017 Christian Kellner - 0.1-2 +- Set database path to /var/lib/boltd, create it during + installation, which is needed for the service file to work. + +* Thu Dec 14 2017 Christian Kellner - 0.1-1 +- Initial upstream release \ No newline at end of file diff --git a/sources b/sources index bb2add9..b2b88bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.9.8.tar.gz) = ca3f1859b01f1370f508696192050231f5ced9a3c10eaa8d508b130f9202cc9161eb50e6884a8818c284f23bdc9d7cb6662442cd04d9d7eb8aeca1a1c0d5c060 +SHA512 (bolt-0.9.9.tar.gz) = f090bfdb3de1ff2e325def76a8c9f8321217f1e2e2d4fd16cd2c411b52ac230c8a2bc20fbb275f38abd3464928e7f1e8fe690beaa6a5aba06bae6790484c3917 From 90daf298c7ec3253f02967c5485d49bde1c815d0 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Thu, 5 Jun 2025 12:46:42 +0800 Subject: [PATCH 52/55] Migrate the tests to tmt --- .fmf/version | 1 + bolt.spec | 12 +++++++++++- tests/main.fmf | 12 ++++++++++++ tests/tests.yml | 23 ----------------------- 4 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 .fmf/version create mode 100644 tests/main.fmf delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/bolt.spec b/bolt.spec index 49adcdc..b6c230e 100644 --- a/bolt.spec +++ b/bolt.spec @@ -38,12 +38,19 @@ authorized as soon as they are connected. A command line tool, called boltctl, can be used to control the daemon and perform all the above mentioned tasks. +%package tests +Summary: Test files for bolt +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +Test files for bolt + %prep %autosetup -p1 %build sed -i "s/WatchdogSec=3min/#WatchdogSec=3min/g" data/bolt.service.in -%meson -Ddb-name=boltd +%meson -Ddb-name=boltd -Dinstall-tests=true %meson_build %check @@ -77,5 +84,8 @@ sed -i "s/WatchdogSec=3min/#WatchdogSec=3min/g" data/bolt.service.in %{_mandir}/man8/boltd.8* %ghost %dir %{_localstatedir}/lib/boltd +%files tests +%{_libexecdir}/installed-tests/bolt + %changelog %autochangelog diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..acd7cc7 --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,12 @@ +summary: + Test for bolt +prepare: + how: install + package: + - bolt + - python3-gobject-base + - python3-dbus + - python3-dbusmock + - umockdev-devel +execute: + script: tests/run-it.sh source/tests/test-integration diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 1d6899c..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-source - tags: - - always - - role: standard-test-basic - tags: - - atomic - - classic - required_packages: - - bolt - - python3-gobject-base - - python3-dbus - - python3-dbusmock - - umockdev-devel - tests: - - smoke: - dir: smoke - run: boltctl --version - - integration: - dir: . - run: ./run-it.sh source/tests/test-integration From 8b1bf93449dea9271ca5b30e3cc465a377e87511 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Thu, 5 Jun 2025 13:54:32 +0800 Subject: [PATCH 53/55] Install bolt-tests package for the tests --- tests/main.fmf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/main.fmf b/tests/main.fmf index acd7cc7..20e6de3 100644 --- a/tests/main.fmf +++ b/tests/main.fmf @@ -3,10 +3,10 @@ summary: prepare: how: install package: - - bolt + - bolt-tests - python3-gobject-base - python3-dbus - python3-dbusmock - umockdev-devel execute: - script: tests/run-it.sh source/tests/test-integration + script: tests/run-it.sh /usr/libexec/installed-tests/bolt/test-integration From 24d55227c03d832e6636ef1c3206315bd3444759 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Wed, 25 Jun 2025 11:46:25 +0800 Subject: [PATCH 54/55] Update to the upstream version 0.9.10 Resolves: #2363053 #2374702 --- .gitignore | 1 + bolt.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 13920e9..7a0be71 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ tests/source/ /bolt-0.9.7.tar.gz /bolt-0.9.8.tar.gz /bolt-0.9.9.tar.gz +/bolt-0.9.10.tar.gz diff --git a/bolt.spec b/bolt.spec index b6c230e..065e815 100644 --- a/bolt.spec +++ b/bolt.spec @@ -1,5 +1,5 @@ Name: bolt -Version: 0.9.9 +Version: 0.9.10 Release: %autorelease Summary: Thunderbolt device manager License: LGPL-2.1-or-later diff --git a/sources b/sources index b2b88bf..91dd35e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bolt-0.9.9.tar.gz) = f090bfdb3de1ff2e325def76a8c9f8321217f1e2e2d4fd16cd2c411b52ac230c8a2bc20fbb275f38abd3464928e7f1e8fe690beaa6a5aba06bae6790484c3917 +SHA512 (bolt-0.9.10.tar.gz) = a0707ec57b1b048906ac8f803acfa313e37bc31eb0acb77978f28a3200d026c019ce30157681ff39f1e0076dc9d828361fcd46cc058db7ac5ad9c890b64a88a0 From c0c82071046153e73ab69c0caa6244069fd368e5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:48:41 +0000 Subject: [PATCH 55/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild