public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom spot Callaway <spotaws@amazon.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libpaper] rawhide: 2.3.0
Date: Mon, 28 Sep 2026 20:55:35 GMT	[thread overview]
Message-ID: <179062893536.1.11834193009739370708.rpms-libpaper-bbb3b3476f56@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libpaper
Branch : rawhide
Commit : bbb3b3476f5679f348ae99ccb16b0df195cf6a81
Author : Tom spot Callaway <spotaws@amazon.com>
Date   : 2026-09-28T16:55:28-04:00
Stats  : +19/-12 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/libpaper/c/bbb3b3476f5679f348ae99ccb16b0df195cf6a81?branch=rawhide

Log:
2.3.0

---
diff --git a/.gitignore b/.gitignore
index dd16860..3b8f08d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ libpaper_1.1.24.tar.gz
 /libpaper-2.0.10.tar.gz
 /libpaper-2.1.0.tar.gz
 /libpaper-2.1.1.tar.gz
+/libpaper-2.3.0.tar.gz

diff --git a/libpaper.spec b/libpaper.spec
index 100eeff..7f6eca2 100644
--- a/libpaper.spec
+++ b/libpaper.spec
@@ -1,6 +1,8 @@
+%global systemgnulib 1
+
 Name:		libpaper
-Version:	2.1.1
-Release:	11%{?dist}
+Version:	2.3.0
+Release:	1%{?dist}
 # Needed to replace separate paper package
 Epoch:		1
 Summary:	Library and tools for handling papersize
@@ -13,8 +15,6 @@ URL:		https://github.com/rrthomas/libpaper/
 Source0:	https://github.com/rrthomas/libpaper/archive/v%{version}/%{name}-%{version}.tar.gz
 # Pulled from paper
 Source1:	localepaper.c
-# from libpaper-1.x
-Source2:        paperconf.1
 
 # gcc is no longer in buildroot by default
 BuildRequires:  gcc
@@ -25,7 +25,11 @@ BuildRequires:  make
 BuildRequires:	libtool, gettext, gawk, autoconf, automake
 BuildRequires:	help2man, tar, gnupg2, perl-interpreter, gzip
 
+%if 0%{?systemgnulib}
+BuildRequires:	gnulib-devel
+%else
 Provides: bundled(gnulib)
+%endif
 
 %description
 The libpaper package enables users to indicate their preferred paper
@@ -57,11 +61,13 @@ default paper size and give information about known sizes.
 %autosetup -S git
 cp %{SOURCE1} src/
 
-%if 0
+%if 0%{?systemgnulib}
 sed -i 's|gnulib_tool=$gnulib_path/gnulib-tool|gnulib_tool=%{_bindir}/gnulib-tool|g' bootstrap
 sed -i 's|./gnulib/gnulib-tool|%{_bindir}/gnulib-tool|g' bootstrap.conf
 sed -i '/doc\/INSTALL/d' bootstrap
 ./bootstrap --gnulib-srcdir=%{_datadir}/gnulib/ --skip-git
+%else
+autoreconf -ifv
 %endif
 
 %build
@@ -97,13 +103,10 @@ done
 mkdir %{buildroot}%{_libexecdir}
 install -m0755 src/localepaper %{buildroot}%{_libexecdir}
 
-gzip -c %{SOURCE2} > paperconf.1.gz
-install -m0644 paperconf.1.gz %{buildroot}%{_mandir}/man1/paperconf.1
-
 %ldconfig_scriptlets
 
 %files
-%doc ChangeLog README
+%doc ChangeLog README.md
 %license COPYING
 %config(noreplace) %{_sysconfdir}/paperspecs
 %{_libdir}/libpaper.so.2*
@@ -114,13 +117,16 @@ install -m0644 paperconf.1.gz %{buildroot}%{_mandir}/man1/paperconf.1
 
 %files -n paper
 %{_bindir}/paper
-%{_bindir}/paperconf
+# %%{_bindir}/paperconf
 %{_libexecdir}/localepaper
 %{_mandir}/man1/paper.*
-%{_mandir}/man1/paperconf.*
+# %%{_mandir}/man1/paperconf.*
 %{_mandir}/man5/paperspecs.*
 
 %changelog
+* Mon Sep 28 2026 Tom Callaway <spot@fedoraproject.org> - 1:2.3.0-1
+- update to 2.3.0
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.1-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 6aabe27..69538fd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libpaper-2.1.1.tar.gz) = 90fabb586115d99c9fb4d4ecee87ac0d1b2ac17ddf0c89287eb82e21834b0a2bc7cd5049fb73f3e20e4b494c374413c388b28c3274ceb278ce81928e17fde288
+SHA512 (libpaper-2.3.0.tar.gz) = 856f57a076d72dfcab6ad11c307b4e52af55b8ebb94d33c939df4e7ce0564ad619351716a3e729a765b74c830cf8343e8236de9cabff2969f3bf5dcec3aa8f37

                 reply	other threads:[~2026-09-28 20:55 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=179062893536.1.11834193009739370708.rpms-libpaper-bbb3b3476f56@fedoraproject.org \
    --to=spotaws@amazon.com \
    --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