public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/conman] epel10: - updated to 0.3.1
Date: Wed, 12 Aug 2026 20:06:06 GMT	[thread overview]
Message-ID: <178656516608.1.15465449081851341844.rpms-conman-29fdd65a22ef@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/conman
            Branch : epel10
            Commit : 29fdd65a22ef580f808a40a9b02ccbda7b770256
            Author : Dan Horák <dan@danny.cz>
            Date   : 2023-12-12T12:22:46+01:00
            Stats  : +25/-34 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/conman/c/29fdd65a22ef580f808a40a9b02ccbda7b770256?branch=epel10

            Log:
            - updated to 0.3.1

- modernize spec file

---
diff --git a/.gitignore b/.gitignore
index 48ab8dc..1052a8c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,2 @@
-conman-0.2.5.tar.bz2
-/conman-0.2.7.tar.bz2
-/conman-0.2.7.tar.gz
-/conman-0.2.8.tar.gz
-/conman-0.2.9.tar.gz
-/conman-0.3.0.tar.gz
+/conman-*.tar.bz2
+/conman-*.tar.gz

diff --git a/conman.spec b/conman.spec
index b47b7a2..67c38a4 100644
--- a/conman.spec
+++ b/conman.spec
@@ -1,9 +1,10 @@
 Name:               conman
-Version:            0.3.0
-Release:            10%{?dist}
+Version:            0.3.1
+Release:            1%{?dist}
 Summary:            ConMan - The Console Manager
 
-License:            GPLv3+
+# GPLv3+, but strlc*.c is under ISC
+License:            GPL-3.0-or-later AND ISC
 URL:                https://dun.github.io/conman/
 Source0:            https://github.com/dun/%{name}/archive/%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
 
@@ -15,7 +16,8 @@ BuildRequires:      gcc
 BuildRequires:      perl-generators
 BuildRequires:      freeipmi-devel
 BuildRequires:      systemd
-BuildRequires: make
+BuildRequires:      make
+BuildRequires:      autoconf automake libtool
 
 %description
 ConMan is a serial console management program designed to support a large
@@ -32,35 +34,22 @@ Its features include:
 
 
 %prep
-%setup -qn %{name}-%{name}-%{version}
+%autosetup -n %{name}-%{name}-%{version}
 
-# fix paths
-sed -i -e 's|lib\/|share\/|g' lib/examples/*.exp
-
-# fix shebang
-sed -i -e 's|\/usr\/bin\/env perl|\/usr\/bin\/perl|g' conmen
+sh ./bootstrap
 
 
 %build
 %configure
-make %{?_smp_mflags}
+%make_build
 
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
-
-# clean sysvinit stuff
-rm -r $RPM_BUILD_ROOT/etc/{init.d,sysconfig}
+%make_install
 
 # make log directories
-mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/%{name}
-mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/%{name}.old
-
-# examples don't belong in libdir
-rm -r $RPM_BUILD_ROOT/usr/lib/%{name}/examples
-# move scripts to proper place
-mv $RPM_BUILD_ROOT/usr/lib/%{name} $RPM_BUILD_ROOT%{_datadir}/%{name}
-chmod -x $RPM_BUILD_ROOT%{_datadir}/%{name}/*.exp
+mkdir -p %{buildroot}%{_localstatedir}/log/%{name}
+mkdir -p %{buildroot}%{_localstatedir}/log/%{name}.old
 
 
 %post
@@ -76,19 +65,25 @@ chmod -x $RPM_BUILD_ROOT%{_datadir}/%{name}/*.exp
 %files
 %license COPYING
 %doc AUTHORS FAQ NEWS
-%doc lib/examples
 %config(noreplace) %{_sysconfdir}/%{name}.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 %{_unitdir}/%{name}.service
 %dir %{_localstatedir}/log/%{name}
 %dir %{_localstatedir}/log/%{name}.old
-%{_bindir}/*
-%{_sbindir}/*
+%{_bindir}/conman
+%{_bindir}/conmen
+%{_sbindir}/conmand
 %{_datadir}/%{name}/
-%{_mandir}/*/*
+%{_mandir}/man1/conman.*
+%{_mandir}/man5/conman.conf.*
+%{_mandir}/man8/conmand.*
 
 
 %changelog
+* Tue Dec 12 2023 Dan Horák <dan[at]danny.cz> - 0.3.1-1
+- updated to 0.3.1
+- modernize spec file
+
 * Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
 

diff --git a/sources b/sources
index fecc449..0439e7e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (conman-0.3.0.tar.gz) = 5ec7a2555a68791e876f703c08cd8887c51edd026ca956e61f37951f5b5f7d0f43e93ac131a868c7169f6a26a5e32f73f67538797e9b19191f93fcef3d34c917
+SHA512 (conman-0.3.1.tar.gz) = 3c70aa7bdb70999ff5415f7b451f80e882f93ac2bf69a6748cbc78e5b94f908b60d6745d18e10bb84892a25fe1a70626fa500c994cb1b75d64af49ca8715252a

                 reply	other threads:[~2026-08-12 20:06 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=178656516608.1.15465449081851341844.rpms-conman-29fdd65a22ef@fedoraproject.org \
    --to=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