Projects
Mega:24.03
psutils
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
_service:tar_scm:psutils.spec
Changed
@@ -3,7 +3,7 @@ Name: psutils Version: 2.08 -Release: 1 +Release: 2 Summary: Utilities for manipulating PostScript documents License: psutils URL: https://github.com/rrthomas/psutils @@ -11,6 +11,7 @@ # then run: # ./bootstrap && autoreconf -vfi && cd .. && tar -cvf psutils-1.23.tar.gz psutils-1.23 Source0: %{name}-%{version}.tar.gz +Patch0: psutils-paperconf.patch BuildRequires: gcc BuildRequires: perl-generators @@ -55,6 +56,9 @@ %{_mandir}/man1/*1* %changelog +* Sun Apr 07 2024 wulei <wu_lei@hoperun.com> - 2.08-2 +- Fix could not run 'paper' command + * Fri May 06 2022 misaka00251 <misaka00251@misakanet.cn> - 2.08-1 - Upgrade package version
View file
_service:tar_scm:psutils-paperconf.patch
Added
@@ -0,0 +1,12 @@ +diff -Nur a/PSUtils.pm b/PSUtils.pm +--- a/PSUtils.pm 2024-04-07 16:45:42.263733801 +0800 ++++ b/PSUtils.pm 2024-04-07 16:46:22.289733801 +0800 +@@ -60,7 +60,7 @@ + # Get the size of the given paper, or the default paper if no argument given. + sub paper { + my ($cmd, $silent) = @_; +- unshift @{$cmd}, "paper"; ++ unshift @{$cmd}, "paperconf"; + my $out; + run3 $cmd, undef, \$out, $silent ? \undef : undef, {return_if_system_error=>1}; + Die("could not run `paper' command") if $? == -1;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2