SHA256
1
0
forked from pool/mgdiff

Compare commits

3 Commits

2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 22 10:46:27 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Make it build even with broken imake/xmkmf setup
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 23 10:10:23 UTC 2024 - pgajdos@suse.com Fri Feb 23 10:10:23 UTC 2024 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package mgdiff # spec file for package mgdiff
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -83,8 +83,10 @@ make CCOPTIONS="$RPM_OPT_FLAGS"
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install MANPATH=%{_mandir} XAPPLOADDIR=%{_appdefdir}
make DESTDIR=%{buildroot} install.man make DESTDIR=%{buildroot} install.man MANPATH=%{_mandir} XAPPLOADDIR=%{_appdefdir}
rm -fr %{buildroot}/etc
rm -fr %{buildroot}/usr/lib/X11
mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_x11data}/mgdiff mkdir -p %{buildroot}%{_x11data}/mgdiff
mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_mandir}/man1
@@ -100,7 +102,7 @@ install -m 0644 debian/rmgdiff.1x %{buildroot}%{_mandir}/man1/
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README %doc README
/usr/share/applications/*.desktop %{_datadir}/applications/*.desktop
%{_bindir}/*diff %{_bindir}/*diff
%dir %{_x11data}/mgdiff %dir %{_x11data}/mgdiff
%dir %{_x11data}/app-defaults %dir %{_x11data}/app-defaults