public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: apply fix from adamw for lua globbing bug rhbz#1349664
@ 2026-08-10  9:34 Dennis Gilmore
  0 siblings, 0 replies; only message in thread
From: Dennis Gilmore @ 2026-08-10  9:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : c974f93ff8954eee0a247bd542681a585126b606
            Author : Dennis Gilmore <dennis@ausil.us>
            Date   : 2016-06-23T20:09:57-05:00
            Stats  : +10/-6 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/c974f93ff8954eee0a247bd542681a585126b606?branch=f45

            Log:
            apply fix from adamw for lua globbing bug rhbz#1349664

Signed-off-by: Dennis Gilmore <dennis@ausil.us>

---
diff --git a/convert-to-edition.lua b/convert-to-edition.lua
index 2a5b9d9..20f847b 100644
--- a/convert-to-edition.lua
+++ b/convert-to-edition.lua
@@ -64,7 +64,7 @@ end
 local function clear_presets()
   local path = "/usr/lib/systemd/system-preset"
   for file in posix.files(path) do
-    if file:match("^80-.*%.preset$") then
+    if file:match("^80%-.*%.preset$") then
       os.remove(path .. "/" .. file)
     end
   end

diff --git a/fedora-release.spec b/fedora-release.spec
index c506536..fe88d53 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -5,7 +5,7 @@
 Summary:        Fedora release files
 Name:           fedora-release
 Version:        25
-Release:        0.8
+Release:        0.10
 License:        MIT
 Group:          System Environment/Base
 URL:            http://fedoraproject.org
@@ -231,9 +231,7 @@ end
 %include %{_sourcedir}/convert-to-edition.lua
 -- If we get to %%posttrans and nothing created /usr/lib/variant, set it to
 -- nonproduct.
-if posix.stat(VARIANT_FILE) == nil then
-    convert_to_edition("nonproduct", true)
-end
+install_edition("nonproduct")
 
 %post atomichost -p <lua>
 %include %{_sourcedir}/convert-to-edition.lua
@@ -333,6 +331,12 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %config %attr(0644,root,root) /usr/lib/os.release.d/presets/80-workstation.preset
 
 %changelog
+* Fri Jun 24 2016 Dennis Gilmore <dennis@ausil.us> - 25-0.10
+- apply fix from adamw for lua globbing bug rhbz#1349664
+
+* Thu May 19 2016 Stephen Gallagher <sgallagh@redhat.com> - 25-0.9
+- Fix %%posttrans to properly write /usr/lib/variant for nonproduct
+
 * Tue Apr 19 2016 Dennis Gilmore <dennis@ausil.us> - 25-0.8
 - enable virtlogd.socket
 

diff --git a/sources b/sources
index 40da0ab..ee55aae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-aedd9a548a74f00637fb45fcf27c4f76  fedora-release-25.tar.bz2
+e2497efff58b52fe8f4e5db9188ad129  fedora-release-25.tar.bz2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10  9:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10  9:34 [rpms/fedora-release] f45: apply fix from adamw for lua globbing bug rhbz#1349664 Dennis Gilmore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox