rpms/metapost-metauml/devel metapost-metauml.spec,1.2,1.3
Ben Boeckel
mathstuf at fedoraproject.org
Sun May 24 15:49:21 UTC 2009
- Previous message (by thread): rpms/gnome-commander/devel .cvsignore, 1.32, 1.33 gnome-commander.spec, 1.56, 1.57 sources, 1.33, 1.34
- Next message (by thread): rpms/gnome-commander/devel .cvsignore, 1.33, 1.34 gnome-commander.spec, 1.57, 1.58 sources, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mathstuf
Update of /cvs/pkgs/rpms/metapost-metauml/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20302
Modified Files:
metapost-metauml.spec
Log Message:
Fix up post/postun scripts to run texhash
Index: metapost-metauml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/metapost-metauml/devel/metapost-metauml.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- metapost-metauml.spec 26 Feb 2009 00:30:40 -0000 1.2
+++ metapost-metauml.spec 24 May 2009 15:48:49 -0000 1.3
@@ -1,6 +1,6 @@
Name: metapost-metauml
Version: 0.2.5
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: UML in LaTeX/MetaPost
Group: Applications/Publishing
@@ -15,6 +15,8 @@ BuildArch: noarch
BuildRequires: texlive
BuildRequires: sed
Requires: texlive
+Requires(post): %{_bindir}/texhash
+Requires(postnu): %{_bindir}/texhash
%description
MetaUML is a MetaPost library for typesetting UML diagrams.
@@ -35,13 +37,19 @@ popd
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_texmf_main}/metapost/metauml
install -m 644 -p metauml_lib/thrunk/*.mp %{buildroot}/%{_texmf_main}/metapost/metauml
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
+
+
+%post -p %{_bindir}/texhash
+
+
+%postun -p %{_bindir}/texhash
%files
@@ -52,6 +60,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sun May 24 2009 Ben Boeckel <MathStuf at gmail.com> 0.2.5-5
+- Add post/postun to do texhash so it is found
+- Use RPM macro rather than shell-like macro
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- Previous message (by thread): rpms/gnome-commander/devel .cvsignore, 1.32, 1.33 gnome-commander.spec, 1.56, 1.57 sources, 1.33, 1.34
- Next message (by thread): rpms/gnome-commander/devel .cvsignore, 1.33, 1.34 gnome-commander.spec, 1.57, 1.58 sources, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list