update to 2.0.10
This commit is contained in:
parent
17d19449f6
commit
59e9706b7c
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ libpaper_1.1.24.tar.gz
|
||||
/libpaper-2.0.4.tar.gz
|
||||
/libpaper-2.0.8.tar.gz
|
||||
/libpaper-2.0.9.tar.gz
|
||||
/libpaper-2.0.10.tar.gz
|
||||
|
@ -1,24 +0,0 @@
|
||||
diff -up libpaper-2.0.9/configure.ac.fix libpaper-2.0.9/configure.ac
|
||||
--- libpaper-2.0.9/configure.ac.fix 2023-02-23 15:03:28.780772074 -0500
|
||||
+++ libpaper-2.0.9/configure.ac 2023-02-23 15:03:34.308841516 -0500
|
||||
@@ -134,6 +134,9 @@ AC_PATH_PROG([HELP2MAN], [help2man], [he
|
||||
CROSS_COMPILING=$cross_compiling
|
||||
AC_SUBST([CROSS_COMPILING])
|
||||
|
||||
+dnl Perl is needed for x-to-1
|
||||
+AC_PATH_PROG([PERL], [perl], [perl])
|
||||
+
|
||||
dnl Create files
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_FILES([
|
||||
diff -up libpaper-2.0.9/man/Makefile.am.fix libpaper-2.0.9/man/Makefile.am
|
||||
--- libpaper-2.0.9/man/Makefile.am.fix 2023-02-23 15:03:57.583133885 -0500
|
||||
+++ libpaper-2.0.9/man/Makefile.am 2023-02-23 15:04:39.738663438 -0500
|
||||
@@ -37,6 +37,6 @@ paper.1.in: $(abs_top_srcdir)/src/paper.
|
||||
## Exit gracefully if $@ is not writeable, such as during distcheck!
|
||||
$(AM_V_GEN)if ( touch $@.w && rm -f $@.w; ) >/dev/null 2>&1; then \
|
||||
$(top_builddir)/build-aux/x-to-1 \
|
||||
- $(PERL) $(HELP2MAN) --no-info --no-discard-stderr \
|
||||
+ $(PERL) "$(HELP2MAN) --no-info --no-discard-stderr" \
|
||||
$(abs_top_builddir)/src/paper$(EXEEXT) paper.x $@; \
|
||||
fi
|
@ -1,5 +1,5 @@
|
||||
Name: libpaper
|
||||
Version: 2.0.9
|
||||
Version: 2.0.10
|
||||
Release: 1%{?dist}
|
||||
# Needed to replace separate paper package
|
||||
Epoch: 1
|
||||
@ -9,9 +9,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
|
||||
# Fix perl detection and arg quoting so that x-to-1 invokes properly
|
||||
# https://github.com/rrthomas/libpaper/pull/41
|
||||
Patch0: libpaper-2.0.9-x-to-1-fix.patch
|
||||
|
||||
# gcc is no longer in buildroot by default
|
||||
BuildRequires: gcc
|
||||
@ -51,10 +48,12 @@ default paper size and give information about known sizes.
|
||||
%autosetup -S git
|
||||
cp %{SOURCE1} src/
|
||||
|
||||
%if 0
|
||||
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
|
||||
%endif
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
@ -108,6 +107,9 @@ install -m0755 src/localepaper %{buildroot}%{_libexecdir}
|
||||
%{_mandir}/man5/*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 3 2023 Tom Callaway <spot@fedoraproject.org> - 1:2.0.10-1
|
||||
- update to 2.0.10
|
||||
|
||||
* Thu Feb 23 2023 Tom Callaway <spot@fedoraproject.org> - 1:2.0.9-1
|
||||
- update to 2.0.9
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libpaper-2.0.9.tar.gz) = 8f5bcc3ceae66d94240822bbd3044050706d87c74386621aed1b4cfec6aac6b62f55c8b3d4c8ad9516320cf51ce3787130843cf159e487dfaef235a9657655c7
|
||||
SHA512 (libpaper-2.0.10.tar.gz) = 629d357b4946aca324ca95024dbfd5d49a9e7110b6163eac72482c010c4cb84b50a50b5b119399090a49eaef58329bf3c497d3d871b7c9e46ae5c8e71364c2ce
|
||||
|
Loading…
Reference in New Issue
Block a user