public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Packit <hello@packit.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/authselect] rawhide: Update to 1.8.0 upstream release
Date: Fri, 21 Aug 2026 18:27:40 GMT	[thread overview]
Message-ID: <178733686002.1.15009804167660420530.rpms-authselect-a0fd755fd0eb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/authselect
            Branch : rawhide
            Commit : a0fd755fd0eba3dc6e282dd994c6b828fdb788a8
            Author : Packit <hello@packit.dev>
            Date   : 2026-08-20T12:35:33+02:00
            Stats  : +67/-50 in 7 file(s)
            URL    : https://src.fedoraproject.org/rpms/authselect/c/a0fd755fd0eba3dc6e282dd994c6b828fdb788a8?branch=rawhide

            Log:
            Update to 1.8.0 upstream release

Upstream tag: 1.8.0
Upstream commit: 6bd0e164

Commit authored by Packit automation (https://packit.dev/)

---
diff --git a/.gitignore b/.gitignore
index ab5b647..8238ac1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@
 /authselect-1.6.2.tar.gz
 /authselect-1.7.0.tar.gz
 /authselect-1.7.1.tar.gz
+/authselect-1.8.0.tar.gz

diff --git a/.packit.yaml b/.packit.yaml
index d14a2fc..b5513bb 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -3,39 +3,68 @@ upstream_project_url: https://github.com/authselect/authselect
 issue_repository: https://github.com/authselect/authselect
 
 upstream_package_name: authselect
-specfile_path: authselect.spec
 
-actions:
-  post-upstream-clone:
-    - cp rpm/authselect.spec.in authselect.spec
-    - sed -i "s/@PACKAGE_VERSION@/99/g" authselect.spec
-    - sed -i "s/@RELEASE_NUMBER@%{?dist}/%autorelease/g" authselect.spec
+# Prepare the spec file to be consumed by packit.
+# We replace the configure script placeholders, the version and release is
+# then set by packit to correct values.
+packages:
+  upstream:
+    specfile_path: rpm/authselect.spec
+    actions:
+      post-upstream-clone:
+        - cp rpm/authselect.spec.in rpm/authselect.spec
+        - sed -i "s/@PACKAGE_VERSION@/0/g" rpm/authselect.spec
+        - sed -i "s/@RELEASE_NUMBER@/99/g" rpm/authselect.spec
+      get-current-version:
+        - bash -c 'grep "VERSION_NUMBER" version.m4 | sed -E "s/.+, ([0-9].+).+/\\1/"'
+  downstream:
+    specfile_path: rpm/authselect.spec
+    actions:
+      # Switch to %autorelease and enable gpg verification.
+      post-upstream-clone:
+        - cp rpm/authselect.spec.in rpm/authselect.spec
+        - sed -i "s/@PACKAGE_VERSION@/0/g" rpm/authselect.spec
+        - sed -i "s/@RELEASE_NUMBER@%{?dist}/%autorelease/g" rpm/authselect.spec
 
 jobs:
   # Produce COPR builds on push
   - job: copr_build
     trigger: commit
+    packages:
+      - upstream
     targets:
-      - fedora-43
-      - fedora-rawhide
+      - fedora-all
+      - centos-stream-10
 
   # Produce COPR build on each pull request
   - job: copr_build
     trigger: pull_request
+    packages:
+      - upstream
     targets:
-      - fedora-43
-      - fedora-rawhide
+      - fedora-all
+      - centos-stream-10
 
   # Create Fedora pull request on release
   - job: propose_downstream
     trigger: release
+    packages:
+      - downstream
     dist_git_branches:
-      - fedora-43
-      - fedora-rawhide
+      - fedora-all
 
   # Automatically build in Koji when PR is merged
   - job: koji_build
     trigger: commit
+    packages:
+      - downstream
     dist_git_branches:
-      - fedora-43
-      - fedora-rawhide
+      - fedora-all
+
+  # Automatically open Bodhi update when Koji build is available
+  - job: bodhi_update
+    trigger: commit
+    packages:
+      - downstream
+    dist_git_branches:
+      - fedora-branched # rawhide updates are created automatically

diff --git a/README.packit b/README.packit
index 39e81ea..09d231a 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 1.14.0.post1.dev2+g6506c7467.
+The file was generated using packit 1.16.2.post1.dev12+g819bb7962.

diff --git a/authselect.conf.fedora b/authselect.conf.fedora
new file mode 100644
index 0000000..6a3863b
--- /dev/null
+++ b/authselect.conf.fedora
@@ -0,0 +1,2 @@
+local
+with-silent-lastlog

diff --git a/authselect.conf.rhel b/authselect.conf.rhel
new file mode 100644
index 0000000..4083037
--- /dev/null
+++ b/authselect.conf.rhel
@@ -0,0 +1 @@
+local

diff --git a/authselect.spec b/authselect.spec
index fb44445..68c999e 100644
--- a/authselect.spec
+++ b/authselect.spec
@@ -2,27 +2,18 @@
 %define _empty_manifest_terminate_build 0
 
 Name:           authselect
-Version:        1.7.1
+Version:        1.8.0
 Release:        %autorelease
 Summary:        Configures authentication and identity sources from supported profiles
 URL:            https://github.com/authselect/authselect
 
 License:        GPL-3.0-or-later
 Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+Source1:        authselect.conf.fedora
+Source2:        authselect.conf.rhel
 
 %global makedir %{_builddir}/%{name}-%{version}
 
-# Disable NIS profile on RHEL
-%if 0%{?rhel}
-%global with_nis_profile 0
-%else
-%global with_nis_profile 1
-%endif
-
-# Set the default profile
-%{?fedora:%global default_profile local with-silent-lastlog}
-%{?rhel:%global default_profile local}
-
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  findutils
@@ -31,6 +22,7 @@ BuildRequires:  m4
 BuildRequires:  gcc
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(popt)
+BuildRequires:  pkgconfig(bash-completion)
 BuildRequires:  gettext-devel
 BuildRequires:  po4a
 BuildRequires:  %{_bindir}/a2x
@@ -94,9 +86,6 @@ done
 %build
 autoreconf -if
 %configure \
-%if %{with_nis_profile}
-    --with-nis-profile \
-%endif
     %{nil}
 %make_build
 
@@ -106,6 +95,13 @@ autoreconf -if
 %install
 %make_install
 
+# Install distribution-specific configuration
+%if 0%{?fedora}
+%__install -m 644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/authselect/authselect.conf
+%else
+%__install -m 644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/authselect/authselect.conf
+%endif
+
 # Find translations
 %find_lang %{name}
 %find_lang %{name} %{name}.8.lang --with-man
@@ -147,6 +143,7 @@ find $RPM_BUILD_ROOT -name "*.a" -exec %__rm -f {} \;
 %dir %{_datadir}/authselect/default/local/
 %dir %{_datadir}/authselect/default/sssd/
 %dir %{_datadir}/authselect/default/winbind/
+%config(noreplace) %{_datadir}/authselect/authselect.conf
 %verify(not md5 size mtime) %{_datadir}/authselect/checksum
 %{_datadir}/authselect/default/local/dconf-db
 %{_datadir}/authselect/default/local/dconf-locks
@@ -181,26 +178,13 @@ find $RPM_BUILD_ROOT -name "*.a" -exec %__rm -f {} \;
 %{_datadir}/authselect/default/winbind/smartcard-auth
 %{_datadir}/authselect/default/winbind/switchable-auth
 %{_datadir}/authselect/default/winbind/system-auth
-%if %{with_nis_profile}
-%dir %{_datadir}/authselect/default/nis/
-%{_datadir}/authselect/default/nis/dconf-db
-%{_datadir}/authselect/default/nis/dconf-locks
-%{_datadir}/authselect/default/nis/fingerprint-auth
-%{_datadir}/authselect/default/nis/nsswitch.conf
-%{_datadir}/authselect/default/nis/password-auth
-%{_datadir}/authselect/default/nis/postlogin
-%{_datadir}/authselect/default/nis/README
-%{_datadir}/authselect/default/nis/REQUIREMENTS
-%{_datadir}/authselect/default/nis/smartcard-auth
-%{_datadir}/authselect/default/nis/switchable-auth
-%{_datadir}/authselect/default/nis/system-auth
-%endif
 %{_libdir}/libauthselect.so.*
 %{_mandir}/man5/authselect-profiles.5*
 %dir %{_datadir}/doc/authselect
 %{_datadir}/doc/authselect/COPYING
 %{_datadir}/doc/authselect/README.md
 %{_unitdir}/authselect-apply-changes.service
+%{_unitdir}/authselect-first-boot.service
 %license COPYING
 %doc README.md
 
@@ -213,16 +197,16 @@ find $RPM_BUILD_ROOT -name "*.a" -exec %__rm -f {} \;
 %{_bindir}/authselect
 %{_mandir}/man8/authselect.8*
 %{_mandir}/man7/authselect-migration.7*
-%{_sysconfdir}/bash_completion.d/authselect-completion.sh
+%{_datadir}/bash-completion/completions/authselect.bash
 
 %post libs
-%systemd_post authselect-apply-changes.service
+%systemd_post authselect-apply-changes.service authselect-first-boot.service
 
 %preun libs
-%systemd_preun authselect-apply-changes.service
+%systemd_preun authselect-apply-changes.service authselect-first-boot.service
 
 %postun libs
-%systemd_postun authselect-apply-changes.service
+%systemd_postun authselect-apply-changes.service authselect-first-boot.service
 
 %posttrans libs
 # Keep nss-altfiles for all rpm-ostree based systems.
@@ -236,7 +220,7 @@ fi
 
 # If this is a new installation select the default configuration.
 if [ $1 == 1 ] ; then
-    %{_bindir}/authselect select %{default_profile} --force --nobackup &> /dev/null
+    %{_bindir}/authselect select @system-default --force --nobackup &> /dev/null
     exit 0
 fi
 

diff --git a/sources b/sources
index aca21b4..cc7feb4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (authselect-1.7.1.tar.gz) = a8e1f89507a548f928c8b1be6f9e2a7cb8671474c5b7a376b182f0e23663737726277e3ec70cdbc028fc91ada96cbf70876ac77581ebbb07d0eabf77f43bac7c
+SHA512 (authselect-1.8.0.tar.gz) = 4237f2cfcf9bd827dbb4033e9e15333846d9bc7ffb391b86d5825ccd7bec4d695c2294aa837e75f1dbfa4325a2673ce88ddec74b0eaf283e20cdce3231f7acc9

                 reply	other threads:[~2026-08-21 18:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178733686002.1.15009804167660420530.rpms-authselect-a0fd755fd0eb@fedoraproject.org \
    --to=hello@packit.dev \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox