public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfig] epel10.2: - Various small specfile cleanups from merge review
@ 2026-05-30 14:28 Hans de Goede
  0 siblings, 0 replies; only message in thread
From: Hans de Goede @ 2026-05-30 14:28 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xfig
Branch : epel10.2
Commit : 476dfe6a49927c3cc278745ade7a00ce8db315f8
Author : Hans de Goede <jwrdegoede@fedoraproject.org>
Date   : 2008-11-08T20:15:55+00:00
Stats  : +12/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/xfig/c/476dfe6a49927c3cc278745ade7a00ce8db315f8?branch=epel10.2

Log:
- Various small specfile cleanups from merge review

---
diff --git a/xfig.spec b/xfig.spec
index 597a77c..f94e35d 100644
--- a/xfig.spec
+++ b/xfig.spec
@@ -3,7 +3,7 @@
 Summary: An X Window System tool for drawing basic vector graphics
 Name: xfig
 Version: 3.2.5
-Release: 11%{?dist}
+Release: 12%{?dist}
 License: MIT
 Group: Applications/Multimedia
 URL: http://www.xfig.org/
@@ -48,6 +48,7 @@ Requires: %{name}-common = %{version}-%{release}
 Provides: %{name}-executable = %{version}-%{release}
 # Xaw3d used to be the one in a subpackage, now the plain Xaw version is
 Obsoletes: %{name}-Xaw3d < %{version}-%{release}
+Provides: %{name}-Xaw3d = %{version}-%{release}
 
 %description
 Xfig is an X Window System tool for creating basic vector graphics,
@@ -101,10 +102,12 @@ Files common to both the plain Xaw and the Xaw3d version of xfig.
 %patch16 -p1
 ln -nfs Doc/xfig.man xfig.man
 find -type f -print0 | xargs -0 chmod -x
+sed -i.save 's/\r//g' Doc/html/index.html
+touch -r Doc/html/index.html.save Doc/html/index.html
 rm `find Doc -name '*.orig'` Doc/html/*.save Doc/html/images/sav1a0.tmp
-sed -i 's/\r//g' Doc/html/index.html
 for i in Doc/html/{new_features,new_features.3.2.4,bugs_fixed.3.2.4}.html; do
   iconv -f ISO-8859-1 -t UTF8 $i > $i.UTF-8
+  touch -r $i $i.UTF-8
   mv $i.UTF-8 $i
 done
 
@@ -131,13 +134,17 @@ make XFIGDOCDIR=%{_docdir}/%{name}-%{version} \
 %install
 rm -rf %{buildroot}
 
-make DESTDIR=%{buildroot} XFIGDOCDIR=%{_docdir}/%{name}-%{version} install.all
+make DESTDIR=%{buildroot} XFIGDOCDIR=%{_docdir}/%{name}-%{version} \
+     INSTALL="install -p" install.all
 
 # install the Xaw3d version and the wrapper for the .desktop file
 mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}-plain
 install -p -m 755 %{SOURCE3} %{buildroot}%{_bindir}/%{name}
 install -m 755 %{name}-Xaw3d %{buildroot}%{_bindir}
 
+# remove the map generation scripts, these are for xfig developers only
+rm %{buildroot}%{_datadir}/%{name}/Libraries/Maps/{USA,Canada}/assemble
+
 mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps \
          %{buildroot}%{_datadir}/applications
 
@@ -190,6 +197,8 @@ fi
 
 
 %changelog
+* Tue Nov  4 2008 Hans de Goede <hdegoede@redhat.com> 3.2.5-12
+- Various small specfile cleanups from merge review
 
 * Mon Jul 14 2008 Ian Hutchinson <ihutch@mit.edu> 3.2.5-11
 - Fix incorrect height of modepanel.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-30 14:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-30 14:28 [rpms/xfig] epel10.2: - Various small specfile cleanups from merge review Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox